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 whatsnew enumerated lists #3970

Merged
merged 4 commits into from
Jan 31, 2021

Conversation

bjlittle
Copy link
Member

@bjlittle bjlittle commented Jan 28, 2021

🚀 Pull Request

Description

This PR changes the default use of bullet points in the documentation whatsnew (excluding the Highlights dropdown) for enumerated lists.

This helps to easily quantify the number of entries per section, but more importantly it provides a more precise way to reference entries e.g., when referencing a whatsnew entry with users in a written discussion, instead of:

See the fifth bullet point down of the Incompatible Changes section...

we now have something like:

See Incompatible Changes section, entry [5].

Also, it's easier to find a numbered entry rather than forcing users to count bullet points... you kinda get the gist 😉

These changes have been applied to the latest.rst, latest.rst.template, 3.0.1.rst and 3.0.rst. For convenience, see the rendered results:


Consult Iris pull request check list

Copy link
Contributor

@tkknight tkknight left a comment

Choose a reason for hiding this comment

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

The changes look good @bjlittle .

I would suggest also changing the whatsnew guide too though such as the reference to bullet points and the example needs to change to an enumerated list (hash).

@tkknight tkknight merged commit c5efe72 into SciTools:master Jan 31, 2021
@bjlittle
Copy link
Member Author

@tkknight Awesome, thanks 👍

@bjlittle bjlittle deleted the docs-whatsnew-enumerated-lists branch February 1, 2021 13:02
tkknight added a commit to tkknight/iris that referenced this pull request Feb 1, 2021
* master:
  remove explicit URLs for core dev names from latest.rst (SciTools#3973)
  document that iris.coords.Coord is an ABC (SciTools#3971)
  reorganise docs common links + add core devs (SciTools#3972)
  Docs whatsnew add dropdowns to the template (SciTools#3969)
  Docs whatsnew enumerated lists (SciTools#3970)
  Merge back v3p0p1 (SciTools#3966)
  Captilise installation heading - align SciTools#3958 content with SciTools#3940. (SciTools#3963)
  Merge back v3p0p0 (SciTools#3960)
  Extended the installation description (SciTools#3958)
tkknight added a commit to tkknight/iris that referenced this pull request Feb 9, 2021
* master: (23 commits)
  Added text to state the Python version used to build the docs. (SciTools#3989)
  add nox session conda list (SciTools#3990)
  Add abstract cube summary (SciTools#3987)
  automate docs discovery of iris and python versions (SciTools#3981)
  corrected syntax (SciTools#3980)
  core dev whatsnew entry (SciTools#3978)
  moved docs dir and updated references to it (SciTools#3975)
  Fix test_incompatible_dimensions test (SciTools#3977)
  remove explicit URLs for core dev names from latest.rst (SciTools#3973)
  document that iris.coords.Coord is an ABC (SciTools#3971)
  reorganise docs common links + add core devs (SciTools#3972)
  Docs whatsnew add dropdowns to the template (SciTools#3969)
  Docs whatsnew enumerated lists (SciTools#3970)
  Merge back v3p0p1 (SciTools#3966)
  Captilise installation heading - align SciTools#3958 content with SciTools#3940. (SciTools#3963)
  Merge back v3p0p0 (SciTools#3960)
  Extended the installation description (SciTools#3958)
  Put cube data on the x axis if plotting just a cube against a vertical or y coordinate (SciTools#3906)
  remove stock_mdi_arrays.npz (SciTools#3913)
  Gallery: update seasonal ensemble example (SciTools#3933)
  ...
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

2 participants