diff --git a/conf.py b/conf.py index 0a0274a63..fd839c4a1 100644 --- a/conf.py +++ b/conf.py @@ -8,7 +8,7 @@ dir_path = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(0, os.path.abspath(dir_path + '/_ext')) now = datetime.datetime.now() -extensions = ['sphinx_rtd_theme', 'sphinx_rtd_dark_mode', 'sphinx_copybutton'] +extensions = ['sphinx_rtd_theme', 'sphinx_rtd_dark_mode', 'sphinx_copybutton', 'sphinxcontrib.mermaid'] # General information about the project. copyright = str(now.year) + ' Nextcloud GmbH' diff --git a/requirements.txt b/requirements.txt index 87affda8a..b392a20ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,6 +26,7 @@ sphinxcontrib-devhelp==2.0.0 sphinxcontrib-htmlhelp==2.1.0 sphinxcontrib-jquery==4.1 sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-mermaid==0.9.2 sphinxcontrib-phpdomain==0.12.0 sphinxcontrib-qthelp==2.0.0 sphinxcontrib-serializinghtml==2.0.0