From 82037f975cdf319bde112bd8ef7894f4a6563331 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson <oscar.gustafsson@gmail.com> Date: Mon, 15 May 2023 14:03:20 +0200 Subject: [PATCH] Drop qtgallery and jupyter-sphinx doc dependencies --- README.md | 2 -- docs_sphinx/conf.py | 11 ----------- examples/introduction.py | 6 +++--- requirements_doc.txt | 2 -- 4 files changed, 3 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 9aed2898..f282c0e0 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,6 @@ To generate the documentation, the following additional packages are required: - [numpydoc](https://numpydoc.readthedocs.io/) - [Sphinx-Gallery](https://sphinx-gallery.github.io/) - [mplsignal](https://mplsignal.readthedocs.io/) - - [jupyters-sphinx](https://jupyter-sphinx.readthedocs.io/) - - [qtgallery](https://github.com/ixjlyons/qtgallery) - [sphinx-copybutton](https://sphinx-copybutton.readthedocs.io/) ### Using setuptools to create a package diff --git a/docs_sphinx/conf.py b/docs_sphinx/conf.py index 9de7534c..74075c27 100644 --- a/docs_sphinx/conf.py +++ b/docs_sphinx/conf.py @@ -8,8 +8,6 @@ import shutil -# import qtgallery - project = 'B-ASIC' copyright = '2020-2023, Oscar Gustafsson et al' author = 'Oscar Gustafsson et al' @@ -27,9 +25,7 @@ extensions = [ 'sphinx.ext.intersphinx', 'sphinx_gallery.gen_gallery', 'numpydoc', # Needs to be loaded *after* autodoc. - 'jupyter_sphinx', 'sphinx_copybutton', - # 'qtgallery', ] templates_path = ['_templates'] @@ -80,10 +76,3 @@ sphinx_gallery_conf = { 'matplotlib', ), } - -qtgallery_conf = { - "xvfb_size": (800, 600), - "xvfb_color_depth": 24, - "xfvb_use_xauth": False, - "xfvb_extra_args": [], -} diff --git a/examples/introduction.py b/examples/introduction.py index 2cf182b3..16778e30 100644 --- a/examples/introduction.py +++ b/examples/introduction.py @@ -1,7 +1,7 @@ """ -=============================== -Introduction example for course -=============================== +========================================== +Introduction example for the TSTE87 course +========================================== """ from b_asic.core_operations import Addition, ConstantMultiplication from b_asic.signal_flow_graph import SFG diff --git a/requirements_doc.txt b/requirements_doc.txt index cdd50398..4474f492 100644 --- a/requirements_doc.txt +++ b/requirements_doc.txt @@ -3,6 +3,4 @@ furo numpydoc sphinx-gallery mplsignal -jupyter-sphinx -qtgallery sphinx-copybutton -- GitLab