From 4f3cb69104e81bf9297d1c49dc3652742f471494 Mon Sep 17 00:00:00 2001 From: kolibril13 <44469195+kolibril13@users.noreply.github.com> Date: Sat, 31 Jul 2021 23:14:25 +0200 Subject: [PATCH 1/5] installation --- doc/usage.ipynb | 189 ++++++++++++++++++++++++++++-------------------- 1 file changed, 110 insertions(+), 79 deletions(-) diff --git a/doc/usage.ipynb b/doc/usage.ipynb index 778b2127..aedb05a5 100644 --- a/doc/usage.ipynb +++ b/doc/usage.ipynb @@ -2,23 +2,22 @@ "cells": [ { "cell_type": "markdown", - "metadata": { - "nbsphinx": "hidden" - }, "source": [ "This notebook is part of the `nbsphinx` documentation: https://nbsphinx.readthedocs.io/." - ] + ], + "metadata": { + "nbsphinx": "hidden" + } }, { "cell_type": "markdown", - "metadata": {}, "source": [ "# Usage" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "## Sphinx Setup\n", "\n", @@ -55,11 +54,11 @@ "which will serve as main page.\n", "In this case you can create the main [toctree](subdir/toctree.ipynb)\n", "in `index.ipynb`." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "### Sphinx Configuration Values\n", "\n", @@ -67,11 +66,11 @@ "[Sphinx documentation](http://www.sphinx-doc.org/en/master/usage/configuration.html),\n", "here we mention only the ones which may be relevant\n", "in combination with `nbsphinx`." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `exclude_patterns`\n", "\n", @@ -91,11 +90,11 @@ "is automatically added\n", "to `exclude_patterns`\n", "by `nbsphinx`." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `extensions`\n", "\n", @@ -116,21 +115,21 @@ " for [adding \"copy to clipboard\" buttons](https://sphinx-copybutton.readthedocs.io/)\n", " to all text/code boxes\n", "* `'sphinx_gallery.load_style'` to load CSS styles for [thumbnail galleries](subdir/gallery.ipynb)" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `html_css_files`\n", "\n", "See [Custom CSS](custom-css.ipynb) and\n", "[html_css_files](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_css_files)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `html_sourcelink_suffix`\n", "\n", @@ -147,22 +146,22 @@ "```python\n", "html_sourcelink_suffix = ''\n", "```" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `latex_additional_files`\n", "\n", "[latex_additional_files](http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-latex_additional_files)\n", "can be useful if you are using BibTeX files, see\n", "[References](a-normal-rst-file.rst#references)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `mathjax3_config`\n", "\n", @@ -173,11 +172,11 @@ "\n", "For Sphinx versions below 4.0.0, which used MathJax version 2,\n", "the relevant configuration value was called `mathjax_config`." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `pygments_style`\n", "\n", @@ -189,11 +188,11 @@ "and [code blocks in Markdown cells](markdown-cells.ipynb#Code)\n", "(unless overwritten by the\n", "[html_theme](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_theme))." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `suppress_warnings`\n", "\n", @@ -228,58 +227,58 @@ " 'nbsphinx.ipywidgets',\n", "]\n", "```" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "### `nbsphinx` Configuration Values" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_allow_errors`\n", "\n", "If `True`, the build process is continued even if an exception occurs.\n", "\n", "See [Ignoring Errors](allow-errors.ipynb)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_codecell_lexer`\n", "\n", "Default Pygments lexer for syntax highlighting in code cells.\n", "If available,\n", "this information is taken from the notebook metadata instead." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_custom_formats`\n", "\n", "See [Custom Notebook Formats](custom-formats.ipynb)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_epilog`\n", "\n", "See [Prolog and Epilog](prolog-and-epilog.ipynb)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_execute`\n", "\n", @@ -287,11 +286,11 @@ "Possible values: `'always'`, `'never'`, `'auto'` (default).\n", "\n", "See [Explicitly Dis-/Enabling Notebook Execution](never-execute.ipynb)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_execute_arguments`\n", "\n", @@ -311,11 +310,11 @@ "you can drop the `'pdf'` figure format.\n", "\n", "See [Configuring the Kernels](configuring-kernels.ipynb#Kernel-Arguments)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_input_prompt`\n", "\n", @@ -326,11 +325,11 @@ "```python\n", "nbsphinx_input_prompt = 'In [%s]:'\n", "```" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_kernel_name`\n", "\n", @@ -341,11 +340,11 @@ "```\n", "\n", "See [Configuring the Kernels](configuring-kernels.ipynb#Kernel-Name)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_output_prompt`\n", "\n", @@ -356,20 +355,20 @@ "```python\n", "nbsphinx_output_prompt = 'Out[%s]:'\n", "```" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_prolog`\n", "\n", "See [Prolog and Epilog](prolog-and-epilog.ipynb)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_prompt_width`\n", "\n", @@ -378,21 +377,21 @@ "If a prompt is wider than that, it protrudes into the left margin.\n", "\n", "Any CSS length can be specified." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_requirejs_options`\n", "\n", "Options for loading RequireJS.\n", "See [nbsphinx_requirejs_path](#nbsphinx_requirejs_path)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_requirejs_path`\n", "\n", @@ -404,11 +403,11 @@ "[html_static_path](http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_static_path).\n", "\n", "Set to empty string to disable loading RequireJS." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_responsive_width`\n", "\n", @@ -417,11 +416,11 @@ "(HTML only).\n", "\n", "Any CSS length can be specified." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_thumbnails`\n", "\n", @@ -432,11 +431,11 @@ "[thumbnail gallery](subdir/gallery.ipynb).\n", "\n", "See [Specifying Thumbnails](gallery/thumbnail-from-conf-py.ipynb)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_timeout`\n", "\n", @@ -446,21 +445,21 @@ "which is also the default.\n", "\n", "See [Cell Execution Timeout](timeout.ipynb)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_widgets_options`\n", "\n", "Options for loading Jupyter widgets resources.\n", "See [nbsphinx_widgets_path](#nbsphinx_widgets_path)." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "#### `nbsphinx_widgets_path`\n", "\n", @@ -481,11 +480,11 @@ "actually uses widgets.\n", "If you are loading the relevant JavaScript code by some other means already,\n", "you can set this option to the empty string to avoid loading it a second time." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "## Running Sphinx\n", "\n", @@ -525,11 +524,11 @@ "Just invoke it like this:\n", "\n", " python3 -m sphinx -b linkcheck" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "## Watching for Changes with `sphinx-autobuild`\n", "\n", @@ -558,11 +557,11 @@ " latexmk -pdf -pvc\n", "\n", "If your PDF viewer isn't opened because of LaTeX build errors, you can use the command line flag `-f` to *force* creating a PDF file." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "## Automatic Creation of HTML and PDF output on readthedocs.org\n", "\n", @@ -595,11 +594,11 @@ "the IPython kernel is installed from the packet `ipykernel`.\n", "\n", "" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "### Using `requirements.txt`\n", "\n", @@ -633,11 +632,11 @@ " ```\n", " git+https://github.com/spatialaudio/nbsphinx.git@master\n", " ```" - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "### Using `conda`\n", "\n", @@ -690,11 +689,42 @@ "The specification of the `conda-forge` channel is recommended because it tends to have more recent package versions than the default channel.\n", "\n", "" - ] + ], + "metadata": {} + }, + { + "cell_type": "markdown", + "source": [ + "## Automatic Creation of HTML and PDF output on GitLab Pages\n", + "\n", + "When using GitLab pages, you can use nbsphinx by adding the file `.gitlab-ci.yml` to your repo and copy the following code into this file:\n", + "```\n", + "image: python\n", + "\n", + "before_script:\n", + " - apt-get update -y\n", + " - apt-get install -y pandoc\n", + "\n", + "\n", + "pages:\n", + " stage: deploy\n", + " script:\n", + " - pip install numpy ipykernel\n", + " - pip install sphinx nbsphinx \n", + " - mkdir -p doc; cd doc\n", + " - sphinx-build -b html source ../public/\n", + " - echo 'Done'\n", + " artifacts:\n", + " paths:\n", + " - public\n", + " only:\n", + " - master\n", + "```" + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "## HTML Themes\n", "\n", @@ -836,11 +866,11 @@ "\n", "If you know of another Sphinx theme that should be included here, please open an [issue on Github](https://github.com/spatialaudio/nbsphinx/issues).\n", "An overview of many more themes can be found at https://sphinx-themes.org/." - ] + ], + "metadata": {} }, { "cell_type": "markdown", - "metadata": {}, "source": [ "## Using Notebooks with Git\n", "\n", @@ -871,7 +901,8 @@ "* https://github.com/choldgraf/nbclean\n", "* https://jamesfolberth.org/articles/2017/08/07/git-commit-hook-for-jupyter-notebooks/\n", "* https://github.com/ResearchSoftwareActions/EnsureCleanNotebooksAction" - ] + ], + "metadata": {} } ], "metadata": { @@ -895,4 +926,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} +} \ No newline at end of file From e270bafbe84e7543449c5cc9a12d69fa5a796874 Mon Sep 17 00:00:00 2001 From: kolibril13 <44469195+kolibril13@users.noreply.github.com> Date: Thu, 12 Aug 2021 14:20:42 +0200 Subject: [PATCH 2/5] revert metadata changes --- doc/usage.ipynb | 166 ++++++++++++++++++++++++------------------------ 1 file changed, 83 insertions(+), 83 deletions(-) diff --git a/doc/usage.ipynb b/doc/usage.ipynb index aedb05a5..fffbfc80 100644 --- a/doc/usage.ipynb +++ b/doc/usage.ipynb @@ -2,22 +2,23 @@ "cells": [ { "cell_type": "markdown", - "source": [ - "This notebook is part of the `nbsphinx` documentation: https://nbsphinx.readthedocs.io/." - ], "metadata": { "nbsphinx": "hidden" - } + }, + "source": [ + "This notebook is part of the `nbsphinx` documentation: https://nbsphinx.readthedocs.io/." + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "# Usage" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "## Sphinx Setup\n", "\n", @@ -54,11 +55,11 @@ "which will serve as main page.\n", "In this case you can create the main [toctree](subdir/toctree.ipynb)\n", "in `index.ipynb`." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "### Sphinx Configuration Values\n", "\n", @@ -66,11 +67,11 @@ "[Sphinx documentation](http://www.sphinx-doc.org/en/master/usage/configuration.html),\n", "here we mention only the ones which may be relevant\n", "in combination with `nbsphinx`." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `exclude_patterns`\n", "\n", @@ -90,11 +91,11 @@ "is automatically added\n", "to `exclude_patterns`\n", "by `nbsphinx`." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `extensions`\n", "\n", @@ -115,21 +116,21 @@ " for [adding \"copy to clipboard\" buttons](https://sphinx-copybutton.readthedocs.io/)\n", " to all text/code boxes\n", "* `'sphinx_gallery.load_style'` to load CSS styles for [thumbnail galleries](subdir/gallery.ipynb)" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `html_css_files`\n", "\n", "See [Custom CSS](custom-css.ipynb) and\n", "[html_css_files](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_css_files)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `html_sourcelink_suffix`\n", "\n", @@ -146,22 +147,22 @@ "```python\n", "html_sourcelink_suffix = ''\n", "```" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `latex_additional_files`\n", "\n", "[latex_additional_files](http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-latex_additional_files)\n", "can be useful if you are using BibTeX files, see\n", "[References](a-normal-rst-file.rst#references)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `mathjax3_config`\n", "\n", @@ -172,11 +173,11 @@ "\n", "For Sphinx versions below 4.0.0, which used MathJax version 2,\n", "the relevant configuration value was called `mathjax_config`." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `pygments_style`\n", "\n", @@ -188,11 +189,11 @@ "and [code blocks in Markdown cells](markdown-cells.ipynb#Code)\n", "(unless overwritten by the\n", "[html_theme](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_theme))." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `suppress_warnings`\n", "\n", @@ -227,58 +228,58 @@ " 'nbsphinx.ipywidgets',\n", "]\n", "```" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "### `nbsphinx` Configuration Values" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_allow_errors`\n", "\n", "If `True`, the build process is continued even if an exception occurs.\n", "\n", "See [Ignoring Errors](allow-errors.ipynb)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_codecell_lexer`\n", "\n", "Default Pygments lexer for syntax highlighting in code cells.\n", "If available,\n", "this information is taken from the notebook metadata instead." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_custom_formats`\n", "\n", "See [Custom Notebook Formats](custom-formats.ipynb)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_epilog`\n", "\n", "See [Prolog and Epilog](prolog-and-epilog.ipynb)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_execute`\n", "\n", @@ -286,11 +287,11 @@ "Possible values: `'always'`, `'never'`, `'auto'` (default).\n", "\n", "See [Explicitly Dis-/Enabling Notebook Execution](never-execute.ipynb)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_execute_arguments`\n", "\n", @@ -310,11 +311,11 @@ "you can drop the `'pdf'` figure format.\n", "\n", "See [Configuring the Kernels](configuring-kernels.ipynb#Kernel-Arguments)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_input_prompt`\n", "\n", @@ -325,11 +326,11 @@ "```python\n", "nbsphinx_input_prompt = 'In [%s]:'\n", "```" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_kernel_name`\n", "\n", @@ -340,11 +341,11 @@ "```\n", "\n", "See [Configuring the Kernels](configuring-kernels.ipynb#Kernel-Name)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_output_prompt`\n", "\n", @@ -355,20 +356,20 @@ "```python\n", "nbsphinx_output_prompt = 'Out[%s]:'\n", "```" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_prolog`\n", "\n", "See [Prolog and Epilog](prolog-and-epilog.ipynb)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_prompt_width`\n", "\n", @@ -377,21 +378,21 @@ "If a prompt is wider than that, it protrudes into the left margin.\n", "\n", "Any CSS length can be specified." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_requirejs_options`\n", "\n", "Options for loading RequireJS.\n", "See [nbsphinx_requirejs_path](#nbsphinx_requirejs_path)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_requirejs_path`\n", "\n", @@ -403,11 +404,11 @@ "[html_static_path](http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_static_path).\n", "\n", "Set to empty string to disable loading RequireJS." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_responsive_width`\n", "\n", @@ -416,11 +417,11 @@ "(HTML only).\n", "\n", "Any CSS length can be specified." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_thumbnails`\n", "\n", @@ -431,11 +432,11 @@ "[thumbnail gallery](subdir/gallery.ipynb).\n", "\n", "See [Specifying Thumbnails](gallery/thumbnail-from-conf-py.ipynb)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_timeout`\n", "\n", @@ -445,21 +446,21 @@ "which is also the default.\n", "\n", "See [Cell Execution Timeout](timeout.ipynb)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_widgets_options`\n", "\n", "Options for loading Jupyter widgets resources.\n", "See [nbsphinx_widgets_path](#nbsphinx_widgets_path)." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "#### `nbsphinx_widgets_path`\n", "\n", @@ -480,11 +481,11 @@ "actually uses widgets.\n", "If you are loading the relevant JavaScript code by some other means already,\n", "you can set this option to the empty string to avoid loading it a second time." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "## Running Sphinx\n", "\n", @@ -524,11 +525,11 @@ "Just invoke it like this:\n", "\n", " python3 -m sphinx -b linkcheck" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "## Watching for Changes with `sphinx-autobuild`\n", "\n", @@ -557,11 +558,11 @@ " latexmk -pdf -pvc\n", "\n", "If your PDF viewer isn't opened because of LaTeX build errors, you can use the command line flag `-f` to *force* creating a PDF file." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "## Automatic Creation of HTML and PDF output on readthedocs.org\n", "\n", @@ -594,11 +595,11 @@ "the IPython kernel is installed from the packet `ipykernel`.\n", "\n", "" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "### Using `requirements.txt`\n", "\n", @@ -632,11 +633,11 @@ " ```\n", " git+https://github.com/spatialaudio/nbsphinx.git@master\n", " ```" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "### Using `conda`\n", "\n", @@ -689,11 +690,11 @@ "The specification of the `conda-forge` channel is recommended because it tends to have more recent package versions than the default channel.\n", "\n", "" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "## Automatic Creation of HTML and PDF output on GitLab Pages\n", "\n", @@ -720,11 +721,11 @@ " only:\n", " - master\n", "```" - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "## HTML Themes\n", "\n", @@ -866,11 +867,11 @@ "\n", "If you know of another Sphinx theme that should be included here, please open an [issue on Github](https://github.com/spatialaudio/nbsphinx/issues).\n", "An overview of many more themes can be found at https://sphinx-themes.org/." - ], - "metadata": {} + ] }, { "cell_type": "markdown", + "metadata": {}, "source": [ "## Using Notebooks with Git\n", "\n", @@ -901,13 +902,12 @@ "* https://github.com/choldgraf/nbclean\n", "* https://jamesfolberth.org/articles/2017/08/07/git-commit-hook-for-jupyter-notebooks/\n", "* https://github.com/ResearchSoftwareActions/EnsureCleanNotebooksAction" - ], - "metadata": {} + ] } ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -921,9 +921,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.2" + "version": "3.7.9" } }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} From eb9a4ac5248c361c2941f9b70b572b9d02cb6280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Hendrik=20M=C3=BCller?= <44469195+kolibril13@users.noreply.github.com> Date: Thu, 12 Aug 2021 14:21:28 +0200 Subject: [PATCH 3/5] Update doc/usage.ipynb --- doc/usage.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage.ipynb b/doc/usage.ipynb index fffbfc80..532ad42e 100644 --- a/doc/usage.ipynb +++ b/doc/usage.ipynb @@ -907,7 +907,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3",``` "language": "python", "name": "python3" }, From 86c6346a5a1ab050023e00678b2d54f14c521239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Hendrik=20M=C3=BCller?= <44469195+kolibril13@users.noreply.github.com> Date: Thu, 12 Aug 2021 14:21:51 +0200 Subject: [PATCH 4/5] Update doc/usage.ipynb --- doc/usage.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage.ipynb b/doc/usage.ipynb index 532ad42e..0b112931 100644 --- a/doc/usage.ipynb +++ b/doc/usage.ipynb @@ -921,7 +921,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.9" + "version": "3.9.2" } }, "nbformat": 4, From 7334341d68c4cdd2a2dafe6885c29fbae1fe3553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Hendrik=20M=C3=BCller?= <44469195+kolibril13@users.noreply.github.com> Date: Thu, 12 Aug 2021 14:22:06 +0200 Subject: [PATCH 5/5] Update doc/usage.ipynb --- doc/usage.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage.ipynb b/doc/usage.ipynb index 0b112931..6d99ef7c 100644 --- a/doc/usage.ipynb +++ b/doc/usage.ipynb @@ -907,7 +907,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3",``` + "display_name": "Python 3", "language": "python", "name": "python3" },