Skip to content
Merged
Show file tree
Hide file tree
Changes from 29 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
4 changes: 4 additions & 0 deletions doc/sphinx/source/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@
.gallery figure span.caption-number {
display: none;
}

figure.transparent img {
background-color: transparent;
}
27 changes: 27 additions & 0 deletions doc/sphinx/source/_templates/cross_proj_navbar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{# 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://tutorial.esmvaltool.org/">
Tutorial
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-external" href="https://esmvaltool.org/">
Web site
</a>
</li>
</ul>
</nav>
4 changes: 3 additions & 1 deletion doc/sphinx/source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

<style>
table, th, td {
padding: 5px;
/* padding: 5px; */
padding-left: 30px;
padding-right: 30px;
}
table {
border-spacing: 5px;
Expand Down
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>
10 changes: 5 additions & 5 deletions doc/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,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 @@ -224,7 +226,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 Expand Up @@ -498,7 +502,3 @@
}

# -- Custom Document processing ----------------------------------------------

import gensidebar

gensidebar.generate_sidebar(globals(), "esmvaltool")
Binary file added doc/sphinx/source/figures/ESMValSchemaDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
85 changes: 0 additions & 85 deletions doc/sphinx/source/gensidebar.py
Copy link
Contributor

@lukruh lukruh Jun 27, 2025

Choose a reason for hiding this comment

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

As mentioned elsewhere I'd remove the direct links to ESMValCore pages from the sidebar. A single link from the header to the cores landing page (same as in the top bar) would be sufficient enough.
We could also adjust the order in the Sidebar. For example:

  • Introduction, Functionality and Gallery should be next to each other (all provide overview).
  • Diagnostic API documentation should be next to recipe documentation (similar purpose depending on recipe) maybe followed by obtaining input data?
  • Making diags/recipes, contributing and utilities are targetting more advanced users or potential contributors and should stay some of the last sections.

This is just my opinion. If you think we need to discuss the order and structure we can also shift this to the next workshop or discuss it in a monthly meeting.

This file was deleted.

57 changes: 52 additions & 5 deletions doc/sphinx/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:html_theme.sidebar_secondary.remove:

.. ESMValTool documentation master file, created by
sphinx-quickstart on Tue Jun 2 11:34:13 2015.
You can adapt this file completely to your liking, but it should at least
Expand All @@ -6,12 +8,37 @@
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. Please also see
`ESMValCore documentation <https://docs.esmvaltool.org/projects/ESMValCore/en/latest/index.html>`_. ESMValCore can be used without ESMValTool such as in Jupyter
notebooks.

.. container::
:name: figarch

.. figure:: figures/ESMValSchemaDiagram.png
:alt: Brief topics for tool and core.
:figclass: align-center, transparent


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,16 +48,36 @@ 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.

Refer to ESMValCore contributing for information on contributing code.

For more detailed information, the documentation is available below.
Get in touch!
-------------
Contact information is available :ref:`here <Support-and-Contact>`.

Get in touch! Contact information is available :ref:`here <Support-and-Contact>`.
.. toctree::
:hidden:
:maxdepth: 2
:caption: ESMValTool

.. include:: _sidebar.rst.inc
Introduction <introduction>
ESMValTool Functionalities <functionalities>
Gallery <gallery>
Getting started <quickstart/index>
Recipes <recipes/index>
Diagnostics API Reference <api/esmvaltool>
Obtaining input data <input>
Making a recipe or diagnostic <develop/index>
Contributing to the community <community/index>
Utilities <utils/utils>
Frequently Asked Questions <faq>
Changelog <changelog>

Indices and tables
==================
------------------

* :ref:`genindex`
* :ref:`search`