From a85e08d6bcdbead3a59624a51d8cd1642a63e2dc Mon Sep 17 00:00:00 2001 From: Pingu Carsti Date: Thu, 23 Nov 2023 19:04:59 +0100 Subject: [PATCH] dont't build notebooks with sphinx --- .eggs/README.txt | 6 ---- docs/source/conf.py | 4 +-- docs/source/index.rst | 1 - docs/source/notebooks/example.ipynb | 48 ----------------------------- docs/source/notebooks/index.rst | 8 ----- 5 files changed, 2 insertions(+), 65 deletions(-) delete mode 100644 .eggs/README.txt delete mode 100644 docs/source/notebooks/example.ipynb delete mode 100644 docs/source/notebooks/index.rst diff --git a/.eggs/README.txt b/.eggs/README.txt deleted file mode 100644 index 5d01668..0000000 --- a/.eggs/README.txt +++ /dev/null @@ -1,6 +0,0 @@ -This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins. - -This directory caches those eggs to prevent repeated downloads. - -However, it is safe to delete this directory. - diff --git a/docs/source/conf.py b/docs/source/conf.py index a68c509..f6f8daf 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -43,8 +43,8 @@ "pywps.ext_autodoc", "sphinx.ext.autosectionlabel", "sphinx.ext.imgconverter", - "nbsphinx", - "IPython.sphinxext.ipython_console_highlighting", + # "nbsphinx", + # "IPython.sphinxext.ipython_console_highlighting", ] # To avoid having to install these and burst memory limit on ReadTheDocs. diff --git a/docs/source/index.rst b/docs/source/index.rst index 318de0c..aed6750 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -6,7 +6,6 @@ installation configuration - notebooks/index dev_guide processes authors diff --git a/docs/source/notebooks/example.ipynb b/docs/source/notebooks/example.ipynb deleted file mode 100644 index 56e8305..0000000 --- a/docs/source/notebooks/example.ipynb +++ /dev/null @@ -1,48 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Usage Example" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "import shearwater" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.8.2" - } - }, - "nbformat": 4, - "nbformat_minor": 4 -} diff --git a/docs/source/notebooks/index.rst b/docs/source/notebooks/index.rst deleted file mode 100644 index cdbc518..0000000 --- a/docs/source/notebooks/index.rst +++ /dev/null @@ -1,8 +0,0 @@ -======== -Examples -======== - -.. toctree:: - :maxdepth: 1 - - example