Skip to content

Commit

Permalink
Use myst-parser instead of recommonmark (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed May 9, 2022
1 parent 6a827c3 commit f49db91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,22 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"myst_parser"
]

source_parsers = {
'.md': 'recommonmark.parser.CommonMarkParser',
}


# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
source_suffix = ['.rst', '.md']
source_suffix = {
'.rst': 'restructuredtext',
'.txt': 'markdown',
'.md': 'markdown',
}

# source_suffix = '.rst'

# The master toctree document.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
recommonmark
myst-parser
sphinx
dask_sphinx_theme>=2

0 comments on commit f49db91

Please sign in to comment.