From e6c50bb7c0102eedceff62764b5bfce4800a4faf Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 19 Oct 2020 20:11:11 +1100 Subject: [PATCH] enable tomyst in config --- conf.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 8ebc337..329c574 100644 --- a/conf.py +++ b/conf.py @@ -39,7 +39,8 @@ 'sphinxcontrib.bibtex', 'IPython.sphinxext.ipython_console_highlighting', # Custom Sphinx Extensions - 'sphinxcontrib.jupyter', + 'sphinxcontrib.jupyter', + 'sphinx_tomyst' ] # Retired Extensions but may be useful in Future @@ -367,6 +368,8 @@ linkcheck_timeout = 30 +# {{ tomyst-remove-start }} + # -------------------------------------------- # jupyter Sphinx Extension conversion settings # -------------------------------------------- @@ -477,3 +480,13 @@ # pdf toc file jupyter_pdf_book_index = "index_toc" + +# sphinx-tomyst config + +# Set Destination path +tomyst_static_file_path = ['source/rst/_static'] +tomyst_parser = "myst_nb" +tomyst_conf_removeblocks = True +tomyst_conf_dropcontaining = ["sphinxcontrib.jupyter"] + +# {{ tomyst-remove-finish }} \ No newline at end of file