Try alternative Sphinx themes for the PyGMT documentation?

Open
#4,745 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Domain
documentation

Research direction

Start by locating the current Sphinx RTD theme configuration in the documentation setup and compare it with a candidate theme from the Sphinx Themes gallery, especially PyData Sphinx Theme. A proof-of-concept is done when a PR provides a documentation preview or screenshots and enough comparison for the project to discuss whether changing themes is worthwhile.

Written by the indexing model from the issue text.

Description

discussions

The PyGMT documentation has used the Sphinx RTD theme since its first commit. It has worked well, and its relatively infrequent releases (xref: https://github.com/readthedocs/sphinx_rtd_theme/tags) can be viewed as a good thing (stable behavior and little maintenance burden) or a bad thing (missing documentation features).

It may be worth experimenting with alternative themes from the Sphinx Themes gallery. One popular option is the PyData Sphinx Theme, which is used by NumPy, pandas, xarray, and other projects in the PyData ecosystem. It offers a more flexible layout, light/dark mode, and configurable navigation.

I'm not proposing that we replace the current theme. Instead, this issue invites anyone interested to try an alternative in a small proof-of-concept PR and share a documentation preview or screenshots. We can then discuss whether a theme change would be worthwhile.

Dominant language
Python
Stars
882
Forks
261
Avg merge
1d 3h
Merged PRs (30d)
29

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 GenericMappingTools/pygmt

All issues in GenericMappingTools/pygmt

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.