diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd2abf1..39d6842 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - macos-latest - windows-latest python: - - '3.7' + - '3.8' - '3.11' steps: diff --git a/docs/conf.py b/docs/conf.py index 2a4e603..3b9a85b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,35 +35,9 @@ pygments_style = 'sphinx' todo_include_todos = False -html_theme = 'sphinx_rtd_theme' -html_theme_options = { - 'navigation_depth': -1, -} -html_sidebars = { - '**': [ - 'localtoc.html', - 'searchbox.html', - ] -} +html_theme = 'furo' htmlhelp_basename = 'PyJSON5doc' -latex_elements = {} -latex_documents = [ - (master_doc, 'PyJSON5.tex', u'PyJSON5 Documentation', - u'René Kijewski', 'manual'), -] - -man_pages = [ - (master_doc, 'pyjson5', u'PyJSON5 Documentation', - [author], 1) -] - -texinfo_documents = [ - (master_doc, 'PyJSON5', u'PyJSON5 Documentation', - author, 'PyJSON5', 'One line description of project.', - 'Miscellaneous'), -] - display_toc = True autodoc_default_flags = ['members'] autosummary_generate = True diff --git a/docs/decoder.rst b/docs/decoder.rst index 3f958e7..057791f 100644 --- a/docs/decoder.rst +++ b/docs/decoder.rst @@ -59,26 +59,26 @@ Decoder Exceptions pyjson5.Json5ExtraData pyjson5.Json5IllegalType -.. autoclass:: pyjson5.Json5DecoderException +.. autoexception:: pyjson5.Json5DecoderException :members: :inherited-members: -.. autoclass:: pyjson5.Json5NestingTooDeep +.. autoexception:: pyjson5.Json5NestingTooDeep :members: :inherited-members: -.. autoclass:: pyjson5.Json5EOF +.. autoexception:: pyjson5.Json5EOF :members: :inherited-members: -.. autoclass:: pyjson5.Json5IllegalCharacter +.. autoexception:: pyjson5.Json5IllegalCharacter :members: :inherited-members: -.. autoclass:: pyjson5.Json5ExtraData +.. autoexception:: pyjson5.Json5ExtraData :members: :inherited-members: -.. autoclass:: pyjson5.Json5IllegalType +.. autoexception:: pyjson5.Json5IllegalType :members: :inherited-members: diff --git a/docs/encoder.rst b/docs/encoder.rst index 4ca15a3..4b8f68b 100644 --- a/docs/encoder.rst +++ b/docs/encoder.rst @@ -64,10 +64,10 @@ Encoder Exceptions pyjson5.Json5EncoderException pyjson5.Json5UnstringifiableType -.. autoclass:: pyjson5.Json5EncoderException +.. autoexception:: pyjson5.Json5EncoderException :members: :inherited-members: -.. autoclass:: pyjson5.Json5UnstringifiableType +.. autoexception:: pyjson5.Json5UnstringifiableType :members: :inherited-members: diff --git a/docs/exceptions.rst b/docs/exceptions.rst index 21b9f34..ff50c4a 100644 --- a/docs/exceptions.rst +++ b/docs/exceptions.rst @@ -12,6 +12,6 @@ Exceptions pyjson5.Json5ExtraData pyjson5.Json5IllegalType -.. autoclass:: pyjson5.Json5Exception +.. autoexception:: pyjson5.Json5Exception :members: :inherited-members: diff --git a/requirements-dev.txt b/requirements-dev.txt index fa487b3..a49c84d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,14 +2,14 @@ black build colorama == 0.4.* cython == 0.* -more_itertools == 8.* +more_itertools == 9.* mypy setuptools wheel # keep synchronous to requirements-readthecocs.txt -docutils == 0.17.* -myst-parser == 0.18.* -sphinx == 5.* +docutils == 0.19.* +furo +myst-parser == 2.* +sphinx == 7.* sphinx_autodoc_typehints == 1.* -sphinx_rtd_theme == 1.* diff --git a/requirements-readthedocs.txt b/requirements-readthedocs.txt index 8bb841a..c1637c1 100644 --- a/requirements-readthedocs.txt +++ b/requirements-readthedocs.txt @@ -3,8 +3,8 @@ pyjson5 == 1.6.3 # keep synchronous to requirements-dev.txt -docutils == 0.17.* -myst-parser == 0.18.* -sphinx == 5.* +docutils == 0.19.* +furo +myst-parser == 2.* +sphinx == 7.* sphinx_autodoc_typehints == 1.* -sphinx_rtd_theme == 1.* diff --git a/third-party/fast_double_parser b/third-party/fast_double_parser index 07d9189..50a2ccb 160000 --- a/third-party/fast_double_parser +++ b/third-party/fast_double_parser @@ -1 +1 @@ -Subproject commit 07d9189a8fb815fe800cb15ca022e7a07093236e +Subproject commit 50a2ccb5535179781a15d20ba2909c812f329cc5