Skip to content

Commit

Permalink
run doxygen on readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Aug 6, 2023
1 parent 8f52f54 commit 7d23c8d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# ZettaScale Zenoh Team, <zenoh@zettascale.tech>
#

# -- Run doxygen if executing on readthedocs -------------------------------
# see https://breathe.readthedocs.io/en/latest/readthedocs.html
import subprocess, os
read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
if read_the_docs_build:
subprocess.call('doxygen', shell=True)

# -- Project information -----------------------------------------------------
project = 'zenoh-cpp'
copyright = '2017, 2023 ZettaScale Technology'
Expand Down

0 comments on commit 7d23c8d

Please sign in to comment.