From e6918187568dbd01842d8d1d2c808ce16a894239 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:54:28 +0200 Subject: Adding upstream version 18.2.2. Signed-off-by: Daniel Baumann --- doc/_templates/page.html | 25 +++++++++++++++++++++++++ doc/_templates/smarttoc.html | 16 ++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 doc/_templates/page.html create mode 100644 doc/_templates/smarttoc.html (limited to 'doc/_templates') diff --git a/doc/_templates/page.html b/doc/_templates/page.html new file mode 100644 index 000000000..3fd83b623 --- /dev/null +++ b/doc/_templates/page.html @@ -0,0 +1,25 @@ +{% extends "!page.html" %} +{% block body %} + +{%- if release == 'dev' %} +
+

Notice

+

This document is for a development version of Ceph.

+
+{%- endif %} + +{%- if is_release_eol %} +
+

Warning

+

This document is for an unsupported version of Ceph.

+
+{%- endif %} + +{%- if not is_release_eol %} + +{%- endif %} + + {{ super() }} +{% endblock %} diff --git a/doc/_templates/smarttoc.html b/doc/_templates/smarttoc.html new file mode 100644 index 000000000..7a3fd3f2b --- /dev/null +++ b/doc/_templates/smarttoc.html @@ -0,0 +1,16 @@ +{# + Sphinx sidebar template: smart table of contents. + + Shows a sidebar ToC that gives you a more global view of the + documentation, and not the confusing cur/prev/next which is the + default sidebar. + + The ToC will open and collapse automatically to show the part of the + hierarchy you are in. Top-level items will always be visible. + +#} +

{{ _('Table Of Contents') }}

+{{ toctree(maxdepth=-1, includehidden=True) }} + + + -- cgit v1.2.3