From 7f208df9d7f57a59f59084256e57098c514cf032 Mon Sep 17 00:00:00 2001 From: Alec Delaney <89490472+tekktrik@users.noreply.github.com> Date: Tue, 23 May 2023 22:15:17 -0400 Subject: [PATCH 1/2] Update .pylintrc, fix jQuery for docs --- .pylintrc | 2 +- docs/conf.py | 7 ++++++- docs/requirements.txt | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 40208c3..f945e92 100644 --- a/.pylintrc +++ b/.pylintrc @@ -396,4 +396,4 @@ min-public-methods=1 # Exceptions that will emit a warning when being caught. Defaults to # "Exception" -overgeneral-exceptions=Exception +overgeneral-exceptions=builtins.Exception diff --git a/docs/conf.py b/docs/conf.py index 48a178d..bdf6b7d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -34,7 +34,12 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ["sphinx.ext.autodoc", "sphinx.ext.todo", "sphinx.ext.intersphinx"] +extensions = [ + "sphinx.ext.autodoc", + "sphinxcontrib.jquery", + "sphinx.ext.todo", + "sphinx.ext.intersphinx" +] # Uncomment the below if you use native CircuitPython modules such as # digitalio, micropython and busio. List the modules you use. Without it, the diff --git a/docs/requirements.txt b/docs/requirements.txt index 88e6733..797aa04 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,3 +3,4 @@ # SPDX-License-Identifier: Unlicense sphinx>=4.0.0 +sphinxcontrib-jquery From 693b708885c6801ed750fff09696c5d07602e96b Mon Sep 17 00:00:00 2001 From: Tekktrik Date: Wed, 24 May 2023 00:21:35 -0400 Subject: [PATCH 2/2] Reformatted per pre-commit --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index bdf6b7d..0b4bea6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,7 +38,7 @@ "sphinx.ext.autodoc", "sphinxcontrib.jquery", "sphinx.ext.todo", - "sphinx.ext.intersphinx" + "sphinx.ext.intersphinx", ] # Uncomment the below if you use native CircuitPython modules such as