logo
  • Get started with MyST in Sphinx

MyST Syntax

  • The MyST Syntax Guide
  • Optional MyST Syntaxes
  • MyST Syntax Reference

Topic Guides

  • Background and explanation
  • MyST with Sphinx
    • Sphinx extension usage guide
    • Special roles and directives
    • Sphinx configuration options
    • Common errors and questions
  • MyST-Parser Python API
    • Parse MyST Markdown
    • Render outputs
    • API Reference
  • Contribute to MyST
    • Contributing
    • The MyST implementation architecture
    • Testing Infrastructure

About the project

  • Example pages
    • Wealth Distribution Dynamics in rST
    • Wealth Distribution Dynamics in MyST
  • Changelog
  • GitHub repo
Theme by the Executable Book Project

MyST with Sphinx¶

The MyST Parser comes bundled with a Sphinx extension that allows you to use write Sphinx documentation entirely in MyST (or, in a combination of rST and MyST). The following sections cover some major functionality of the Sphinx extension.

See also

For an introduction to MyST with Sphinx, see Get started with MyST in Sphinx.

  • Sphinx extension usage guide
    • Include rST files into a Markdown file
    • Use MyST in Jupyter Notebooks
    • Include a file from outside the docs folder (like README.md)
    • Use sphinx.ext.autodoc in Markdown files
    • Automatically create targets for section headers
    • Suppress warnings
    • Sphinx-specific page front matter
    • Migrate pre-existing rST into MyST
  • Special roles and directives
    • Insert the date and reading time
  • Sphinx configuration options
    • Disable markdown syntax for the parser
  • Common errors and questions
    • What markup language should I use inside directives?
    • Why doesn’t my role/directive recognize markdown link syntax?

previous

Background and explanation

next

Sphinx extension usage guide

By Executable Book Project
© Copyright 2020, Executable Book Project.