This provides Markdown file support for Sphinx via RST inclusion.
pip install sphinx-markdownAdd sphinx_markdown to your Sphinx project's conf.py by appending it to the
extensions list.
There are a couple of configuration options available.
markdown_extensionsprovides a list of extensions to be passed to the Markdown parsermarkdown_searchreplaces the search functionality to use the included Markdown document instead of just the filename. You will need to sethtml_copy_sourcetoTruein order for search to work.
extensions = ['sphinx.ext.autodoc', 'numpydoc', 'sphinx_markdown']
html_copy_source = True
markdown_search = True
markdown_extensions = ['gfm'] # Github Flavored Markdown (pip install py-gfm).. markdown-ingest::
filename: README.md