From 22d20622ead385fea7d7c08e582f6b91e1f8b42c Mon Sep 17 00:00:00 2001 From: Anno Knierim Date: Tue, 18 Jul 2023 17:52:05 +0200 Subject: [PATCH] Move content of caution admonition to announcement banner * Move content of caution admonition block to announcement banner, as this results in a cleaner main page * Remove ``html_sidebars`` for testing purposes --- docs/conf.py | 9 ++++++--- docs/index.rst | 6 ------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c6121f5717b..5110db2d486 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -210,6 +210,7 @@ def setup(app): "header_links_before_dropdown": 6, "navbar_start": ["navbar-logo"], "use_edit_page_button": True, + "icon_links_label": "Quick Links", "icon_links": [ { "name": "CTA Observatory", @@ -218,11 +219,13 @@ def setup(app): "icon": "https://www.cta-observatory.org/wp-content/themes/ctao/favicon.ico", }, ], + "announcement": """ +

ctapipe is not stable yet, so expect large and rapid + changes to structure and functionality as we explore various + design choices before the 1.0 release.

+ """, } -html_sidebars = {"**": ["sidebar-nav-bs.html", "sidebar-ethical-ads.html"]} - - # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". diff --git a/docs/index.rst b/docs/index.rst index 6485c01d5b3..84dec76af64 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -40,12 +40,6 @@ Prototype CTA Pipeline Framework (``ctapipe``) ``ctapipe`` is a framework for prototyping the low-level data processing algorithms for the Cherenkov Telescope Array. -.. CAUTION:: - This is not yet stable code, so expect large and rapid changes to - structure and functionality as we explore various design choices before - the 1.0 release. - - .. _ctapipe_docs: .. toctree::