Documentation: Hide the Getting Started information

The Getting Started information makes little sense on the generated
documentation, as a developer with documentation compiled from a local
libcamera source tree has already got started. We however want to keep
the information in the top-level README.rst as it is useful there.

In order to hide the Getting Started information from the front page
while keeping it in README.rst, add comments to delimitate sections of
README.rst, and include only a subset of the file in the front page.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2019-10-17 02:53:30 +03:00
parent 0cca041cbd
commit cf596d8dfa
2 changed files with 10 additions and 1 deletions

View file

@ -1,5 +1,7 @@
.. Front page matter is defined in the project README file.
.. include:: ../README.rst
:start-after: .. section-begin-libcamera
:end-before: .. section-end-libcamera
.. toctree::
:maxdepth: 1

View file

@ -1,3 +1,5 @@
.. section-begin-libcamera
===========
libcamera
===========
@ -18,6 +20,9 @@ open-source-friendly while still protecting vendor core IP. libcamera was born
out of that collaboration and will offer modern camera support to Linux-based
systems, including traditional Linux distributions, ChromeOS and Android.
.. section-end-libcamera
.. section-begin-getting-started
Getting Started
---------------
@ -31,7 +36,7 @@ To build and install:
ninja install
Dependencies
------------
~~~~~~~~~~~~
The following Debian/Ubuntu packages are required for building libcamera.
Other distributions may have differing package names:
@ -50,3 +55,5 @@ for qcam: [optional]
for documentation: [optional]
python3-sphinx doxygen
.. section-end-getting-started