Docs: out-of-date warning on older versions

Open
#28 2 comments 0 reactions 1 assignee View on GitHub

@sadielbartholomew is already working on this.

Since Apr 24, 2020.

Assessment

This issue has not been assessed yet.

Description

documentation

The first result I see upon a Google search for "cfdm documentation" links to an old version (1.7.1) of the documentation. However, there is no indication that it is not the latest & greatest.

Since it is likely, as this illustrates, that users may end up viewing older versions of the documentation inadvertently, we should add a visible & explicit warning that the pages & table of contents on display belong to an old version. Other libraries often do this, for example, NumPy displays:

ex1_numpy

& similarly Python displays:

ex1_python

The simplest way to do this would be to inject an RST warning directive (.. warning::) to the top of all content pages for older versions, as that directive provides a ready-made red text box seems to be the UI design trend for this, as above, & which will draw the necessary attention.

Dominant language
Python
Stars
32
Forks
14
Avg merge
3d 20h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NCAS-CMS/cfdm

All issues in NCAS-CMS/cfdm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.