Skip to content

Migrate all ReST files to Markdown formats #168

Description

@seisman

Sphinx has supported both ReST and Markdown formats for a long time. Apparently, ReST is much complex than Markdown. It would be easier for us to update and maintain the website if we convert .rst files to .md files.

Activity

  1. anbj commented on Aug 3, 2026

    @anbj
    Contributor

    Do you know of an automated way of doing this?

    I guess you could argue that this be done for the GMT docs as well.

  2. joa-quim commented on Aug 3, 2026

    @joa-quim
    Member

    I hear that Markdown is also more limited than RsT. Does it worth the risk?

  3. seisman commented on Aug 4, 2026

    @seisman
    MemberAuthor

    MyST markdown is almost as powerful as ReST. It even can use raw ReST directives. See https://mystmd.org/ for more information.

    Actually the GMT Chinese documentation has migrated most its content (except the manpages for GMT modules) from ReST to Markdown (see PR gmt-china/GMT_docs#1346, but the PR comments were written in Chinese)

  4. anbj commented on Aug 4, 2026

    @anbj
    Contributor

    Did you convert from ReST to MyST by hand?

  5. seisman commented on Aug 4, 2026

    @seisman
    MemberAuthor

    We used the rst2myst tool (https://github.com/executablebooks/rst-to-myst). It usually works well but is not ideal, so manual fixes are needed. Please see our experience at gmt-china/GMT_docs#1344 (comment) (again in Chinese )

  6. anbj commented on Aug 4, 2026

    @anbj
    Contributor

    Thanks!

  7. Esteban82 commented on Aug 26, 2026

    @Esteban82
    Member

    It would be easier for us to update and maintain the website if we convert .rst files to .md files.

    I trust your word that it's worth doing.

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

Metadata

Metadata

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions