Skip to content

Get inclusion of markdown files in the User's Gudie to properly render #4003

Description

@ekluzek

Brief summary of bug

The markdown files that are included in the User's Guide are rendering as literal raw text rather than as Myst Markdown files. For some this is because of the use of the "literal" keyword. But, in other places doc-builder needs to be updated for it to render correctly. The build step will also need to have a conda environment that has the myst_parser, so this probably needs to be added to ctsm_pylib.

General bug information

CTSM version you are using: ctsm5.4.035

Does this bug cause significantly incorrect results in the model's science? No

Configurations affected: Documentation build

Details of bug

The problem is described here:

ESMCI/doc-builder#42

Important details of your setup / configuration so we can reproduce the bug

Use of literal are shown here:

git grep :literal:
overview/introduction.rst:   :literal:
testing/testing.rst:   :literal:

If myst_parser needs to be added to ctsm_pylib that goes in the python directory.

Important output or errors that show the problem

See for example:

https://escomp.github.io/CTSM/users_guide/overview/introduction.html#readme-file-describing-version

Definition of Done:

  • Update to doc-builder version with the main fix
  • Fix the literal instances
  • Add mys_parser to ctsm_pylib?
  • Make sure with the changes the markdown files render correctly
  • Merge PR with changes to b4b-dev

Pinging @samsrabin

Metadata

Metadata

Assignees

No one assigned

    Labels

    b4bbit-for-bitclosed: non-issueNot really a problemdocs:infrastructureNew features or bug fixes in the documentation infrastructuretest: docsTest documentation build before merging

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions