Skip to content

Commit

Permalink
Fix doc logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtv committed Mar 25, 2024
1 parent d239706 commit eff0e42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
read_the_docs_build = os.environ.get('READTHEDOCS') == 'True'

if read_the_docs_build:
parent_dir = Path.cwd().parent
# C++20: Replace -std=c++17 with -std=c++20.
check_call(
[Path.cwd() / 'configure', 'CXXFLAGS=-std=c++17 -O0'],
cwd=Path.cwd().parent)
check_call('doxygen', cwd=(Path.cwd().parent / 'doc'))
[parent_dir / 'configure', 'CXXFLAGS=-std=c++17 -O0'], cwd=parent_dir)
check_call('doxygen', cwd=(parent_dir / 'doc'))

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

Expand Down

0 comments on commit eff0e42

Please sign in to comment.