Skip to content

Commit

Permalink
fix: format conf.py and add attachment feature
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland authored Jun 7, 2024
1 parent f8c12a2 commit bf495cb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@
extensions = ['sphinx_c_autodoc', 'sphinx_c_autodoc.napoleon']
language = 'c'
c_autodoc_roots = ['../include/zenoh-pico/api/']
c_autodoc_compilation_args = ["-DZ_FEATURE_PUBLICATION=1", "-DZ_FEATURE_SUBSCRIPTION=1",
"-DZ_FEATURE_QUERY=1", "-DZ_FEATURE_QUERYABLE=1"]
c_autodoc_compilation_args = [
"-DZ_FEATURE_PUBLICATION=1",
"-DZ_FEATURE_SUBSCRIPTION=1",
"-DZ_FEATURE_QUERY=1",
"-DZ_FEATURE_QUERYABLE=1",
"-DZ_FEATURE_ATTACHMENT=1",
]

# -- Options for HTML output -------------------------------------------------
html_theme = 'sphinx_rtd_theme'
Expand All @@ -50,4 +55,4 @@
raise ValueError("Windows not supported yet for building docs.")

else:
Config.set_library_file('/usr/lib/llvm-14/lib/libclang.so.1') # Required for readthedocs
Config.set_library_file('/usr/lib/llvm-14/lib/libclang.so.1') # Required for readthedocs

0 comments on commit bf495cb

Please sign in to comment.