diff options
author | David Robillard <d@drobilla.net> | 2021-01-06 21:50:05 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-06 21:50:05 +0100 |
commit | f2adb0c2050512c643013481dd6f53d8a3fcb163 (patch) | |
tree | c5d6ac71e88fba74cc17e1e4ccf2eddeee07ebfa /doc/c | |
parent | a6fa6c45a4df2e0a15ce40437fb03063c9c68891 (diff) | |
download | serd-f2adb0c2050512c643013481dd6f53d8a3fcb163.tar.gz serd-f2adb0c2050512c643013481dd6f53d8a3fcb163.tar.bz2 serd-f2adb0c2050512c643013481dd6f53d8a3fcb163.zip |
Switch to LV2 documentation theme
Diffstat (limited to 'doc/c')
-rw-r--r-- | doc/c/index.rst | 9 | ||||
-rw-r--r-- | doc/c/wscript | 19 |
2 files changed, 16 insertions, 12 deletions
diff --git a/doc/c/index.rst b/doc/c/index.rst index 3fe14ca6..fe14fc3b 100644 --- a/doc/c/index.rst +++ b/doc/c/index.rst @@ -1,5 +1,10 @@ +#### +Serd +#### + +.. include:: summary.rst + .. toctree:: - serd overview - reference + api/serd diff --git a/doc/c/wscript b/doc/c/wscript index 1132f197..9a524e3a 100644 --- a/doc/c/wscript +++ b/doc/c/wscript @@ -6,12 +6,9 @@ def build(bld): files = [ ("../../resources/serd.svg", "sphinx/_static/serd.svg"), - ("../_static/custom.css", "sphinx/_static/custom.css"), - ("../_templates/about.html", "sphinx/_templates/about.html"), - ("../serd.rst", "sphinx/serd.rst"), + ("../summary.rst", "sphinx/summary.rst"), ("index.rst", "sphinx/index.rst"), ("overview.rst", "sphinx/overview.rst"), - ("reference.rst", "sphinx/reference.rst"), ] # Run Doxygen to generate XML documentation @@ -33,10 +30,12 @@ def build(bld): source=index_xml, target="sphinx/api/") - # Run Sphinx to generate HTML documentation doc_dir = bld.env.DOCDIR + "/serd-%s/" % bld.env.SERD_MAJOR_VERSION - bld(features="sphinx", - sphinx_source=bld.path.get_bld().make_node("sphinx"), - sphinx_output_format="singlehtml", - sphinx_options=["-E", "-q"], - install_path=doc_dir + "c/singlehtml/") + + # Run Sphinx to generate HTML documentation + for builder in ["html", "singlehtml"]: + bld(features="sphinx", + sphinx_source=bld.path.get_bld().make_node("sphinx"), + sphinx_output_format=builder, + sphinx_options=["-E", "-q", "-t", builder], + install_path=doc_dir + "c/%s/" % builder) |