Skip to content

Use MyST parser for changelog and contributing documentation #5542

Closed

Description

@maxrjones

Description of the desired feature

There are several open issues related to contributing/developing documentation (#3778, #3314, #3313, #3300, #3127, https://github.com/GenericMappingTools/gmt/issues/1199), which will be quicker to address if we use the MyST parser which allows sphinx documentation to be written directly in markdown.

This feature request is to use the MyST parser for some aspects of the GMT documentation, included expanded contributing documentation, developer documentation, changelog, and perhaps the simple examples proposed in #5364. This will make it simpler to update the changelog because the release drafter notes will not need to be manually converted to ReST and will help new contributors add to the documentation because markdown is more intuitive than ReST based on anecdotal comments at the SciPy conference.

Steps:

  1. Install MyST parser using steps at https://myst-parser.readthedocs.io/en/latest/sphinx/intro.html
  2. Format existing changelog as markdown

Activity

  1. added
    feature request
    on Jul 27, 2021
  2. seisman commented on Jul 27, 2021

    @seisman
    Member

    Just a reminder that, source code of all sphinx extensions are included in the GMT repository (https://github.com/GenericMappingTools/gmt/tree/master/doc/rst/_extensions) to make sure that anyone can build the GMT documentation as long as Sphinx is installed.

    It seems that MyST depends on many Python packages and it may be difficult to include all of them in the GMT repository.

  3. maxrjones commented on Jul 27, 2021

    @maxrjones
    MemberAuthor

    Alright, I will close this. Eventually, we may want to consider whether it is worth adding as a non-included dependency since it could save us time/effort and help others contribute to our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions