diff --git a/Pipfile b/Pipfile index 21cd288fb877698221302519bf592502a4247319..40df9ad3d62cab931a09a5569f3d62d963f1a652 100644 --- a/Pipfile +++ b/Pipfile @@ -6,6 +6,7 @@ name = "pypi" [packages] sphinx-rtd-theme = "*" sphinx = "*" +sphinx-rtd-size = "*" [dev-packages] commitizen = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 9c4497d74d15113c8aba403faa09debfbee58fa8..7676b241c54fe717ebea5a8b0ff5177511c5db86 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,6 +1,7 @@ -{ "_meta": { +{ + "_meta": { "hash": { - "sha256": "97cfbbc6f54a64a57f10f1b46f188f74bff43a0a22e9d4e5d4c31ccae8f3caa5" + "sha256": "1130fd25ef8b5b0695ee8d0f63593ad23bea1f525c13abdf375615c7c9d603c7" }, "pipfile-spec": 6, "requires": { @@ -160,7 +161,7 @@ "sha256:7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983", "sha256:8fefa2a1a1365bf5520aac41836fbee479da67864514bdb821f31ce07ce65349" ], - "markers": "python_version >= '3.7' and python_version < '4'", + "markers": "python_version >= '3.7' and python_version < '4.0'", "version": "==2.28.1" }, "snowballstemmer": { @@ -178,6 +179,14 @@ "index": "pypi", "version": "==5.1.1" }, + "sphinx-rtd-size": { + "hashes": [ + "sha256:00168969c870923dca449c3264741a0b77607e3419b9af1faafcf008dab9a730", + "sha256:fb1c78fbab1880ae6c2092359aa7401b61716dcb97c8694b7b990f69a98dac62" + ], + "index": "pypi", + "version": "==0.2.0" + }, "sphinx-rtd-theme": { "hashes": [ "sha256:4d35a56f4508cfee4c4fb604373ede6feae2a306731d533f409ef5c3496fdbd8", @@ -239,7 +248,7 @@ "sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e", "sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4.0'", "version": "==1.26.12" } }, @@ -288,7 +297,7 @@ "sha256:d3207bc02d0169bf6ed74ccca09ce62edca0eb25b0ebf8bf4ae3fb8333e15ca0", "sha256:f2cde55034a75c819c630c7655a844c612f2598c42c21299160465df6ad463ad" ], - "markers": "python_full_version >= '3.6.0'", + "markers": "python_version >= '3.6'", "version": "==0.5.2" }, "distlib": { @@ -452,7 +461,7 @@ "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174", "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5" ], - "markers": "python_full_version >= '3.6.0'", + "markers": "python_version >= '3.6'", "version": "==6.0" }, "questionary": { @@ -460,7 +469,7 @@ "sha256:600d3aefecce26d48d97eee936fdb66e4bc27f934c3ab6dd1e292c4f43946d90", "sha256:fecfcc8cca110fda9d561cb83f1e97ecbb93c613ff857f655818839dac74ce90" ], - "markers": "python_full_version >= '3.6.0' and python_full_version < '4.0.0'", + "markers": "python_version >= '3.6' and python_full_version < '4.0.0'", "version": "==1.10.0" }, "setuptools": { @@ -490,7 +499,7 @@ "sha256:25d4e2e446c453be6360c67ddfb88838cfc42026322770ba13d1fbd403a93a5c", "sha256:3235a9010fae54323e727c3ac06fb720752fe6635b3426e379daec60fbd44a83" ], - "markers": "python_full_version >= '3.6.0' and python_full_version < '4.0.0'", + "markers": "python_version >= '3.6' and python_full_version < '4.0.0'", "version": "==0.11.4" }, "typing-extensions": { @@ -506,7 +515,7 @@ "sha256:4193b7bc8a6cd23e4eb251ac64f29b4398ab2c233531e66e40b19a6b7b0d30c1", "sha256:d86ea0bb50e06252d79e6c241507cb904fcd66090c3271381372d6221a3970f9" ], - "markers": "python_full_version >= '3.6.0'", + "markers": "python_version >= '3.6'", "version": "==20.16.3" }, "wcwidth": { diff --git a/requirements.txt b/requirements.txt index 1964518184b225219b3afb279813856ca6d58367..268ef6b00b02ed7397290cbc08adef44a7416f68 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,8 +19,9 @@ packaging==21.3; python_version >= '3.6' pygments==2.13.0; python_version >= '3.6' pyparsing==3.0.9; python_full_version >= '3.6.8' pytz==2022.2.1 -requests==2.28.1; python_version >= '3.7' and python_version < '4' +requests==2.28.1; python_version >= '3.7' and python_version < '4.0' snowballstemmer==2.2.0 +sphinx-rtd-size==0.2.0 sphinx-rtd-theme==1.0.0 sphinx==5.1.1 sphinxcontrib-applehelp==1.0.2; python_version >= '3.5' @@ -29,4 +30,4 @@ sphinxcontrib-htmlhelp==2.0.0; python_version >= '3.6' sphinxcontrib-jsmath==1.0.1; python_version >= '3.5' sphinxcontrib-qthelp==1.0.3; python_version >= '3.5' sphinxcontrib-serializinghtml==1.1.5; python_version >= '3.5' -urllib3==1.26.12; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4' +urllib3==1.26.12; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4.0' diff --git a/source/conf.py b/source/conf.py index 29301ed4dcfd0cd96a20a5d675982122b343c535..9f41ea72fd2dd399c601ab0d066d4e674ec504e8 100644 --- a/source/conf.py +++ b/source/conf.py @@ -21,6 +21,7 @@ extensions = [ "sphinx.ext.doctest", "sphinx.ext.autodoc", "sphinx.ext.autosummary", + "sphinx_rtd_size", "sphinx.ext.intersphinx", ] intersphinx_mapping = { @@ -28,6 +29,7 @@ intersphinx_mapping = { "sphinx": ("https://www.sphinx-doc.org/en/master/", None), } intersphinx_disabled_domains = ["std"] +sphinx_rtd_size_width = "90%" templates_path = ["_templates"]