]> www.infradead.org Git - users/sagi/libnvme.git/commit
doc: Build ReST documantion as standalone target
authorDaniel Wagner <dwagner@suse.de>
Tue, 12 Apr 2022 17:00:33 +0000 (19:00 +0200)
committerDaniel Wagner <dwagner@suse.de>
Tue, 12 Apr 2022 17:49:19 +0000 (19:49 +0200)
commita48c87f05f0cbaa657e4b940f1d97ebe68676509
tree0a034717206867e5cc935aab7006d27a383ebcf3
parent033449f7c61c130fd21f0a747075dc15069f73f0
doc: Build ReST documantion as standalone target

In order to feed readthedocs with documecation we have to build the
ReST documentation and store it the source tree.

To avoid cluttering the root dir of the documantion directory move the
generation of the *.rst docs into the rst subdir. Unfortunatly, meson
doesn't have an option to generate the newly files into subdir. So
move the rst build instruction into rst/meson.build.

While at it, split the whole documentation into sections.

We want to replace any VERSION string in the documantion. Instead just
addressing conf.py we process all files in one go for consistency reasons.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
17 files changed:
doc/conf.py
doc/conf.py.in [new file with mode: 0644]
doc/config-schema.json.in [new file with mode: 0644]
doc/index.rst
doc/index.rst.in [new file with mode: 0644]
doc/meson.build
doc/rst/fabrics.rst [new file with mode: 0644]
doc/rst/filters.rst [new file with mode: 0644]
doc/rst/ioctl.rst [new file with mode: 0644]
doc/rst/linux.rst [new file with mode: 0644]
doc/rst/log.rst [new file with mode: 0644]
doc/rst/meson.build [new file with mode: 0644]
doc/rst/tree.rst [new file with mode: 0644]
doc/rst/types.rst [new file with mode: 0644]
doc/rst/util.rst [new file with mode: 0644]
doc/update-docs.sh
meson_options.txt