Add markdown support to docs

This commit is contained in:
Ciaran Ainsworth 2022-01-12 18:23:47 +01:00 committed by Georg Krause
parent 34bb75bb64
commit 50c1a13f82
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
FROM python:3.6
RUN apt-get update && apt-get install -y graphviz
RUN pip install sphinx livereload sphinx_rtd_theme django-environ django
RUN pip install sphinx livereload sphinx_rtd_theme django-environ django myst-parser
WORKDIR /app/docs

View File

@ -46,7 +46,7 @@ for key, value in FUNKWHALE_CONFIG.items():
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx.ext.graphviz", "sphinx.ext.autodoc"]
extensions = ["sphinx.ext.graphviz", "sphinx.ext.autodoc", "myst_parser"]
autodoc_mock_imports = [
"celery",
"django_auth_ldap",