From a2a23f778d1a445eadb7b84a56ea01b5787b9461 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 16 Sep 2018 22:27:42 +0200 Subject: [PATCH] integrate doxygen's deltachat.h docs into sphinx output --- .gitignore | 1 + .travis.yml | 3 +++ docs/Doxyfile | 2 +- python/doc/_templates/globaltoc.html | 3 ++- python/doc/capi.rst | 15 +++++++++++---- python/doc/conf.py | 9 +++++++++ python/doc/index.rst | 1 + python/doc/lapi.rst | 10 ++++++++++ python/liveconfig.txt | 4 ---- python/tox.ini | 1 + 10 files changed, 39 insertions(+), 10 deletions(-) create mode 100644 python/doc/lapi.rst delete mode 100644 python/liveconfig.txt diff --git a/.gitignore b/.gitignore index fc2dde45..f287a1a2 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,7 @@ po/remove-potcdate.sed po/*.gmo po/*.insert-header /docs/html/ +/docs/xml/ # ignore other files .DS_Store diff --git a/.travis.yml b/.travis.yml index 7e334059..b54fa0b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ addons: - python3-pip - python3.5 - g++-7 + - doxygen language: c @@ -30,6 +31,8 @@ script: - mkdir -p builddir && cd builddir && meson && ninja -v && sudo ninja install - export LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH - sudo ldconfig -v + - cd ../docs + - doxygen - cd ../python - virtualenv -p /usr/bin/python3.5 venv - source venv/bin/activate diff --git a/docs/Doxyfile b/docs/Doxyfile index 6edf48ae..e055287d 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -1911,7 +1911,7 @@ MAN_LINKS = NO # captures the structure of the code including all documentation. # The default value is: NO. -GENERATE_XML = NO +GENERATE_XML = YES # The XML_OUTPUT tag is used to specify where the XML pages will be put. If a # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of diff --git a/python/doc/_templates/globaltoc.html b/python/doc/_templates/globaltoc.html index 6d0d51fe..c649d5df 100644 --- a/python/doc/_templates/globaltoc.html +++ b/python/doc/_templates/globaltoc.html @@ -5,7 +5,8 @@
  • index
  • install
  • high level API
  • -
  • low level API
  • +
  • low level API
  • +
  • C deltachat.h
  • external links: