Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
091c3d2
test sidebar change
flicj191 Feb 10, 2025
f669fe1
generate gallery
flicj191 Feb 13, 2025
f7e6528
remove gallery to build
flicj191 Feb 13, 2025
e24b0ca
add back gallery and custom header
flicj191 Feb 18, 2025
8e4a72c
sidebar list in index
flicj191 Feb 18, 2025
05907a8
Merge branch 'main' into doc_split
flicj191 May 14, 2025
a7253e6
search text
flicj191 May 14, 2025
f61fb09
landing page update add image
flicj191 May 23, 2025
87f1fff
remove contributing link
flicj191 May 23, 2025
94792de
Merge branch 'main' into doc_split
flicj191 May 23, 2025
7c91792
Update index toctree to hide and top bar
flicj191 Jun 18, 2025
7af464b
Merge branch 'doc_split' of github.com:ESMValGroup/ESMValTool into do…
flicj191 Jun 18, 2025
6807660
Merge branch 'main' into doc_split
flicj191 Jun 18, 2025
3e3ee1a
error in toc
flicj191 Jun 18, 2025
6d1e6a9
Merge branch 'doc_split' of github.com:ESMValGroup/ESMValTool into do…
flicj191 Jun 18, 2025
18fdb3b
gallery top bar, format gensidebar
flicj191 Jun 18, 2025
102a28c
check gallery
flicj191 Jun 18, 2025
60d23bd
check gallery
flicj191 Jun 18, 2025
9a62b43
check gallery
flicj191 Jun 18, 2025
464c2b8
Merge branch 'main' into doc_split
lukruh Jun 24, 2025
6a4fb71
Merge branch 'main' into doc_split
lukruh Jun 26, 2025
667c9b4
comment suggestions reorder toc
flicj191 Jul 15, 2025
00eae6e
Apply suggestions from code review
flicj191 Jul 15, 2025
eee5999
fix format
flicj191 Jul 15, 2025
3caa7c2
update image schema and width of footer padding
flicj191 Jul 15, 2025
2d83bf0
fix toc
flicj191 Jul 16, 2025
58eb780
remove gensidebar
flicj191 Jul 16, 2025
7dedf22
fix whitespace
flicj191 Jul 16, 2025
a05b019
Merge branch 'main' into doc_split
lukruh Jul 16, 2025
b2911f8
fix dark transparent background image
flicj191 Jul 17, 2025
4b2ce30
Merge branch 'doc_split' of github.com:ESMValGroup/ESMValTool into do…
flicj191 Jul 17, 2025
335b0a1
Apply suggestions from code review
flicj191 Aug 1, 2025
1fc0ef6
Merge branch 'main' into doc_split
flicj191 Aug 1, 2025
8e995ab
header icons test
flicj191 Aug 1, 2025
376b897
Merge branch 'main' into doc_split
flicj191 Sep 4, 2025
6b492fa
Merge branch 'main' into doc_split
lukruh Oct 24, 2025
92d5c05
update header match core docs
flicj191 Oct 26, 2025
2a075b3
Merge branch 'doc_split' of github.com:ESMValGroup/ESMValTool into do…
flicj191 Oct 26, 2025
06af11f
header external links
flicj191 Oct 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions doc/sphinx/source/_templates/cross_proj_navbar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{# Displays links to the top-level TOCtree elements, in the header navbar. #}
{% set href = pathto(root_doc) %}
<nav>
<ul class="bd-navbar-elements navbar-nav">
{# { generate_header_nav_html(n_links_before_dropdown=theme_header_links_before_dropdown, dropdown_text=theme_header_dropdown_text) } #}
<li class="nav-item current active">
<a class="nav-link nav-internal" href="{{ href }}">
{{ (" ESMValTOOL ") }}
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-external" href="https://docs.esmvaltool.org/projects/ESMValCore/en/latest/index.html">
ESMValCORE
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-external" href="https://esmvaltool.dkrz.de/shared/esmvaltool/stable_release/">
Latest Release Gallery
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-external" href="https://tutorial.esmvaltool.org/">
Tutorial
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-external" href="https://esmvaltool.org/">
Main site
</a>
</li>
</ul>
</nav>
17 changes: 17 additions & 0 deletions doc/sphinx/source/_templates/sidebar_nav_lv1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{# Displays the TOC-subtree for pages nested under the currently active top-level TOCtree element. EDITED #}
<nav class="bd-docs-nav bd-links"
aria-label="{{ _('Section Navigation') }}">
<p class="bd-links__title" role="heading" aria-level="1">{{ _("Documentation Navigation") }}</p>
<div class="bd-toc-item navbar-nav">
{{- generate_toctree_html(
startdepth=0,
kind="sidebar",
show_nav_level=theme_show_nav_level | int,
maxdepth=theme_navigation_depth | int,
collapse=theme_collapse_navigation | tobool,
includehidden=theme_sidebar_includehidden | tobool,
titles_only=True
)
-}}
</div>
</nav>
6 changes: 5 additions & 1 deletion doc/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@
"image_light": "figures/ESMValTool-logo-2.png",
"image_dark": "figures/ESMValTool-logo-2-dark.png",
},
"navbar_center": ["cross_proj_navbar"],
"search_bar_text": "Search TOOL docs... (Also try search in ESMValCORE docs)",
}
# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
Expand Down Expand Up @@ -213,7 +215,9 @@
# html_use_smartypants = True

# Custom sidebar templates, maps document names to template names.
# html_sidebars = {}
html_sidebars = {
"**": ["sidebar_nav_lv1", "sidebar-ethical-ads"]
}

# Additional templates that should be rendered to pages, maps page names to
# template names.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 30 additions & 3 deletions doc/sphinx/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,35 @@
Welcome to ESMValTool's documentation!
======================================

**ESMValTool** is a community diagnostics and performance metrics tool for the evaluation of Earth System Models (ESMs) that allows for
routine comparison of models and observations. It includes a large collection of community recipes and observation data formatters to CMOR standards.

**ESMValCore** is a software package which provides the core functionality for ESMValTool. It is a workflow to find CMIP data, and apply
commonly used pre-processing functions.

To get a first impression of what ESMValTool and ESMValCore can do for you,
have a look at our blog posts
`Analysis-ready climate data with ESMValCore <https://blog.esciencecenter.nl/easy-ipcc-powered-by-esmvalcore-19a0b6366ea7>`_
and
`ESMValTool: Recipes for solid climate science <https://blog.esciencecenter.nl/esmvaltool-recipes-for-solid-climate-science-da5b33814f69>`_.


Basic documentation schema
--------------------------
This gives a brief idea of topics in each of the packages to help find information. As ESMValTool encompasses ESMValCore there will be some overlap between them.
For more detailed information, see documentation navigation to the left.

.. container::
:name: figarch

.. figure:: figures/ESMValSchemaDiagram.png
:alt: Brief topics for tool and core.
:figclass: align-center
Comment on lines +31 to +36
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the diagram; would it be worth also adding specific links to the topics mentioned?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking its more a condensed diagram to assist in understanding with the broader topics but these topics might need to be reviewed and refined, I'm not sure there would be appropriate specific links to them all

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having a nice diagram like this one (plus the two describing sentences) on the landing page makes the relation of the packages very clear. Well done.
Providing links to each topic here would also require revision whenever structure in the documentation changes. I'd keep the image as conceptional and condensed as possible and make the sidebar as structured and self explanatory as possible. As the sidebar only shows the structure of the ESMValTool part, do you think we should link to the ESMValCore documentation again. In the last sentence here and/or the description of the ESMValCore package above?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bouweandela for the diagram, fair point with links as well but it was a rough diagram and I wasn't thinking of specific pages but just to help with understanding. If topics get out of date it would still need to be updated even if links are still correct?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think it would be nicer to generate it dynamically from the documentation pages, but if that's technically too challenging, it's fine to leave it as is.



Learning resources:
-------------------

A tutorial is available on https://tutorial.esmvaltool.org.

A series of video lectures has been created by `ACCESS-NRI <https://access-nri.org.au>`_.
Expand All @@ -21,11 +44,15 @@ While these are tailored for ACCESS users, they are still very informative.

<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?si=pUXrXB8C8bLRfQHY&amp;list=PLFjfi2xLaFpJp59LvDc1upQsj_xzFlFLc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

|
How to contribute
-----------------
Refer to ESMValTool :ref:`contributing to the community<community>` for a guide on contributing recipes and diagnostics.

For more detailed information, the documentation is available below.
Refer to ESMValCore :ref:`Contributing <contributing>` for information on contributing code.

Get in touch! Contact information is available :ref:`here <Support-and-Contact>`.
Get in touch!
-------------
Contact information is available :ref:`here <Support-and-Contact>`.
Comment on lines 52 to 60
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be useful to have this information on every page. Could it be added to the footer, or the secondary sidebar (under the "Show Source" link)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!
So you mean each of the 3 links? (ESMValTool contributing, ESMValCore contributing, Support and contact)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just "ESMValTool contributing", then "support and contact"? The ESMValCore pages can have the equivalent "ESMValCore contributing"?

(I have code that can create the following in the secondary sidebar, if you'd like me to share) 😊
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change would also make the main page less busy 😊

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ehogan can you share the code please? I think there could also be a version thing going on as it doesn't look quite the same as what the theme documentation is showing

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened a new issue for this (#4215) to allow this PR to be merged 😊


.. include:: _sidebar.rst.inc

Expand Down
Loading