Skip to content

Commit

Permalink
fix workflow on rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
yasahi-hpc committed Feb 8, 2024
1 parent 23b0df6 commit a2520cd
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@ def configureDoxyfile(input_dir, output_dir):
#subprocess.call(update_submodule, shell=True)

# Build Docs with CMake
cmake_commands = 'cmake -DBUILD_TESTING=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DKokkos_ENABLE_OPENMP=ON \
-DBUILD_EXAMPLES=OFF \
-DKokkosFFT_INTERNAL_Kokkos=ON \
-DKokkosFFT_ENABLE_DOCS=ON ..'
build = 'cmake --build . -j 2'

subprocess.call(f'cd ../; mkdir build; cd build; {cmake_commands}; {build}', shell=True)
#input_dir = cwd + '/..'
#output_dir = cwd +'/doxygen/'
#doxyfile_in = cwd + '/Doxyfile.in'
#doxyfile_out = cwd + '/Doxyfile'
#configureDoxyfile(input_dir, output_dir, doxyfile_in, doxyfile_out)
#subprocess.call('pwd; ls -lat; doxygen Doxyfile; ls -lat doxygen/xml', shell=True)
#breathe_projects[project] = output_dir + '/xml'
###cmake_commands = 'cmake -DBUILD_TESTING=OFF \
### -DCMAKE_BUILD_TYPE=RelWithDebInfo \
### -DKokkos_ENABLE_OPENMP=ON \
### -DBUILD_EXAMPLES=OFF \
### -DKokkosFFT_INTERNAL_Kokkos=ON \
### -DKokkosFFT_ENABLE_DOCS=ON ..'
###build = 'cmake --build . -j 2'
###
###subprocess.call(f'cd ../; mkdir build; cd build; {cmake_commands}; {build}', shell=True)
input_dir = cwd + '/..'
output_dir = cwd +'/doxygen/'
doxyfile_in = cwd + '/Doxyfile.in'
doxyfile_out = cwd + '/Doxyfile'
configureDoxyfile(input_dir, output_dir, doxyfile_in, doxyfile_out)
subprocess.call('pwd; ls -lat; doxygen Doxyfile; ls -lat doxygen/xml', shell=True)
breathe_projects[project] = output_dir + '/xml'

# -- General configuration ---------------------------------------------------

Expand Down

0 comments on commit a2520cd

Please sign in to comment.