Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCS: API docs ToC more levels #5714

Merged
merged 11 commits into from Feb 2, 2024
Merged

Conversation

tkknight
Copy link
Contributor

@tkknight tkknight commented Jan 24, 2024

🚀 Pull Request

Description

Increases from 1 to 2 for the level of table of contents in the right hand sidebar. This makes a significant different when browsing the API Documentation.

Some examples:

Note that some ToCs (right side) are really useful, but some can be long with a vertical and horizontal scroll (see iris.exceptions link above).

I believe the benefits in the navigation outweigh any scrollbars being present. This PR may need some visibility to more than just a single reviewer. Perhaps a short discussion in a @SciTools/peloton .


Consult Iris pull request check list

* upstream/main: (26 commits)
  Bump scitools/workflows from 2023.12.1 to 2024.01.0 (SciTools#5710)
  Faster trivial equality checks for coordinates and arrays (SciTools#5691)
  Make the Coord.cell method lazy (SciTools#5693)
  Re-write `pearsonr` to use `Resolve` (SciTools#5638)
  ruff compliance for D401. (SciTools#5687)
  Bump actions/cache from 3 to 4 (SciTools#5703)
  update rtd ubuntu and mambaforge (SciTools#5702)
  [pre-commit.ci] pre-commit autoupdate (SciTools#5699)
  ruff compliance for D205. (SciTools#5681)
  Added whatsnew to warnings PR (SciTools#5696)
  Removed use of catch_warnings (SciTools#5685)
  Better documentation for Cube names in curl (SciTools#5680)
  fix typo (SciTools#5689)
  Make further topics obviously different (SciTools#5684)
  [pre-commit.ci] pre-commit autoupdate (SciTools#5682)
  ruff complliance for D100. (SciTools#5678)
  move tests.pp to tests.__init__ (SciTools#5679)
  ruff compliance for D417, D106 (SciTools#5677)
  ruff compliance for D200. (SciTools#5675)
  ruff compliance for D106. (SciTools#5676)
  ...
Copy link

codecov bot commented Jan 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8d29df0) 89.71% compared to head (4ce2b90) 89.71%.
Report is 1 commits behind head on main.

❗ Current head 4ce2b90 differs from pull request most recent head 7c21250. Consider uploading reports for the commit 7c21250 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5714   +/-   ##
=======================================
  Coverage   89.71%   89.71%           
=======================================
  Files          90       90           
  Lines       22815    22815           
  Branches     5438     5438           
=======================================
  Hits        20468    20468           
  Misses       1617     1617           
  Partials      730      730           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tkknight tkknight marked this pull request as ready for review January 25, 2024 14:52
@trexfeathers
Copy link
Contributor

@tkknight are you still hoping to have team eyes on this before it gets merged?

@tkknight
Copy link
Contributor Author

@tkknight are you still hoping to have team eyes on this before it gets merged?

I think that will be useful.

@ESadek-MO
Copy link
Contributor

@SciTools/peloton unanimously agrees!

Copy link
Member

@bjlittle bjlittle left a comment

Choose a reason for hiding this comment

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

@tkknight Nice one, cheers!

This renders the docs sooo much better 👍

@bjlittle bjlittle merged commit 6c7bf61 into SciTools:main Feb 2, 2024
16 checks passed
@tkknight tkknight deleted the api_toc_expand branch February 2, 2024 12:18
tkknight added a commit to tkknight/iris that referenced this pull request Feb 3, 2024
* upstream/main:
  DOCS: API docs ToC more levels (SciTools#5714)
  Bump scitools/workflows from 2024.01.0 to 2024.02.0 (SciTools#5726)
tkknight added a commit to tkknight/iris that referenced this pull request Feb 5, 2024
* upstream/main:
  Bump codecov/codecov-action from 3 to 4 (SciTools#5727)
  DOCS: API docs ToC more levels (SciTools#5714)
  Bump scitools/workflows from 2024.01.0 to 2024.02.0 (SciTools#5726)
  DOCS: numpydocs 8 (SciTools#5722)
  DOCS: numpydocs 7 (SciTools#5720)
  DOCS: numpydocs 6 (SciTools#5718)
  fix docstring types and remove duplicate line. (SciTools#5719)
acchamber added a commit to acchamber/iris that referenced this pull request Feb 6, 2024
…into shapefile_masking

* 'shapefile_masking' of https://github.com/acchamber/iris: (102 commits)
  [pre-commit.ci] auto fixes from pre-commit.com hooks
  Update lib/iris/_shapefiles.py
  [pre-commit.ci] auto fixes from pre-commit.com hooks
  Numpydocs misc (SciTools#5728)
  Updated environment lockfiles (SciTools#5731)
  Bump codecov/codecov-action from 3 to 4 (SciTools#5727)
  DOCS: API docs ToC more levels (SciTools#5714)
  Bump scitools/workflows from 2024.01.0 to 2024.02.0 (SciTools#5726)
  DOCS: numpydocs 8 (SciTools#5722)
  DOCS: numpydocs 7 (SciTools#5720)
  DOCS: numpydocs 6 (SciTools#5718)
  fix docstring types and remove duplicate line. (SciTools#5719)
  Updated environment lockfiles (SciTools#5717)
  numpydocs (SciTools#5715)
  DOCS: numpydocs 4 (SciTools#5711)
  DOCS: Add ruff section to the dev guide docs (SciTools#5701)
  [pre-commit.ci] pre-commit autoupdate (SciTools#5709)
  Bump scitools/workflows from 2023.12.1 to 2024.01.0 (SciTools#5710)
  Faster trivial equality checks for coordinates and arrays (SciTools#5691)
  Make the Coord.cell method lazy (SciTools#5693)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants