Matching): plugins : - mkdocs-jupyter : execute_ignore : - "my-secret-files/*.ipynb" You can tell the plugin to ignore the execution of some files (with glob You can tell the plugin to execute the notebook before converting, default isįalse: plugins : - mkdocs-jupyter : execute : true You can control which files are included or ignored via lists of glob patterns: plugins : - mkdocs-jupyter : include : # Default: ignore : Execute Notebook # This one will be displayed inside the above level Including or Ignoring Files Later in the same markdown cell or new bottom markdown cells: # This header will show as top level in the table of contents If you want to nest headers in the TOC you need to add additional levels ( #) # This H2 title will show in the table of contents In order to see the table of contents you need to maintain a hierarchical Used as title): plugins : - mkdocs-jupyter : ignore_h1_titles : True This can be turned off in the configuration (in which case the filename will be The first h1 header ( #) in your notebook will be used as the title. py)Īs pages: nav : - Home : index.md - Notebook page : notebook.ipynb - Python file : python_script.py plugins : - mkdocs-jupyter Titles and Table of Contents In the mkdocs.yml use Jupyter notebooks (. Option to execute the notebook before converting.Same style as regular Jupyter Notebooks.Add Jupyter Notebooks directly to the mkdocs navigation.Mkdocs-jupyter: Use Jupyter Notebooks in mkdocs
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |