From aff374128611b472253564062c964b4ff788c8bc Mon Sep 17 00:00:00 2001 From: Rambaud Pierrick <12rambau@users.noreply.github.com> Date: Fri, 29 Jul 2022 10:41:56 +0200 Subject: [PATCH 1/3] build: remove upper cap on sphinx --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index de98d00d..393a1f6f 100644 --- a/setup.py +++ b/setup.py @@ -84,7 +84,7 @@ def get_templates(): "nbmake ", ], "doc": [ - "sphinx>=4,<5", # Remove this when MyST-NB supports Sphinx 5 + "sphinx", "jupyter-sphinx", "pydata-sphinx-theme==0.9.0", "sphinx-notfound-page", From bf2f8e41fdf2077463ead64618bae9ff2e212615 Mon Sep 17 00:00:00 2001 From: Rambaud Pierrick <12rambau@users.noreply.github.com> Date: Mon, 1 Aug 2022 10:34:18 +0200 Subject: [PATCH 2/3] build: update docutils version --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 393a1f6f..9dd654f4 100644 --- a/setup.py +++ b/setup.py @@ -84,9 +84,10 @@ def get_templates(): "nbmake ", ], "doc": [ + "docutils<0.19", # remove once m2r2 0.3.3 is released "sphinx", "jupyter-sphinx", - "pydata-sphinx-theme==0.9.0", + "pydata-sphinx-theme", "sphinx-notfound-page", "Sphinx", "sphinxcontrib-spelling", From a173ca244916beea6fafbb1efd025dabc8b692d9 Mon Sep 17 00:00:00 2001 From: 12rambau Date: Mon, 1 Aug 2022 08:45:02 +0000 Subject: [PATCH 3/3] refactor: .. spelling:word-list:: --- CONTRIBUTING.rst | 2 +- docs/source/tutorials/add-tile.rst | 2 +- docs/source/tutorials/create_asset.rst | 2 +- docs/source/tutorials/send-to-sepal.rst | 2 +- docs/source/tutorials/structure.rst | 2 +- docs/source/tutorials/translate-app.rst | 2 +- docs/source/widgets/load_table.rst | 2 +- sepal_ui/sepalwidgets/__init__.py | 1 - setup.py | 2 +- 9 files changed, 8 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index ec52bed4..a0619e12 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -157,6 +157,6 @@ We are using :code:`api-doc` to build the documentation of the lib so if you wan You can then build the documentation, it will automatically call :code:`autodoc` and :code:`autosummary` during the process. -.. spelling:: +.. spelling:word-list:: pre diff --git a/docs/source/tutorials/add-tile.rst b/docs/source/tutorials/add-tile.rst index 9867b97e..f2c75b06 100644 --- a/docs/source/tutorials/add-tile.rst +++ b/docs/source/tutorials/add-tile.rst @@ -144,6 +144,6 @@ in the :code:`app_items` list, add a :code:`DrawerItem` corresponding to your ti start your voila dashboard "et voila!", you're tile will be loaded at the kernel start and display when you click on the corresponding drawer item. -.. spelling:: +.. spelling:word-list:: et diff --git a/docs/source/tutorials/create_asset.rst b/docs/source/tutorials/create_asset.rst index 95f4576f..7a4a7589 100644 --- a/docs/source/tutorials/create_asset.rst +++ b/docs/source/tutorials/create_asset.rst @@ -165,6 +165,6 @@ and the corresponding display: :alt: rgb display :align: center -.. spelling:: +.. spelling:word-list:: colormap diff --git a/docs/source/tutorials/send-to-sepal.rst b/docs/source/tutorials/send-to-sepal.rst index a5018a0e..4cb20268 100644 --- a/docs/source/tutorials/send-to-sepal.rst +++ b/docs/source/tutorials/send-to-sepal.rst @@ -159,6 +159,6 @@ Once your PR has been accepted you should change in the ui.ipynb the link to the wiki_link = 'https://docs.sepal.io/module/.html' issue_link = 'https://github.com///issues/new' -.. spelling:: +.. spelling:word-list:: env diff --git a/docs/source/tutorials/structure.rst b/docs/source/tutorials/structure.rst index 2e46b485..3bd5450d 100644 --- a/docs/source/tutorials/structure.rst +++ b/docs/source/tutorials/structure.rst @@ -154,6 +154,6 @@ Widget At some point you'll may encounter limitation in the basics `vuetify `_ components. every custom widget that you'll build need to live in this package. More information in this :doc:`./custom-widget`. -.. spelling:: +.. spelling:word-list:: utils diff --git a/docs/source/tutorials/translate-app.rst b/docs/source/tutorials/translate-app.rst index 940c4594..53de7aab 100644 --- a/docs/source/tutorials/translate-app.rst +++ b/docs/source/tutorials/translate-app.rst @@ -184,6 +184,6 @@ Open the :code:`component/message/test_translation.ipynb` notebook. change the : Once your output message is "All messages are translated" it means that all the dictionaries have the same keys and the same shape. if someone open your application in another language the translated message will be used instead of the English one. -.. spelling:: +.. spelling:word-list:: EspaƱol diff --git a/docs/source/widgets/load_table.rst b/docs/source/widgets/load_table.rst index 5ca51447..14241d96 100644 --- a/docs/source/widgets/load_table.rst +++ b/docs/source/widgets/load_table.rst @@ -47,7 +47,7 @@ the value can be retrieve from the :code:`v_model` trait. More information can be found `here <../modules/sepal_ui.sepalwidgets.html#sepal_ui.sepalwidgets.inputs.LoadTableField>`__. -.. spelling:: +.. spelling:word-list:: pathname lng \ No newline at end of file diff --git a/sepal_ui/sepalwidgets/__init__.py b/sepal_ui/sepalwidgets/__init__.py index e1aa1971..f443ed19 100644 --- a/sepal_ui/sepalwidgets/__init__.py +++ b/sepal_ui/sepalwidgets/__init__.py @@ -1,5 +1,4 @@ import ipyvuetify as v - from sepal_ui.sepalwidgets.sepalwidget import SepalWidget diff --git a/setup.py b/setup.py index 9dd654f4..f259be17 100644 --- a/setup.py +++ b/setup.py @@ -84,7 +84,7 @@ def get_templates(): "nbmake ", ], "doc": [ - "docutils<0.19", # remove once m2r2 0.3.3 is released + "docutils<0.19", # remove once m2r2 0.3.3 is released "sphinx", "jupyter-sphinx", "pydata-sphinx-theme",