summaryrefslogtreecommitdiff
path: root/Documentation/meson.build
diff options
context:
space:
mode:
authorDaniel Scally <dan.scally@ideasonboard.com>2024-08-20 14:07:32 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-21 01:35:24 +0300
commit182bdadd0f09791c94372a34c3e73564b335ada4 (patch)
tree6c33d0c305176aa48d42e47f41cc88c58672df6d /Documentation/meson.build
parentce690bd9d7abeab6e7f69b83d0ad4d6fac47aa25 (diff)
Documentation: Add documentation-contents.rst
Add a new .rst file referencing the documentation contents. This file is then included in each documentation page so that we can enhance the Documentation pages on the libcamera website using it. As we do not want the appearance of the libcamera in-tree Documentation to change just yet, disable the new class using the sphinx theme's CSS. To facilitate easier distinguishing between "normal" and documentation pages on the website we want to add a "documentation" class to the content of all such pages. Since this new file will be included on each documentation page it is convenient to add the new directive here - do so. As the website uses different CSS to libcamera, move the contents on docs.rst a little so that the directive at the end of the contents block applies correctly. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Documentation/meson.build')
-rw-r--r--Documentation/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/meson.build b/Documentation/meson.build
index 1ba40fdf..79135b6f 100644
--- a/Documentation/meson.build
+++ b/Documentation/meson.build
@@ -129,6 +129,7 @@ if sphinx.found()
'conf.py',
'contributing.rst',
'docs.rst',
+ 'documentation-contents.rst',
'environment_variables.rst',
'guides/application-developer.rst',
'guides/introduction.rst',