Skip to content

Commit

Permalink
Move content of caution admonition to announcement banner
Browse files Browse the repository at this point in the history
* Move content of caution admonition block to announcement banner, as
  this results in a cleaner main page

* Remove ``html_sidebars`` for testing purposes
  • Loading branch information
aknierim committed Jul 18, 2023
1 parent 61547d2 commit 22d2062
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 6 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -218,11 +219,13 @@ def setup(app):
"icon": "https://www.cta-observatory.org/wp-content/themes/ctao/favicon.ico",
},
],
"announcement": """
<p>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.</p>
""",
}

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".
Expand Down
6 changes: 0 additions & 6 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit 22d2062

Please sign in to comment.