Skip to content
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4d524c0
Introduce user_manual.
trexfeathers Dec 12, 2025
cabd701
Reader-level restructure.
trexfeathers Dec 19, 2025
619827d
Add sphinx-needs to dependencies.
trexfeathers Dec 30, 2025
917139c
Add licence header to user_manual_directives.py.
trexfeathers Dec 30, 2025
b85ce62
Merge remote-tracking branch 'upstream/main' into diataxis
trexfeathers Dec 30, 2025
5ab8bfc
Address Sphinx warnings.
trexfeathers Dec 30, 2025
3ca882f
Populate the explanation and how-to directories.
trexfeathers Dec 30, 2025
b6123e2
Populate the reference and tutorial directories.
trexfeathers Dec 30, 2025
39526bd
Fix some references I missed before.
trexfeathers Dec 31, 2025
293131f
Refactor of get_started.
trexfeathers Dec 31, 2025
8b3ee35
Remove defunct IEP directory.
trexfeathers Dec 31, 2025
122f4c2
Itemise all of Iris public API.
trexfeathers Dec 31, 2025
cbf0630
Rendering improvements.
trexfeathers Jan 2, 2026
adf85ca
Itemise all of the Iris docs pages.
trexfeathers Jan 2, 2026
c146081
Itemise all of the Gallery pages.
trexfeathers Jan 2, 2026
ae8e1d9
Topic descriptions.
trexfeathers Jan 6, 2026
fd88e68
user_manual_directives.py code quality.
trexfeathers Jan 6, 2026
a7adaa8
Merge remote-tracking branch 'upstream/main' into diataxis
trexfeathers Jan 6, 2026
3e4ac28
Needs item validation routine.
trexfeathers Jan 9, 2026
cac5e12
Remove column titles.
trexfeathers Jan 9, 2026
9199a06
Fix doctests.
trexfeathers Jan 9, 2026
eddc28b
Merge remote-tracking branch 'upstream/main' into diataxis
trexfeathers Jan 9, 2026
bb8cd62
Implement redirects.
trexfeathers Jan 9, 2026
6f79242
Merge remote-tracking branch 'upstream/main' into diataxis
trexfeathers Jan 26, 2026
6909483
Update lock files.
trexfeathers Jan 26, 2026
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
11 changes: 6 additions & 5 deletions .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ file:///
# DEAD : legacy in various old whatsnews
https://biggus.readthedocs.io

# unkown problem, works in browser : used in further_topics/ugrid/data_model
# unknown problem, works in browser : used in
# docs/src/user_manual/explanation/mesh_data_model.rst
https://doi.org/10.3390/jmse2010194

# DEAD, todo:remove, used in docs/src/userguide/plotting_a_cube.rst
# DEAD, todo:remove, used in docs/src/user_manual/tutorial/plotting_a_cube.rst
https://effbot.org

# nonfunctional, found in some code examples
https://foo/

# DEAD, todo:remove, used in docs/src/further_topics/ugrid/data_model.rst
# DEAD, todo:remove, used in docs/src/user_manual/explanation/mesh_data_model.rst
https://ibm-design-language.eu-de.mybluemix.net/design/language/resources/color-library

# DEAD, legacy in whatsnew/1.4.rst
Expand Down Expand Up @@ -45,14 +46,14 @@ https://stickler-ci.com
# DEAD, todo:remove, used in lib/iris/symbols.py
https://www.wmo.int/pages/prog/www/DPFS/documents/485_Vol_I_en_colour.pdf

# DEAD, todo:remove, used in docs/src/userguide/plotting_a_cube.rst
# DEAD, todo:remove, used in docs/src/user_manual/tutorial/plotting_a_cube.rst
# unkown problem, works in browser : used in docs/src/index.rst
https://www.flaticon.com

# nonfunctional example, used in lib/iris/io/__init__.py
https://www.thing.com

# DEAD, todo:remove, used in docs/src/userguide/plotting_a_cube.rst
# DEAD, todo:remove, used in docs/src/user_manual/tutorial/plotting_a_cube.rst
https://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer_updates.html

# nonfunctional, found in some code examples
Expand Down
5 changes: 5 additions & 0 deletions docs/gallery_code/general/plot_global_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Quickplot of a 2D Cube on a Map
===============================

.. how-to:: Quickplot of a 2D Cube on a Map
:tags: topic_plotting

Code demonstrating basic ``iris.quickplot`` use.

This example demonstrates a contour plot of global air temperature. The plot
title and the labels for the axes are automatically derived from the metadata.

Expand Down
193 changes: 0 additions & 193 deletions docs/src/IEP/IEP001.adoc

This file was deleted.

11 changes: 11 additions & 0 deletions docs/src/_templates/tags_links.need
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{# Render plain clickable text links for each tag #}
{% if tags %}
:strong:`Tags:` {{ " " }} {%- for t in tags -%}
{%- if t and t.startswith('topic_') -%}
:ref:`{{ t }} <{{ t }}>`
{%- else -%}
{{ t }}
{%- endif -%}
{%- if not loop.last %} | {% endif -%}
{%- endfor %}
{% endif %}
56 changes: 56 additions & 0 deletions docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def _dotv(version):
"sphinx_gallery.gen_gallery",
"matplotlib.sphinxext.mathmpl",
"matplotlib.sphinxext.plot_directive",
"sphinx_needs",
"user_manual_directives",
]

if skip_api == "1":
Expand Down Expand Up @@ -441,3 +443,57 @@ def reset_modules(gallery_conf, fname):
"section": "Section %s",
"table": "Table %s",
}

# -- sphinx-needs config ------------------------------------------------------
# See https://sphinx-needs.readthedocs.io/en/latest/configuration.html

# TODO: namespace these types as Diataxis for max clarity?
needs_types = [
{
"directive": "tutorial",
"title": "Tutorial",
"prefix": "",
"color": "",
"style": "node",
},
{
"directive": "how-to",
"title": "How To",
"prefix": "",
"color": "",
"style": "node",
},
{
"directive": "explanation",
"title": "Explanation",
"prefix": "",
"color": "",
"style": "node",
},
{
"directive": "reference",
"title": "Reference",
"prefix": "",
"color": "",
"style": "node",
},
]
# The layout whenever a 'need item' directive is used. I.e. at the top of each
# user manual page.
needs_default_layout = "focus"
# # IDs must be used in needtables, as the only way to link to the item. Using
# # the title makes for the most readable / least jarring links.
# needs_id_from_title = True
# The `tags_links` jinja template displays a list of tags where every topic_*
# tag is a link to the relevant section in user_manual/index.rst.
needs_template_folder = "_templates"
needs_global_options = {
"post_template": {"default": "tags_links"},
}

from sphinx_needs.data import NeedsCoreFields

# Known bug in sphinx-needs pre v6.0.
# https://github.com/useblocks/sphinx-needs/issues/1420
if "allow_default" not in NeedsCoreFields["post_template"]:
NeedsCoreFields["post_template"]["allow_default"] = "str"
24 changes: 0 additions & 24 deletions docs/src/further_topics/index.rst

This file was deleted.

15 changes: 0 additions & 15 deletions docs/src/getting_started.rst

This file was deleted.

Loading
Loading