mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2026-10-16 11:22:01 -05:00
Compare commits
31
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0c87a6e7e | ||
|
|
c104410760 | ||
|
|
53ca116ef6 | ||
|
|
4498e97b46 | ||
|
|
84aea9b0ba | ||
|
|
febde39c7c | ||
|
|
32310a8190 | ||
|
|
8ce23cec96 | ||
|
|
46f5307dbd | ||
|
|
5838e6aa54 | ||
|
|
d34b71bb09 | ||
|
|
4874e9428d | ||
|
|
41aca736bc | ||
|
|
ffdabadaa4 | ||
|
|
c190c0064b | ||
|
|
923f9874a9 | ||
|
|
52e0cad4c2 | ||
|
|
6cf2ae7951 | ||
|
|
0e7b28ad4a | ||
|
|
15ed4de08d | ||
|
|
b5833585b2 | ||
|
|
775bca403c | ||
|
|
04f85fc422 | ||
|
|
9899ee4ee2 | ||
|
|
2442ab9ffd | ||
|
|
cd6b429f87 | ||
|
|
2107797b00 | ||
|
|
1dcad7c077 | ||
|
|
ba046c0dad | ||
|
|
edf3b18408 | ||
|
|
78440cf9c3 |
No files matched your search
+12
-16
@@ -11,10 +11,14 @@ commands:
|
|||||||
type: string
|
type: string
|
||||||
sphinx-version:
|
sphinx-version:
|
||||||
type: string
|
type: string
|
||||||
default: "17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,42,43,44,45,50,51,52,latest"
|
default: "latest"
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: pip install --user tox~=3.27
|
# We cannot upgrade to Tox4 because running generative environments doesn't work.
|
||||||
|
# I guess it has changed its syntax or similar.
|
||||||
|
# $ tox run -e "py310-sphinx{50,51}"
|
||||||
|
# ROOT: HandledError| provided environments not found in configuration file: ['51}']
|
||||||
|
- run: pip install --user 'tox~=3.27'
|
||||||
- run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}"
|
- run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}"
|
||||||
run-build:
|
run-build:
|
||||||
description: "Ensure built assets are up to date"
|
description: "Ensure built assets are up to date"
|
||||||
@@ -40,53 +44,48 @@ jobs:
|
|||||||
- image: 'cimg/python:3.9-node'
|
- image: 'cimg/python:3.9-node'
|
||||||
steps:
|
steps:
|
||||||
- run-build: {}
|
- run-build: {}
|
||||||
py27:
|
|
||||||
docker:
|
|
||||||
- image: 'cimg/python:2.7'
|
|
||||||
steps:
|
|
||||||
- run-tox:
|
|
||||||
version: py27
|
|
||||||
sphinx-version: "17,18"
|
|
||||||
py36:
|
py36:
|
||||||
docker:
|
docker:
|
||||||
- image: 'cimg/python:3.6'
|
- image: 'cimg/python:3.6'
|
||||||
steps:
|
steps:
|
||||||
- run-tox:
|
- run-tox:
|
||||||
version: py36
|
version: py36
|
||||||
|
sphinx-version: "50,51,52,53"
|
||||||
py37:
|
py37:
|
||||||
docker:
|
docker:
|
||||||
- image: 'cimg/python:3.7'
|
- image: 'cimg/python:3.7'
|
||||||
steps:
|
steps:
|
||||||
- run-tox:
|
- run-tox:
|
||||||
version: py37
|
version: py37
|
||||||
|
sphinx-version: "50,51,52,53"
|
||||||
py38:
|
py38:
|
||||||
docker:
|
docker:
|
||||||
- image: 'cimg/python:3.8'
|
- image: 'cimg/python:3.8'
|
||||||
steps:
|
steps:
|
||||||
- run-tox:
|
- run-tox:
|
||||||
version: py38
|
version: py38
|
||||||
sphinx-version: "17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,42,43,44,45,50,51,52,60,latest"
|
sphinx-version: "50,51,52,53,60,61,62,70,71,latest"
|
||||||
py39:
|
py39:
|
||||||
docker:
|
docker:
|
||||||
- image: 'cimg/python:3.9'
|
- image: 'cimg/python:3.9'
|
||||||
steps:
|
steps:
|
||||||
- run-tox:
|
- run-tox:
|
||||||
version: py39
|
version: py39
|
||||||
sphinx-version: "17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,42,43,44,45,50,51,52,60,latest"
|
sphinx-version: "50,51,52,53,60,61,62,70,71,72,latest"
|
||||||
py310:
|
py310:
|
||||||
docker:
|
docker:
|
||||||
- image: 'cimg/python:3.10'
|
- image: 'cimg/python:3.10'
|
||||||
steps:
|
steps:
|
||||||
- run-tox:
|
- run-tox:
|
||||||
version: py310
|
version: py310
|
||||||
sphinx-version: "42,43,44,45,50,51,52,53,60,latest"
|
sphinx-version: "50,51,52,53,60,61,62,70,71,72,latest"
|
||||||
py311:
|
py311:
|
||||||
docker:
|
docker:
|
||||||
- image: 'cimg/python:3.11'
|
- image: 'cimg/python:3.11'
|
||||||
steps:
|
steps:
|
||||||
- run-tox:
|
- run-tox:
|
||||||
version: py311
|
version: py311
|
||||||
sphinx-version: "53,60,latest"
|
sphinx-version: "53,60,61,62,70,71,72,latest,dev"
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
@@ -111,6 +110,3 @@ workflows:
|
|||||||
- py36:
|
- py36:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
- py27:
|
|
||||||
requires:
|
|
||||||
- build
|
|
||||||
+5
-1
@@ -1,7 +1,11 @@
|
|||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
|
build:
|
||||||
|
os: "ubuntu-22.04"
|
||||||
|
tools:
|
||||||
|
python: "3.10"
|
||||||
|
|
||||||
python:
|
python:
|
||||||
version: 3.8
|
|
||||||
install:
|
install:
|
||||||
- requirements: docs/requirements.txt
|
- requirements: docs/requirements.txt
|
||||||
- method: pip
|
- method: pip
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ docker-images:
|
|||||||
docker-npm-build:
|
docker-npm-build:
|
||||||
rm -f .container_id
|
rm -f .container_id
|
||||||
docker-compose run -d sphinx_rtd_theme build > .container_id
|
docker-compose run -d sphinx_rtd_theme build > .container_id
|
||||||
|
sleep 1s
|
||||||
docker container wait "$(shell cat .container_id)"
|
docker container wait "$(shell cat .container_id)"
|
||||||
docker cp "$(shell cat .container_id):/project/sphinx_rtd_theme" .
|
docker cp "$(shell cat .container_id):/project/sphinx_rtd_theme" .
|
||||||
docker cp "$(shell cat .container_id):/project/package-lock.json" .
|
docker cp "$(shell cat .container_id):/project/package-lock.json" .
|
||||||
@@ -14,5 +15,5 @@ docker-npm-build:
|
|||||||
|
|
||||||
docker-npm-dev:
|
docker-npm-dev:
|
||||||
docker-compose run sphinx_rtd_theme dev
|
docker-compose run sphinx_rtd_theme dev
|
||||||
|
|
||||||
docker-build-all: docker-images docker-npm-build
|
docker-build-all: docker-images docker-npm-build
|
||||||
+49
-4
@@ -4,12 +4,57 @@ Changelog
|
|||||||
|
|
||||||
.. seealso:: :ref:`howto_upgrade`
|
.. seealso:: :ref:`howto_upgrade`
|
||||||
|
|
||||||
|
.. |theme_version| replace:: 2.0.0rc5
|
||||||
|
|
||||||
|
.. _release-2.0.0:
|
||||||
|
|
||||||
|
2.0.0rc4
|
||||||
|
========
|
||||||
|
|
||||||
|
Added
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Support for docutils ``<=0.20``
|
||||||
|
|
||||||
|
Deprecations
|
||||||
|
------------
|
||||||
|
|
||||||
|
* The HTML4 writer is now officially deprecated. An error will be thrown if your
|
||||||
|
project configuration still uses the HTML4 writer.
|
||||||
|
* Support for Sphinx versions < 5.0 was removed.
|
||||||
|
* In addition, our supported dependencies will match the dependencies from our
|
||||||
|
lowest supported Sphinx release, version 5.0: Python >= 3.6 and docutils > 0.14 and < 0.19
|
||||||
|
|
||||||
|
.. _release-1.3.0:
|
||||||
|
|
||||||
|
1.3.0
|
||||||
|
=====
|
||||||
|
|
||||||
|
Added
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Relaxed requirements to include Sphinx release ``7.0``
|
||||||
|
|
||||||
|
.. _release-1.2.2:
|
||||||
|
|
||||||
|
1.2.2
|
||||||
|
=====
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Require `sphinxcontrib-jquery>=4,<5` (#1446)
|
||||||
|
|
||||||
|
Added
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Styling for `:menuselection:` (#1426)
|
||||||
|
|
||||||
|
|
||||||
.. _release-1.2.1:
|
.. _release-1.2.1:
|
||||||
|
|
||||||
|theme_version|
|
1.2.1
|
||||||
===============
|
=====
|
||||||
|
|
||||||
.. |theme_version| replace:: 1.2.1
|
|
||||||
|
|
||||||
Fixes
|
Fixes
|
||||||
-----
|
-----
|
||||||
|
|||||||
+25
-30
@@ -103,20 +103,18 @@ compatibility.
|
|||||||
|
|
||||||
The following cases need to be tested with changes to CSS or JavaScript:
|
The following cases need to be tested with changes to CSS or JavaScript:
|
||||||
|
|
||||||
* Multiple, modern browsers should be tested. We officially support back
|
* Multiple, modern browsers should be tested.
|
||||||
to IE11 at the moment
|
* Multiple viewport sizes should be tested for changes.
|
||||||
* Multiple viewport sizes should be tested for changes. We support large,
|
We support large, tablet, and mobile viewport sizes
|
||||||
tablet, and mobile viewport sizes
|
* We currently support only HTML5 writer.
|
||||||
* We currently support both the Sphinx HTML4 writer and HTML5 writer. This makes
|
* Multiple major versions of Sphinx should be tested.
|
||||||
for some complex CSS selectors
|
We currently support Sphinx ``>=5.0``
|
||||||
* Multiple major versions of Sphinx should be tested. We currently support back
|
|
||||||
to Sphinx version ``1.6``
|
|
||||||
|
|
||||||
It's easiest to test combinations of dependency versions using ``tox``:
|
It's easiest to test combinations of dependency versions using ``tox``:
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
% tox -e py3-sphinx34-html4
|
% tox -e py310-sphinx62
|
||||||
|
|
||||||
If the tests and build are successful, you can view the built documentation at
|
If the tests and build are successful, you can view the built documentation at
|
||||||
the directory noted by Sphinx:
|
the directory noted by Sphinx:
|
||||||
@@ -125,9 +123,9 @@ the directory noted by Sphinx:
|
|||||||
|
|
||||||
build succeeded, 10 warnings.
|
build succeeded, 10 warnings.
|
||||||
|
|
||||||
The HTML pages are in .tox/py3-sphinx34-html4/tmp/html.
|
The HTML pages are in .tox/py310-sphinx62/tmp/html.
|
||||||
___________________________ summary ___________________________
|
___________________________ summary ___________________________
|
||||||
py3-sphinx34-html4: commands succeeded
|
py310-sphinx62: commands succeeded
|
||||||
congratulations :)
|
congratulations :)
|
||||||
|
|
||||||
You can then open up this path with a series of browsers to test.
|
You can then open up this path with a series of browsers to test.
|
||||||
@@ -137,12 +135,12 @@ multiple ``tox`` environments, and open both up for comparison:
|
|||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
% tox -e py3-sphinx34-html4
|
% tox -e py310-sphinx62
|
||||||
...
|
...
|
||||||
% tox -e py3-sphinx34-html5
|
% tox -e py310-sphinx53
|
||||||
...
|
...
|
||||||
% firefox .tox/py3-sphinx34-html4/tmp/html/index.html
|
% firefox .tox/py310-sphinx62/tmp/html/index.html
|
||||||
% firefox .tox/py3-sphinx34-html5/tmp/html/index.html
|
% firefox .tox/py310-sphinx53/tmp/html/index.html
|
||||||
|
|
||||||
You can also use a separate ``tox`` environment for building output to compare
|
You can also use a separate ``tox`` environment for building output to compare
|
||||||
against. All of the ``tox`` environments have an additional postfix, ``-qa``, to
|
against. All of the ``tox`` environments have an additional postfix, ``-qa``, to
|
||||||
@@ -155,28 +153,25 @@ For example, to test against the tag ``0.5.2``:
|
|||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
% git checkout 0.5.2
|
% git checkout 0.5.2
|
||||||
% tox -e py3-sphinx34-html4-qa
|
% tox -e py310-sphinx53-qa
|
||||||
...
|
...
|
||||||
% git checkout feature/example-pull-request
|
% git checkout feature/example-pull-request
|
||||||
% tox -e py3-sphinx34-html4
|
% tox -e py310-sphinx53
|
||||||
...
|
...
|
||||||
% firefox .tox/py3-sphinx34-html4-qa/tmp/html/index.html
|
% firefox .tox/py310-sphinx53-qa/tmp/html/index.html
|
||||||
% firefox .tox/py3-sphinx34-html4/tmp/html/index.html
|
% firefox .tox/py310-sphinx53/tmp/html/index.html
|
||||||
|
|
||||||
Currently, the most important environments to QA are:
|
Currently, the most important environments to QA are:
|
||||||
|
|
||||||
.. This list is purposely shorter than what we describe above. If we test all of
|
.. This list is purposely shorter than what we describe above. If we test all of
|
||||||
the cases above, we'll be here all day. Python 3, HTML4/5 writer, and latest
|
the cases above, we'll be here all day. Python 3, and latest
|
||||||
minor of each major Sphinx release should give us enough work.
|
minor of each major Sphinx release should give us enough work.
|
||||||
|
|
||||||
* ``py3-sphinx18-html4``
|
* ``py310-sphinx53``
|
||||||
* ``py3-sphinx18-html5``
|
* ``py310-sphinx62``
|
||||||
* ``py3-sphinx24-html4``
|
* ``py310-sphinx72``
|
||||||
* ``py3-sphinx24-html5``
|
* ``py310-sphinxlatest``
|
||||||
* ``py3-sphinx35-html4``
|
* ``py310-sphinxdev``
|
||||||
* ``py3-sphinx35-html5``
|
|
||||||
* ``py3-sphinx41-html4``
|
|
||||||
* ``py3-sphinx41-html5``
|
|
||||||
|
|
||||||
Translations
|
Translations
|
||||||
============
|
============
|
||||||
@@ -251,8 +246,8 @@ To release a new version of the theme, core team will take the following steps:
|
|||||||
need to commit it to git and tag it together with your release.
|
need to commit it to git and tag it together with your release.
|
||||||
#. Commit these changes to a pull request.
|
#. Commit these changes to a pull request.
|
||||||
#. Merge the pull request after review.
|
#. Merge the pull request after review.
|
||||||
#. Check out ``master`` branch locally for tagging
|
#. Check out ``master`` branch locally for tagging. **Remember to pull from remote**.
|
||||||
#. Tag the release in git: ``git tag $NEW_VERSION``.
|
#. Tag the release in git: ``git tag -s $NEW_VERSION``.
|
||||||
#. Push the tag to GitHub: ``git push --tags origin``.
|
#. Push the tag to GitHub: ``git push --tags origin``.
|
||||||
#. Upload the package to PyPI:
|
#. Upload the package to PyPI:
|
||||||
|
|
||||||
|
|||||||
+8
-26
@@ -7,19 +7,11 @@ API documentation and generated content
|
|||||||
:mod:`test_py_module`
|
:mod:`test_py_module`
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
.. only:: python3
|
.. automodule:: test_py_module.test
|
||||||
|
:members:
|
||||||
|
:private-members:
|
||||||
|
:special-members:
|
||||||
|
|
||||||
.. automodule:: test_py_module.test
|
|
||||||
:members:
|
|
||||||
:private-members:
|
|
||||||
:special-members:
|
|
||||||
|
|
||||||
.. only:: python2
|
|
||||||
|
|
||||||
.. automodule:: test_py_module.test_py27
|
|
||||||
:members:
|
|
||||||
:private-members:
|
|
||||||
:special-members:
|
|
||||||
|
|
||||||
C++ API
|
C++ API
|
||||||
=======
|
=======
|
||||||
@@ -153,18 +145,8 @@ Sphinx Extensions
|
|||||||
sphinx.ext.autosummary
|
sphinx.ext.autosummary
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
.. only:: python3
|
.. autosummary::
|
||||||
|
|
||||||
.. autosummary::
|
test_py_module.test.add_numbers
|
||||||
|
test_py_module.test.subtract_numbers
|
||||||
test_py_module.test.add_numbers
|
test_py_module.test.Foo
|
||||||
test_py_module.test.subtract_numbers
|
|
||||||
test_py_module.test.Foo
|
|
||||||
|
|
||||||
.. only:: python2
|
|
||||||
|
|
||||||
.. autosummary::
|
|
||||||
|
|
||||||
test_py_module.test_py27.add_numbers
|
|
||||||
test_py_module.test_py27.subtract_numbers
|
|
||||||
test_py_module.test_py27.Foo
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
"""
|
|
||||||
This module will overwrite test.py for Python 2.7 builds.
|
|
||||||
Type signatures cause autodoc to break in Python 2.7 documentation builds, so they are removed here.
|
|
||||||
|
|
||||||
Test Module for sphinx_rtd_theme."""
|
|
||||||
|
|
||||||
|
|
||||||
class Foo:
|
|
||||||
|
|
||||||
"""Docstring for class Foo.
|
|
||||||
|
|
||||||
This text tests for the formatting of docstrings generated from output
|
|
||||||
``sphinx.ext.autodoc``. Which contain reST, but sphinx nests it in the
|
|
||||||
``<dl>``, and ``<dt>`` tags. Also, ``<tt>`` is used for class, method names
|
|
||||||
and etc, but those will *always* have the ``.descname`` or
|
|
||||||
``.descclassname`` class.
|
|
||||||
|
|
||||||
Term
|
|
||||||
It is also possible to include definitions inside docstrings.
|
|
||||||
They should be styled as a normal definition list.
|
|
||||||
|
|
||||||
:Field List:
|
|
||||||
It is also possible to include definitions inside docstrings.
|
|
||||||
They should be styled as a normal definition list.
|
|
||||||
|
|
||||||
.. [1] A footnote contains body elements, consistently indented by at
|
|
||||||
least 3 spaces.
|
|
||||||
|
|
||||||
.. [Citation] A citation contains body elements, consistently indented by at
|
|
||||||
least 3 spaces.
|
|
||||||
|
|
||||||
Normal ``<tt>`` (like the <tt> I just wrote here) needs to be shown with
|
|
||||||
the same style as anything else with ````this type of markup````.
|
|
||||||
|
|
||||||
It's common for programmers to give a code example inside of their
|
|
||||||
docstring::
|
|
||||||
|
|
||||||
from test_py_module import Foo
|
|
||||||
|
|
||||||
myclass = Foo()
|
|
||||||
myclass.dothismethod('with this argument')
|
|
||||||
myclass.flush()
|
|
||||||
|
|
||||||
print(myclass)
|
|
||||||
|
|
||||||
|
|
||||||
Here is a link to :py:meth:`capitalize`.
|
|
||||||
Here is a link to :py:meth:`__init__`.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
#: Doc comment for class attribute Foo.bar.
|
|
||||||
#: It can have multiple lines.
|
|
||||||
bar = 1
|
|
||||||
|
|
||||||
flox = 1.5 #: Doc comment for Foo.flox. One line only.
|
|
||||||
|
|
||||||
baz = 2
|
|
||||||
"""Docstring for class attribute Foo.baz."""
|
|
||||||
|
|
||||||
def __init__(self, qux, spam=False):
|
|
||||||
"""Start the Foo.
|
|
||||||
|
|
||||||
:param qux: The first argument to initialize class.
|
|
||||||
:type qux: string
|
|
||||||
:param spam: Spam me yes or no...
|
|
||||||
:type spam: bool
|
|
||||||
|
|
||||||
"""
|
|
||||||
#: Doc comment for instance attribute qux.
|
|
||||||
self.qux = 3
|
|
||||||
|
|
||||||
self.spam = 4
|
|
||||||
"""Docstring for instance attribute spam."""
|
|
||||||
|
|
||||||
def add(self, val1, val2):
|
|
||||||
"""Return the added values.
|
|
||||||
|
|
||||||
:param val1: First number to add.
|
|
||||||
:type val1: int
|
|
||||||
:param val2: Second number to add.
|
|
||||||
:type val2: int
|
|
||||||
:rtype: int
|
|
||||||
|
|
||||||
The parameters of this method are described in the parameter list.
|
|
||||||
"""
|
|
||||||
|
|
||||||
return val1 + val2
|
|
||||||
|
|
||||||
def capitalize(self, myvalue):
|
|
||||||
"""Return a string as uppercase.
|
|
||||||
|
|
||||||
:param myvalue: String to change
|
|
||||||
:type myvalue: string
|
|
||||||
:rtype: string
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
return myvalue.upper()
|
|
||||||
|
|
||||||
def another_function(self, a, b, **kwargs):
|
|
||||||
"""
|
|
||||||
Here is another function.
|
|
||||||
|
|
||||||
:param a: The number of green hats you own.
|
|
||||||
:type a: int
|
|
||||||
|
|
||||||
:param b: The number of non-green hats you own.
|
|
||||||
:type b: int
|
|
||||||
|
|
||||||
:param kwargs: Additional keyword arguments. Each keyword parameter
|
|
||||||
should specify the name of your favorite cuisine.
|
|
||||||
The values should be floats, specifying the mean price
|
|
||||||
of your favorite dish in that cooking style.
|
|
||||||
:type kwargs: float
|
|
||||||
|
|
||||||
:returns: A 2-tuple. The first element is the mean price of all dishes
|
|
||||||
across cuisines. The second element is the total number of
|
|
||||||
hats you own: :math:`a + b`.
|
|
||||||
:rtype: tuple
|
|
||||||
|
|
||||||
:raises ValueError: When ``a`` is not an integer.
|
|
||||||
|
|
||||||
.. versionadded:: 1.0
|
|
||||||
This was added in 1.0
|
|
||||||
.. versionchanged:: 2.0
|
|
||||||
This was changed in 2.0
|
|
||||||
.. deprecated:: 3.0
|
|
||||||
This is deprecated since 3.0
|
|
||||||
"""
|
|
||||||
return sum(kwargs.values()) / len(kwargs), a + b
|
|
||||||
|
|
||||||
|
|
||||||
def add_numbers(a, b):
|
|
||||||
"""Add two numbers together
|
|
||||||
|
|
||||||
:param a: The first number
|
|
||||||
:param b: The second number
|
|
||||||
|
|
||||||
Here is some more text.
|
|
||||||
"""
|
|
||||||
return a + b
|
|
||||||
|
|
||||||
|
|
||||||
def subtract_numbers(a, b):
|
|
||||||
"""Subtract two numbers
|
|
||||||
|
|
||||||
:param a: The first number
|
|
||||||
:param b: The second number
|
|
||||||
"""
|
|
||||||
return a - b
|
|
||||||
+42
-13
@@ -42,7 +42,7 @@ Internet Explorer (any OS, versions <=10)
|
|||||||
|
|
||||||
Internet Explorer (any OS, version 11)
|
Internet Explorer (any OS, version 11)
|
||||||
We currently only partially support IE11, and only test for major bugs.
|
We currently only partially support IE11, and only test for major bugs.
|
||||||
Support will be removed in the :ref:`roadmap-release-2.0.0` release.
|
Support will be removed in the :ref:`roadmap-release-3.0.0` release.
|
||||||
|
|
||||||
Opera (any OS, any version)
|
Opera (any OS, any version)
|
||||||
**Community support only.** We do not receive enough traffic with this
|
**Community support only.** We do not receive enough traffic with this
|
||||||
@@ -62,11 +62,20 @@ The theme officially supports the following dependencies in your Sphinx project:
|
|||||||
* - Dependency
|
* - Dependency
|
||||||
- Versions
|
- Versions
|
||||||
* - Python
|
* - Python
|
||||||
- 2.7 or 3.6 or greater
|
- 3.6 or greater
|
||||||
* - Sphinx
|
* - Sphinx
|
||||||
- 1.7 up to at least 4.1
|
- 5 or greater
|
||||||
* - docutils
|
* - docutils
|
||||||
- Up to 0.17
|
- >= 0.14, < 0.19
|
||||||
|
|
||||||
|
.. deprecated:: 2.0
|
||||||
|
Sphinx < 5 support removed
|
||||||
|
|
||||||
|
.. deprecated:: 2.0
|
||||||
|
Python < 3.6 support removed
|
||||||
|
|
||||||
|
.. deprecated:: 2.0
|
||||||
|
docutils < 0.14 support removed
|
||||||
|
|
||||||
.. versionadded:: 1.0
|
.. versionadded:: 1.0
|
||||||
Sphinx 4.0 support added
|
Sphinx 4.0 support added
|
||||||
@@ -143,15 +152,14 @@ like Sphinx 1.8, HTML4, or required support for IE11.
|
|||||||
2.0.0
|
2.0.0
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
:Planned release date: 2022 Q1
|
:Planned release date: 2023 Q3
|
||||||
|
|
||||||
This release will mark the beginning of a new round of feature development, as
|
This release will drop support for old Python and Sphinx versions.
|
||||||
well as a number of backward incompatible changes and deprecations.
|
|
||||||
|
|
||||||
Of note, the following backwards incompatible changes are planned for this
|
Note the following backwards incompatible changes are planned for this
|
||||||
release:
|
release:
|
||||||
|
|
||||||
Sphinx 1.x, Sphinx 2.x, and Docutils 0.16 will not be tested
|
Python < 3.6, Sphinx < 5 and Docutils < 0.14 will not be tested
|
||||||
Official support will drop for these version, though they may still continue
|
Official support will drop for these version, though they may still continue
|
||||||
to work. Theme developers will not be testing these versions any longer.
|
to work. Theme developers will not be testing these versions any longer.
|
||||||
|
|
||||||
@@ -160,7 +168,7 @@ HTML4 support will be removed
|
|||||||
and builds attempting to use the HTML4 writer will fail. If you are still
|
and builds attempting to use the HTML4 writer will fail. If you are still
|
||||||
using the HTML4 writer, or have the ``html4_writer = True`` option in your
|
using the HTML4 writer, or have the ``html4_writer = True`` option in your
|
||||||
Sphinx configuration file, you will need to either remove this option or pin
|
Sphinx configuration file, you will need to either remove this option or pin
|
||||||
your dependency to ``sphinx_rtd_theme<=2.0.0`` until you can.
|
your dependency to ``sphinx_rtd_theme<=3`` until you can.
|
||||||
|
|
||||||
This option was suggested in the past to work around issues with HTML5
|
This option was suggested in the past to work around issues with HTML5
|
||||||
support and should no longer be required to use a modern combination of this
|
support and should no longer be required to use a modern combination of this
|
||||||
@@ -171,10 +179,31 @@ HTML4 support will be removed
|
|||||||
3.0.0
|
3.0.0
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
This release is not yet planned, however there are plans to potentially replace
|
:Planned release date: 2024 Q1
|
||||||
Wyrm with Bootstrap in a release after 2.0.
|
|
||||||
|
This release is not yet fully planned.
|
||||||
|
However, we already know that we will be dropping support for older version of different dependencies and browsers.
|
||||||
|
|
||||||
|
Sphinx 5, Python < 3.8 and docutils < 0.18 support will be removed
|
||||||
|
Sphinx 5 is the latest version that supports Python 3.6 and 3.7,
|
||||||
|
and docutils < 0.18.
|
||||||
|
|
||||||
|
Internet Explorer 11 support will be dropped
|
||||||
|
`IE11 reached end of life on 14 June 20222 <https://endoflife.date/internet-explorer>`_,
|
||||||
|
so we are not supporting it on newer versions,
|
||||||
|
starting on 3.0.0.
|
||||||
|
|
||||||
|
.. _roadmap-release-4.0.0:
|
||||||
|
|
||||||
|
4.0.0
|
||||||
|
~~~~~
|
||||||
|
|
||||||
|
:Planned release date: 2024 Q2
|
||||||
|
|
||||||
|
This release is not yet planned.
|
||||||
|
There are plans to potentially replace Wyrm with Bootstrap in a release after 3.0.
|
||||||
|
|
||||||
Also tentatively planned for this release is finally removing built CSS and
|
Also tentatively planned for this release is finally removing built CSS and
|
||||||
JavaScript assets from our repository. This will remove the ability to install
|
JavaScript assets from our repository. This will remove the ability to install
|
||||||
the package directly from GitHub, and instead users will be advised to install
|
the package directly from GitHub, and instead users will be advised to install
|
||||||
development releases from PyPI
|
development releases from PyPI.
|
||||||
@@ -58,21 +58,3 @@ Otherwise, pip will ignore pre-releases. Add for instance ``sphinx-rtd-theme==1.
|
|||||||
|
|
||||||
More information is available in Read the Docs' documentation on :doc:`rtd:guides/reproducible-builds`.
|
More information is available in Read the Docs' documentation on :doc:`rtd:guides/reproducible-builds`.
|
||||||
|
|
||||||
|
|
||||||
Via Git or Download
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
.. warning::
|
|
||||||
|
|
||||||
Installing directly from the repository source is deprecated and is not
|
|
||||||
recommended. Static assets won't be included in the repository starting in
|
|
||||||
release :ref:`roadmap-release-3.0.0`.
|
|
||||||
|
|
||||||
Symlink or subtree the ``sphinx_rtd_theme/sphinx_rtd_theme`` repository into your documentation at
|
|
||||||
``docs/_themes/sphinx_rtd_theme`` then add the following two settings to your Sphinx
|
|
||||||
``conf.py`` file:
|
|
||||||
|
|
||||||
.. code:: python
|
|
||||||
|
|
||||||
html_theme = "sphinx_rtd_theme"
|
|
||||||
html_theme_path = ["_themes", ]
|
|
||||||
@@ -1 +1 @@
|
|||||||
sphinx>=6.0,<6.1
|
sphinx>=7.1,<7.2
|
||||||
Generated
+157
-113
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sphinx_rtd_theme",
|
"name": "sphinx_rtd_theme",
|
||||||
"version": "1.2.0",
|
"version": "2.0.0rc5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -15,9 +15,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@types/json-schema": {
|
"@types/json-schema": {
|
||||||
"version": "7.0.11",
|
"version": "7.0.12",
|
||||||
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz",
|
||||||
"integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==",
|
"integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@types/minimatch": {
|
"@types/minimatch": {
|
||||||
@@ -27,9 +27,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@types/node": {
|
"@types/node": {
|
||||||
"version": "18.11.18",
|
"version": "20.2.5",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.2.5.tgz",
|
||||||
"integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==",
|
"integrity": "sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@types/q": {
|
"@types/q": {
|
||||||
@@ -361,6 +361,16 @@
|
|||||||
"integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==",
|
"integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"array-buffer-byte-length": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"is-array-buffer": "^3.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"array-find-index": {
|
"array-find-index": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
|
||||||
@@ -485,9 +495,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"async-each": {
|
"async-each": {
|
||||||
"version": "1.0.3",
|
"version": "1.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.6.tgz",
|
||||||
"integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==",
|
"integrity": "sha512-c646jH1avxr+aVpndVMeAfYw7wAa6idufrlN3LPA4PmKS0QEGp6PIC9nwz0WQkkvBGAMEki3pFdtxaF39J9vvg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"async-foreach": {
|
"async-foreach": {
|
||||||
@@ -830,9 +840,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"readable-stream": {
|
"readable-stream": {
|
||||||
"version": "3.6.0",
|
"version": "3.6.2",
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
||||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"inherits": "^2.0.3",
|
"inherits": "^2.0.3",
|
||||||
@@ -858,15 +868,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"version": "4.21.4",
|
"version": "4.21.7",
|
||||||
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz",
|
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.7.tgz",
|
||||||
"integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==",
|
"integrity": "sha512-BauCXrQ7I2ftSqd2mvKHGo85XR0u7Ru3C/Hxsy/0TkfCtjrmAbPdzLGasmoiBxplpDXlPvdjX9u7srIMfgasNA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"caniuse-lite": "^1.0.30001400",
|
"caniuse-lite": "^1.0.30001489",
|
||||||
"electron-to-chromium": "^1.4.251",
|
"electron-to-chromium": "^1.4.411",
|
||||||
"node-releases": "^2.0.6",
|
"node-releases": "^2.0.12",
|
||||||
"update-browserslist-db": "^1.0.9"
|
"update-browserslist-db": "^1.0.11"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"buffer": {
|
"buffer": {
|
||||||
@@ -1030,9 +1040,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"caniuse-lite": {
|
"caniuse-lite": {
|
||||||
"version": "1.0.30001445",
|
"version": "1.0.30001495",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001445.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001495.tgz",
|
||||||
"integrity": "sha512-8sdQIdMztYmzfTMO6KfLny878Ln9c2M0fc7EH60IjlP4Dc4PiCy7K2Vl3ITmWgOyPgVQKa5x+UP/KqFsxj4mBg==",
|
"integrity": "sha512-F6x5IEuigtUfU5ZMQK2jsy5JqUUlEFRVZq8bO2a+ysq5K7jD6PPc9YXZj78xDNS3uNchesp1Jw47YXEqr+Viyg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"caseless": {
|
"caseless": {
|
||||||
@@ -1425,9 +1435,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"content-type": {
|
"content-type": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
|
||||||
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==",
|
"integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"cookie": {
|
"cookie": {
|
||||||
@@ -1816,9 +1826,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cyclist": {
|
"cyclist": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.2.tgz",
|
||||||
"integrity": "sha512-NJGVKPS81XejHcLhaLJS7plab0fK3slPh11mESeeDq2W4ZI5kUKK/LRRdVDvjJseojbPB7ZwjnyOybg3Igea/A==",
|
"integrity": "sha512-0sVXIohTfLqVIW3kb/0n6IiWF3Ifj5nm2XaSrLq2DI6fKIGa2fYAZdk917rUneaeLVpYfFcyXE2ft0fe3remsA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"dashdash": {
|
"dashdash": {
|
||||||
@@ -1876,9 +1886,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"define-properties": {
|
"define-properties": {
|
||||||
"version": "1.1.4",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz",
|
||||||
"integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==",
|
"integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"has-property-descriptors": "^1.0.0",
|
"has-property-descriptors": "^1.0.0",
|
||||||
@@ -1989,9 +1999,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"des.js": {
|
"des.js": {
|
||||||
"version": "1.0.1",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/des.js/-/des.js-1.1.0.tgz",
|
||||||
"integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==",
|
"integrity": "sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"inherits": "^2.0.1",
|
"inherits": "^2.0.1",
|
||||||
@@ -2164,9 +2174,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"electron-to-chromium": {
|
"electron-to-chromium": {
|
||||||
"version": "1.4.284",
|
"version": "1.4.423",
|
||||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz",
|
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.423.tgz",
|
||||||
"integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==",
|
"integrity": "sha512-y4A7YfQcDGPAeSWM1IuoWzXpg9RY1nwHzHSwRtCSQFp9FgAVDgdWlFf0RbdWfLWQ2WUI+bddUgk5RgTjqRE6FQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"elliptic": {
|
"elliptic": {
|
||||||
@@ -2267,18 +2277,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"es-abstract": {
|
"es-abstract": {
|
||||||
"version": "1.21.1",
|
"version": "1.21.2",
|
||||||
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.1.tgz",
|
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz",
|
||||||
"integrity": "sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg==",
|
"integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
|
"array-buffer-byte-length": "^1.0.0",
|
||||||
"available-typed-arrays": "^1.0.5",
|
"available-typed-arrays": "^1.0.5",
|
||||||
"call-bind": "^1.0.2",
|
"call-bind": "^1.0.2",
|
||||||
"es-set-tostringtag": "^2.0.1",
|
"es-set-tostringtag": "^2.0.1",
|
||||||
"es-to-primitive": "^1.2.1",
|
"es-to-primitive": "^1.2.1",
|
||||||
"function-bind": "^1.1.1",
|
|
||||||
"function.prototype.name": "^1.1.5",
|
"function.prototype.name": "^1.1.5",
|
||||||
"get-intrinsic": "^1.1.3",
|
"get-intrinsic": "^1.2.0",
|
||||||
"get-symbol-description": "^1.0.0",
|
"get-symbol-description": "^1.0.0",
|
||||||
"globalthis": "^1.0.3",
|
"globalthis": "^1.0.3",
|
||||||
"gopd": "^1.0.1",
|
"gopd": "^1.0.1",
|
||||||
@@ -2286,8 +2296,8 @@
|
|||||||
"has-property-descriptors": "^1.0.0",
|
"has-property-descriptors": "^1.0.0",
|
||||||
"has-proto": "^1.0.1",
|
"has-proto": "^1.0.1",
|
||||||
"has-symbols": "^1.0.3",
|
"has-symbols": "^1.0.3",
|
||||||
"internal-slot": "^1.0.4",
|
"internal-slot": "^1.0.5",
|
||||||
"is-array-buffer": "^3.0.1",
|
"is-array-buffer": "^3.0.2",
|
||||||
"is-callable": "^1.2.7",
|
"is-callable": "^1.2.7",
|
||||||
"is-negative-zero": "^2.0.2",
|
"is-negative-zero": "^2.0.2",
|
||||||
"is-regex": "^1.1.4",
|
"is-regex": "^1.1.4",
|
||||||
@@ -2295,11 +2305,12 @@
|
|||||||
"is-string": "^1.0.7",
|
"is-string": "^1.0.7",
|
||||||
"is-typed-array": "^1.1.10",
|
"is-typed-array": "^1.1.10",
|
||||||
"is-weakref": "^1.0.2",
|
"is-weakref": "^1.0.2",
|
||||||
"object-inspect": "^1.12.2",
|
"object-inspect": "^1.12.3",
|
||||||
"object-keys": "^1.1.1",
|
"object-keys": "^1.1.1",
|
||||||
"object.assign": "^4.1.4",
|
"object.assign": "^4.1.4",
|
||||||
"regexp.prototype.flags": "^1.4.3",
|
"regexp.prototype.flags": "^1.4.3",
|
||||||
"safe-regex-test": "^1.0.0",
|
"safe-regex-test": "^1.0.0",
|
||||||
|
"string.prototype.trim": "^1.2.7",
|
||||||
"string.prototype.trimend": "^1.0.6",
|
"string.prototype.trimend": "^1.0.6",
|
||||||
"string.prototype.trimstart": "^1.0.6",
|
"string.prototype.trimstart": "^1.0.6",
|
||||||
"typed-array-length": "^1.0.4",
|
"typed-array-length": "^1.0.4",
|
||||||
@@ -2946,13 +2957,14 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"get-intrinsic": {
|
"get-intrinsic": {
|
||||||
"version": "1.1.3",
|
"version": "1.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz",
|
||||||
"integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",
|
"integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"function-bind": "^1.1.1",
|
"function-bind": "^1.1.1",
|
||||||
"has": "^1.0.3",
|
"has": "^1.0.3",
|
||||||
|
"has-proto": "^1.0.1",
|
||||||
"has-symbols": "^1.0.3"
|
"has-symbols": "^1.0.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3145,9 +3157,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"graceful-fs": {
|
"graceful-fs": {
|
||||||
"version": "4.2.10",
|
"version": "4.2.11",
|
||||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz",
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
||||||
"integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==",
|
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"handle-thing": {
|
"handle-thing": {
|
||||||
@@ -3282,9 +3294,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"readable-stream": {
|
"readable-stream": {
|
||||||
"version": "3.6.0",
|
"version": "3.6.2",
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
||||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"inherits": "^2.0.3",
|
"inherits": "^2.0.3",
|
||||||
@@ -3583,12 +3595,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"internal-slot": {
|
"internal-slot": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz",
|
||||||
"integrity": "sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==",
|
"integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"get-intrinsic": "^1.1.3",
|
"get-intrinsic": "^1.2.0",
|
||||||
"has": "^1.0.3",
|
"has": "^1.0.3",
|
||||||
"side-channel": "^1.0.4"
|
"side-channel": "^1.0.4"
|
||||||
}
|
}
|
||||||
@@ -3654,13 +3666,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"is-array-buffer": {
|
"is-array-buffer": {
|
||||||
"version": "3.0.1",
|
"version": "3.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz",
|
||||||
"integrity": "sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ==",
|
"integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"call-bind": "^1.0.2",
|
"call-bind": "^1.0.2",
|
||||||
"get-intrinsic": "^1.1.3",
|
"get-intrinsic": "^1.2.0",
|
||||||
"is-typed-array": "^1.1.10"
|
"is-typed-array": "^1.1.10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3726,9 +3738,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"is-core-module": {
|
"is-core-module": {
|
||||||
"version": "2.11.0",
|
"version": "2.12.1",
|
||||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz",
|
||||||
"integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",
|
"integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"has": "^1.0.3"
|
"has": "^1.0.3"
|
||||||
@@ -4024,9 +4036,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"jquery": {
|
"jquery": {
|
||||||
"version": "3.6.3",
|
"version": "3.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.3.tgz",
|
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.0.tgz",
|
||||||
"integrity": "sha512-bZ5Sy3YzKo9Fyc8wH2iIQK4JImJ6R0GWI9kL1/k7Z91ZBNgkRXE6U0JfHIizZbort8ZunhSI3jw9I6253ahKfg==",
|
"integrity": "sha512-umpJ0/k8X0MvD1ds0P9SfowREz2LenHsQaxSohMZ5OMNEU2r0tf8pdeEFTHMFxWVxKNyU9rTtK3CWzUCTKJUeQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"js-base64": {
|
"js-base64": {
|
||||||
@@ -4412,9 +4424,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"minimist": {
|
"minimist": {
|
||||||
"version": "1.2.7",
|
"version": "1.2.8",
|
||||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz",
|
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
|
||||||
"integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==",
|
"integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"mississippi": {
|
"mississippi": {
|
||||||
@@ -4618,9 +4630,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node-releases": {
|
"node-releases": {
|
||||||
"version": "2.0.8",
|
"version": "2.0.12",
|
||||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz",
|
||||||
"integrity": "sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==",
|
"integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node-sass": {
|
"node-sass": {
|
||||||
@@ -4809,15 +4821,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"object.getownpropertydescriptors": {
|
"object.getownpropertydescriptors": {
|
||||||
"version": "2.1.5",
|
"version": "2.1.6",
|
||||||
"resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.6.tgz",
|
||||||
"integrity": "sha512-yDNzckpM6ntyQiGTik1fKV1DcVDRS+w8bvpWNCBanvH5LfRX9O8WTHqQzG4RZwRAM4I0oU7TV11Lj5v0g20ibw==",
|
"integrity": "sha512-lq+61g26E/BgHv0ZTFgRvi7NMEPuAxLkFU7rukXjc/AlwH4Am5xXVnIXy3un1bg/JPbXHrixRkK1itUzzPiIjQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"array.prototype.reduce": "^1.0.5",
|
"array.prototype.reduce": "^1.0.5",
|
||||||
"call-bind": "^1.0.2",
|
"call-bind": "^1.0.2",
|
||||||
"define-properties": "^1.1.4",
|
"define-properties": "^1.2.0",
|
||||||
"es-abstract": "^1.20.4"
|
"es-abstract": "^1.21.2",
|
||||||
|
"safe-array-concat": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"object.pick": {
|
"object.pick": {
|
||||||
@@ -5686,9 +5699,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"postcss-selector-parser": {
|
"postcss-selector-parser": {
|
||||||
"version": "6.0.11",
|
"version": "6.0.13",
|
||||||
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz",
|
||||||
"integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==",
|
"integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"cssesc": "^3.0.0",
|
"cssesc": "^3.0.0",
|
||||||
@@ -5839,9 +5852,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"punycode": {
|
"punycode": {
|
||||||
"version": "2.2.0",
|
"version": "2.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
|
||||||
"integrity": "sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==",
|
"integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"q": {
|
"q": {
|
||||||
@@ -5952,9 +5965,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"readable-stream": {
|
"readable-stream": {
|
||||||
"version": "2.3.7",
|
"version": "2.3.8",
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
|
||||||
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
|
"integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"core-util-is": "~1.0.0",
|
"core-util-is": "~1.0.0",
|
||||||
@@ -5997,14 +6010,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"regexp.prototype.flags": {
|
"regexp.prototype.flags": {
|
||||||
"version": "1.4.3",
|
"version": "1.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz",
|
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz",
|
||||||
"integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==",
|
"integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"call-bind": "^1.0.2",
|
"call-bind": "^1.0.2",
|
||||||
"define-properties": "^1.1.3",
|
"define-properties": "^1.2.0",
|
||||||
"functions-have-names": "^1.2.2"
|
"functions-have-names": "^1.2.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"remove-trailing-separator": {
|
"remove-trailing-separator": {
|
||||||
@@ -6081,12 +6094,12 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"resolve": {
|
"resolve": {
|
||||||
"version": "1.22.1",
|
"version": "1.22.2",
|
||||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
|
||||||
"integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
|
"integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"is-core-module": "^2.9.0",
|
"is-core-module": "^2.11.0",
|
||||||
"path-parse": "^1.0.7",
|
"path-parse": "^1.0.7",
|
||||||
"supports-preserve-symlinks-flag": "^1.0.0"
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
||||||
}
|
}
|
||||||
@@ -6193,6 +6206,26 @@
|
|||||||
"aproba": "^1.1.1"
|
"aproba": "^1.1.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"safe-array-concat": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"get-intrinsic": "^1.2.0",
|
||||||
|
"has-symbols": "^1.0.3",
|
||||||
|
"isarray": "^2.0.5"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"isarray": {
|
||||||
|
"version": "2.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
|
||||||
|
"integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"safe-buffer": {
|
"safe-buffer": {
|
||||||
"version": "5.1.2",
|
"version": "5.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||||
@@ -6754,9 +6787,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"spdx-correct": {
|
"spdx-correct": {
|
||||||
"version": "3.1.1",
|
"version": "3.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz",
|
||||||
"integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==",
|
"integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"spdx-expression-parse": "^3.0.0",
|
"spdx-expression-parse": "^3.0.0",
|
||||||
@@ -6780,9 +6813,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spdx-license-ids": {
|
"spdx-license-ids": {
|
||||||
"version": "3.0.12",
|
"version": "3.0.13",
|
||||||
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz",
|
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz",
|
||||||
"integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==",
|
"integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"spdy": {
|
"spdy": {
|
||||||
@@ -6845,9 +6878,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"readable-stream": {
|
"readable-stream": {
|
||||||
"version": "3.6.0",
|
"version": "3.6.2",
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
||||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"inherits": "^2.0.3",
|
"inherits": "^2.0.3",
|
||||||
@@ -6996,6 +7029,17 @@
|
|||||||
"strip-ansi": "^3.0.0"
|
"strip-ansi": "^3.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"string.prototype.trim": {
|
||||||
|
"version": "1.2.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz",
|
||||||
|
"integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"define-properties": "^1.1.4",
|
||||||
|
"es-abstract": "^1.20.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
"string.prototype.trimend": {
|
"string.prototype.trimend": {
|
||||||
"version": "1.0.6",
|
"version": "1.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz",
|
||||||
@@ -7490,9 +7534,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"update-browserslist-db": {
|
"update-browserslist-db": {
|
||||||
"version": "1.0.10",
|
"version": "1.0.11",
|
||||||
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz",
|
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz",
|
||||||
"integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==",
|
"integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"escalade": "^3.1.1",
|
"escalade": "^3.1.1",
|
||||||
@@ -8147,9 +8191,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"which-module": {
|
"which-module": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
|
||||||
"integrity": "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==",
|
"integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"which-typed-array": {
|
"which-typed-array": {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "sphinx_rtd_theme",
|
"name": "sphinx_rtd_theme",
|
||||||
"main": "js/theme.js",
|
"main": "js/theme.js",
|
||||||
"version": "1.2.1",
|
"version": "2.0.0rc5",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack-dev-server --open --config webpack.dev.js",
|
"dev": "webpack-dev-server --open --config webpack.dev.js",
|
||||||
"build": "webpack --config webpack.prod.js",
|
"build": "webpack --config webpack.prod.js",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 1.2.1
|
current_version = 2.0.0rc5
|
||||||
commit = false
|
commit = false
|
||||||
tag = false
|
tag = false
|
||||||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<dev>\d+))?
|
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<dev>\d+))?
|
||||||
@@ -27,8 +27,8 @@ classifiers =
|
|||||||
Environment :: Console
|
Environment :: Console
|
||||||
Environment :: Web Environment
|
Environment :: Web Environment
|
||||||
Intended Audience :: Developers
|
Intended Audience :: Developers
|
||||||
Programming Language :: Python :: 2.7
|
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
|
Programming Language :: Python :: 3 :: Only
|
||||||
Programming Language :: Python :: 3.6
|
Programming Language :: Python :: 3.6
|
||||||
Programming Language :: Python :: 3.7
|
Programming Language :: Python :: 3.7
|
||||||
Programming Language :: Python :: 3.8
|
Programming Language :: Python :: 3.8
|
||||||
@@ -43,11 +43,11 @@ classifiers =
|
|||||||
include_package_data = True
|
include_package_data = True
|
||||||
zip_safe = False
|
zip_safe = False
|
||||||
packages = sphinx_rtd_theme
|
packages = sphinx_rtd_theme
|
||||||
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
|
python_requires = >=3.6
|
||||||
install_requires =
|
install_requires =
|
||||||
sphinx >=1.6,<7
|
sphinx >=5,<8
|
||||||
docutils <0.19
|
docutils <0.21
|
||||||
sphinxcontrib-jquery >=2.0.0,!=3.0.0 ; python_version > '3'
|
sphinxcontrib-jquery >=4,<5
|
||||||
tests_require =
|
tests_require =
|
||||||
pytest
|
pytest
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ class TransifexCommand(distutils.cmd.Command):
|
|||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
version='1.2.1',
|
version='2.0.0rc5',
|
||||||
cmdclass={
|
cmdclass={
|
||||||
'update_translations': UpdateTranslationsCommand,
|
'update_translations': UpdateTranslationsCommand,
|
||||||
'transifex': TransifexCommand,
|
'transifex': TransifexCommand,
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ from sphinx.locale import _
|
|||||||
from sphinx.util.logging import getLogger
|
from sphinx.util.logging import getLogger
|
||||||
|
|
||||||
|
|
||||||
__version__ = '1.2.1'
|
__version__ = '2.0.0rc5'
|
||||||
__version_full__ = __version__
|
__version_full__ = __version__
|
||||||
|
|
||||||
logger = getLogger(__name__)
|
logger = getLogger(__name__)
|
||||||
@@ -40,15 +40,11 @@ def extend_html_context(app, pagename, templatename, context, doctree):
|
|||||||
# See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
|
# See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
|
||||||
def setup(app):
|
def setup(app):
|
||||||
if python_version[0] < 3:
|
if python_version[0] < 3:
|
||||||
logger.warning("Python 2 is deprecated with sphinx_rtd_theme, update to Python 3")
|
logger.error("Python 2 is not supported with sphinx_rtd_theme, update to Python 3.")
|
||||||
app.require_sphinx('1.6')
|
|
||||||
if sphinx_version <= (2, 0, 0):
|
app.require_sphinx('5.0')
|
||||||
logger.warning("Sphinx 1.x is deprecated with sphinx_rtd_theme, update to Sphinx 2.x or greater")
|
if app.config.html4_writer:
|
||||||
if not app.config.html_experimental_html5_writer:
|
logger.error("'html4_writer' is not supported with sphinx_rtd_theme.")
|
||||||
logger.warning("'html4_writer' is deprecated with sphinx_rtd_theme")
|
|
||||||
else:
|
|
||||||
if app.config.html4_writer:
|
|
||||||
logger.warning("'html4_writer' is deprecated with sphinx_rtd_theme")
|
|
||||||
|
|
||||||
# Since Sphinx 6, jquery isn't bundled anymore and we need to ensure that
|
# Since Sphinx 6, jquery isn't bundled anymore and we need to ensure that
|
||||||
# the sphinxcontrib-jquery extension is enabled.
|
# the sphinxcontrib-jquery extension is enabled.
|
||||||
@@ -66,18 +62,14 @@ def setup(app):
|
|||||||
# Register the theme that can be referenced without adding a theme path
|
# Register the theme that can be referenced without adding a theme path
|
||||||
app.add_html_theme('sphinx_rtd_theme', path.abspath(path.dirname(__file__)))
|
app.add_html_theme('sphinx_rtd_theme', path.abspath(path.dirname(__file__)))
|
||||||
|
|
||||||
if sphinx_version >= (1, 8, 0):
|
# Add Sphinx message catalog for newer versions of Sphinx
|
||||||
# Add Sphinx message catalog for newer versions of Sphinx
|
# See http://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_message_catalog
|
||||||
# See http://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_message_catalog
|
rtd_locale_path = path.join(path.abspath(path.dirname(__file__)), 'locale')
|
||||||
rtd_locale_path = path.join(path.abspath(path.dirname(__file__)), 'locale')
|
app.add_message_catalog('sphinx', rtd_locale_path)
|
||||||
app.add_message_catalog('sphinx', rtd_locale_path)
|
app.connect('config-inited', config_initiated)
|
||||||
app.connect('config-inited', config_initiated)
|
|
||||||
|
|
||||||
# sphinx emits the permalink icon for headers, so choose one more in keeping with our theme
|
# sphinx emits the permalink icon for headers, so choose one more in keeping with our theme
|
||||||
if sphinx_version >= (3, 5, 0):
|
app.config.html_permalinks_icon = "\uf0c1"
|
||||||
app.config.html_permalinks_icon = "\uf0c1"
|
|
||||||
else:
|
|
||||||
app.config.html_add_permalinks = "\uf0c1"
|
|
||||||
|
|
||||||
# Extend the default context when rendering the templates.
|
# Extend the default context when rendering the templates.
|
||||||
app.connect("html-page-context", extend_html_context)
|
app.connect("html-page-context", extend_html_context)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
{%- set sphinx_version_info = (_ver_major, _ver_minor, -1) -%}
|
{%- set sphinx_version_info = (_ver_major, _ver_minor, -1) -%}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="{{ sphinx_writer }}" lang="{{ lang_attr }}" >
|
<html class="{{ sphinx_writer }}" lang="{{ lang_attr }}"{% if sphinx_version_info >= (7, 2) %} data-content_root="{{ content_root }}"{% endif %}>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
{{- metatags }}
|
{{- metatags }}
|
||||||
@@ -28,18 +28,14 @@
|
|||||||
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
|
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
|
||||||
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
|
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- for css in css_files %}
|
{%- for css_file in css_files %}
|
||||||
{%- if css|attr("rel") %}
|
{%- if css_file|attr("filename") %}
|
||||||
<link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
|
{{ css_tag(css_file) }}
|
||||||
{%- else %}
|
{%- else %}
|
||||||
<link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" />
|
<link rel="stylesheet" href="{{ pathto(css_file, 1)|escape }}" type="text/css" />
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
{%- for cssfile in extra_css_files %}
|
|
||||||
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
|
|
||||||
{%- endfor -%}
|
|
||||||
|
|
||||||
{#- FAVICON
|
{#- FAVICON
|
||||||
favicon_url is the only context var necessary since Sphinx 4.
|
favicon_url is the only context var necessary since Sphinx 4.
|
||||||
In Sphinx<4, we use favicon but need to prepend path info.
|
In Sphinx<4, we use favicon but need to prepend path info.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden],audio:not([controls]){display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;text-decoration:none}ins,mark{color:#000}mark{background:#ff0;font-style:italic;font-weight:700}.rst-content code,.rst-content tt,code,kbd,pre,samp{font-family:monospace,serif;_font-family:courier new,monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:after,q:before{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}dl,ol,ul{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure,form{margin:0}label{cursor:pointer}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}textarea{resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir br{display:none}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{body,html,section{background:none!important}*{box-shadow:none!important;text-shadow:none!important;filter:none!important;-ms-filter:none!important}a,a:visited{text-decoration:underline}.ir a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}.rst-content .toctree-wrapper>p.caption,h2,h3,p{orphans:3;widows:3}.rst-content .toctree-wrapper>p.caption,h2,h3{page-break-after:avoid}}.btn,.fa:before,.icon:before,.rst-content .admonition,.rst-content .admonition-title:before,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .code-block-caption .headerlink:before,.rst-content .danger,.rst-content .eqno .headerlink:before,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning,.rst-content code.download span:first-child:before,.rst-content dl dt .headerlink:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content p .headerlink:before,.rst-content table>caption .headerlink:before,.rst-content tt.download span:first-child:before,.wy-alert,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-menu-vertical li.current>a button.toctree-expand:before,.wy-menu-vertical li.on a button.toctree-expand:before,.wy-menu-vertical li button.toctree-expand:before,input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}/*!
|
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden],audio:not([controls]){display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;text-decoration:none}ins,mark{color:#000}mark{background:#ff0;font-style:italic;font-weight:700}.rst-content code,.rst-content tt,code,kbd,pre,samp{font-family:monospace,serif;_font-family:courier new,monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:after,q:before{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}dl,ol,ul{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure,form{margin:0}label{cursor:pointer}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}textarea{resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir br{display:none}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{body,html,section{background:none!important}*{box-shadow:none!important;text-shadow:none!important;filter:none!important;-ms-filter:none!important}a,a:visited{text-decoration:underline}.ir a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}.rst-content .toctree-wrapper>p.caption,h2,h3,p{orphans:3;widows:3}.rst-content .toctree-wrapper>p.caption,h2,h3{page-break-after:avoid}}.btn,.fa:before,.icon:before,.rst-content .admonition,.rst-content .admonition-title:before,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .code-block-caption .headerlink:before,.rst-content .danger,.rst-content .eqno .headerlink:before,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning,.rst-content code.download span:first-child:before,.rst-content dl dt .headerlink:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content p .headerlink:before,.rst-content table>caption .headerlink:before,.rst-content tt.download span:first-child:before,.wy-alert,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-menu-vertical li.current>a button.toctree-expand:before,.wy-menu-vertical li.on a button.toctree-expand:before,.wy-menu-vertical li button.toctree-expand:before,input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}/*!
|
||||||
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||||
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||||
*/@font-face{font-family:FontAwesome;src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713);src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713?#iefix&v=4.7.0) format("embedded-opentype"),url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2"),url(fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad) format("woff"),url(fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9) format("truetype"),url(fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa,.icon,.rst-content .admonition-title,.rst-content .code-block-caption .headerlink,.rst-content .eqno .headerlink,.rst-content code.download span:first-child,.rst-content dl dt .headerlink,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content p.caption .headerlink,.rst-content p .headerlink,.rst-content table>caption .headerlink,.rst-content tt.download span:first-child,.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand,.wy-menu-vertical li button.toctree-expand{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa-pull-left.icon,.fa.fa-pull-left,.rst-content .code-block-caption .fa-pull-left.headerlink,.rst-content .eqno .fa-pull-left.headerlink,.rst-content .fa-pull-left.admonition-title,.rst-content code.download span.fa-pull-left:first-child,.rst-content dl dt .fa-pull-left.headerlink,.rst-content h1 .fa-pull-left.headerlink,.rst-content h2 .fa-pull-left.headerlink,.rst-content h3 .fa-pull-left.headerlink,.rst-content h4 .fa-pull-left.headerlink,.rst-content h5 .fa-pull-left.headerlink,.rst-content h6 .fa-pull-left.headerlink,.rst-content p .fa-pull-left.headerlink,.rst-content table>caption .fa-pull-left.headerlink,.rst-content tt.download span.fa-pull-left:first-child,.wy-menu-vertical li.current>a button.fa-pull-left.toctree-expand,.wy-menu-vertical li.on a button.fa-pull-left.toctree-expand,.wy-menu-vertical li button.fa-pull-left.toctree-expand{margin-right:.3em}.fa-pull-right.icon,.fa.fa-pull-right,.rst-content .code-block-caption .fa-pull-right.headerlink,.rst-content .eqno .fa-pull-right.headerlink,.rst-content .fa-pull-right.admonition-title,.rst-content code.download span.fa-pull-right:first-child,.rst-content dl dt .fa-pull-right.headerlink,.rst-content h1 .fa-pull-right.headerlink,.rst-content h2 .fa-pull-right.headerlink,.rst-content h3 .fa-pull-right.headerlink,.rst-content h4 .fa-pull-right.headerlink,.rst-content h5 .fa-pull-right.headerlink,.rst-content h6 .fa-pull-right.headerlink,.rst-content p .fa-pull-right.headerlink,.rst-content table>caption .fa-pull-right.headerlink,.rst-content tt.download span.fa-pull-right:first-child,.wy-menu-vertical li.current>a button.fa-pull-right.toctree-expand,.wy-menu-vertical li.on a button.fa-pull-right.toctree-expand,.wy-menu-vertical li button.fa-pull-right.toctree-expand{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left,.pull-left.icon,.rst-content .code-block-caption .pull-left.headerlink,.rst-content .eqno .pull-left.headerlink,.rst-content .pull-left.admonition-title,.rst-content code.download span.pull-left:first-child,.rst-content dl dt .pull-left.headerlink,.rst-content h1 .pull-left.headerlink,.rst-content h2 .pull-left.headerlink,.rst-content h3 .pull-left.headerlink,.rst-content h4 .pull-left.headerlink,.rst-content h5 .pull-left.headerlink,.rst-content h6 .pull-left.headerlink,.rst-content p .pull-left.headerlink,.rst-content table>caption .pull-left.headerlink,.rst-content tt.download span.pull-left:first-child,.wy-menu-vertical li.current>a button.pull-left.toctree-expand,.wy-menu-vertical li.on a button.pull-left.toctree-expand,.wy-menu-vertical li button.pull-left.toctree-expand{margin-right:.3em}.fa.pull-right,.pull-right.icon,.rst-content .code-block-caption .pull-right.headerlink,.rst-content .eqno .pull-right.headerlink,.rst-content .pull-right.admonition-title,.rst-content code.download span.pull-right:first-child,.rst-content dl dt .pull-right.headerlink,.rst-content h1 .pull-right.headerlink,.rst-content h2 .pull-right.headerlink,.rst-content h3 .pull-right.headerlink,.rst-coLine truncated
|
*/@font-face{font-family:FontAwesome;src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713);src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713?#iefix&v=4.7.0) format("embedded-opentype"),url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2"),url(fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad) format("woff"),url(fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9) format("truetype"),url(fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa,.icon,.rst-content .admonition-title,.rst-content .code-block-caption .headerlink,.rst-content .eqno .headerlink,.rst-content code.download span:first-child,.rst-content dl dt .headerlink,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content p.caption .headerlink,.rst-content p .headerlink,.rst-content table>caption .headerlink,.rst-content tt.download span:first-child,.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand,.wy-menu-vertical li button.toctree-expand{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa-pull-left.icon,.fa.fa-pull-left,.rst-content .code-block-caption .fa-pull-left.headerlink,.rst-content .eqno .fa-pull-left.headerlink,.rst-content .fa-pull-left.admonition-title,.rst-content code.download span.fa-pull-left:first-child,.rst-content dl dt .fa-pull-left.headerlink,.rst-content h1 .fa-pull-left.headerlink,.rst-content h2 .fa-pull-left.headerlink,.rst-content h3 .fa-pull-left.headerlink,.rst-content h4 .fa-pull-left.headerlink,.rst-content h5 .fa-pull-left.headerlink,.rst-content h6 .fa-pull-left.headerlink,.rst-content p .fa-pull-left.headerlink,.rst-content table>caption .fa-pull-left.headerlink,.rst-content tt.download span.fa-pull-left:first-child,.wy-menu-vertical li.current>a button.fa-pull-left.toctree-expand,.wy-menu-vertical li.on a button.fa-pull-left.toctree-expand,.wy-menu-vertical li button.fa-pull-left.toctree-expand{margin-right:.3em}.fa-pull-right.icon,.fa.fa-pull-right,.rst-content .code-block-caption .fa-pull-right.headerlink,.rst-content .eqno .fa-pull-right.headerlink,.rst-content .fa-pull-right.admonition-title,.rst-content code.download span.fa-pull-right:first-child,.rst-content dl dt .fa-pull-right.headerlink,.rst-content h1 .fa-pull-right.headerlink,.rst-content h2 .fa-pull-right.headerlink,.rst-content h3 .fa-pull-right.headerlink,.rst-content h4 .fa-pull-right.headerlink,.rst-content h5 .fa-pull-right.headerlink,.rst-content h6 .fa-pull-right.headerlink,.rst-content p .fa-pull-right.headerlink,.rst-content table>caption .fa-pull-right.headerlink,.rst-content tt.download span.fa-pull-right:first-child,.wy-menu-vertical li.current>a button.fa-pull-right.toctree-expand,.wy-menu-vertical li.on a button.fa-pull-right.toctree-expand,.wy-menu-vertical li button.fa-pull-right.toctree-expand{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left,.pull-left.icon,.rst-content .code-block-caption .pull-left.headerlink,.rst-content .eqno .pull-left.headerlink,.rst-content .pull-left.admonition-title,.rst-content code.download span.pull-left:first-child,.rst-content dl dt .pull-left.headerlink,.rst-content h1 .pull-left.headerlink,.rst-content h2 .pull-left.headerlink,.rst-content h3 .pull-left.headerlink,.rst-content h4 .pull-left.headerlink,.rst-content h5 .pull-left.headerlink,.rst-content h6 .pull-left.headerlink,.rst-content p .pull-left.headerlink,.rst-content table>caption .pull-left.headerlink,.rst-content tt.download span.pull-left:first-child,.wy-menu-vertical li.current>a button.pull-left.toctree-expand,.wy-menu-vertical li.on a button.pull-left.toctree-expand,.wy-menu-vertical li button.pull-left.toctree-expand{margin-right:.3em}.fa.pull-right,.pull-right.icon,.rst-content .code-block-caption .pull-right.headerlink,.rst-content .eqno .pull-right.headerlink,.rst-content .pull-right.admonition-title,.rst-content code.download span.pull-right:first-child,.rst-content dl dt .pull-right.headerlink,.rst-content h1 .pull-right.headerlink,.rst-content h2 .pull-right.headerlink,.rst-content h3 .pull-right.headerlink,.rst-coLine truncated
|
||||||
@@ -583,14 +583,19 @@
|
|||||||
@extend .fa-download
|
@extend .fa-download
|
||||||
&:before
|
&:before
|
||||||
margin-right: 4px
|
margin-right: 4px
|
||||||
.guilabel
|
.guilabel,
|
||||||
border: 1px solid lighten($guilabel-color, 25%)
|
.menuselection
|
||||||
background: lighten($guilabel-color, 50%)
|
|
||||||
font-size: 80%
|
font-size: 80%
|
||||||
font-weight: 700
|
font-weight: 700
|
||||||
border-radius: $base-line-height / 6
|
border-radius: $base-line-height / 6
|
||||||
padding: ($base-line-height / 10) ($base-line-height / 4)
|
padding: ($base-line-height / 10) ($base-line-height / 4)
|
||||||
margin: auto ($base-line-height / 12)
|
margin: auto ($base-line-height / 12)
|
||||||
|
.guilabel,
|
||||||
|
border: 1px solid lighten($guilabel-color, 25%)
|
||||||
|
background: lighten($guilabel-color, 50%)
|
||||||
|
.menuselection
|
||||||
|
border: 1px solid lighten($menuselection-color, 25%)
|
||||||
|
background: lighten($menuselection-color, 50%)
|
||||||
*:not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > kbd,
|
*:not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > kbd,
|
||||||
*:not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > .kbd
|
*:not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > .kbd
|
||||||
color: inherit
|
color: inherit
|
||||||
|
|||||||
@@ -20,9 +20,12 @@ $text-codexref-color: $text-color
|
|||||||
$class-color: $blue
|
$class-color: $blue
|
||||||
$method-color: $gray
|
$method-color: $gray
|
||||||
|
|
||||||
// GUI label color
|
// :guilabel: color
|
||||||
$guilabel-color: $blue
|
$guilabel-color: $blue
|
||||||
|
|
||||||
|
// :menuselection: label color
|
||||||
|
$menuselection-color: $blue
|
||||||
|
|
||||||
// Footer colors
|
// Footer colors
|
||||||
$footer-color: $text-medium
|
$footer-color: $text-medium
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,10 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
# Python 2.7 support was removed in Sphinx 2
|
py{36,37,38,39,310}-sphinx{50,51,52,53}{-qa}
|
||||||
py{27}-sphinx{17,18}{-html4,-html5,}{-qa,}
|
py{38,39,310}-sphinx{60,61,62,70,71}{-qa}
|
||||||
py{36,37,38,39}-sphinx{17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,42,43,44,45,50,51,52}{-html4,-html5,}{-qa,}
|
py{39,310}-sphinx{72,latest,dev}{-qa}
|
||||||
# Python 3.10 working from Sphinx 4.2 and up
|
|
||||||
py{310}-sphinx{42,43,44,45,50,51,52,53,latest}{-html4,-html5}{-qa,}
|
|
||||||
# Sphinx 6+ has simplified docutils and Python support
|
|
||||||
py{38,39,10}-sphinx{60}{-html5,}{-qa,}
|
|
||||||
# Python 3.11 working from Sphinx 5.3 and up
|
# Python 3.11 working from Sphinx 5.3 and up
|
||||||
py{311}-sphinx{53,60,latest}{html5}{-qa,}
|
py{311}-sphinx{53,60,61,62,70,71,72,latest,dev}{-qa}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv =
|
setenv =
|
||||||
@@ -17,41 +13,21 @@ deps =
|
|||||||
.
|
.
|
||||||
readthedocs-sphinx-ext
|
readthedocs-sphinx-ext
|
||||||
pytest
|
pytest
|
||||||
sphinx17: Sphinx>=1.7,<1.8
|
|
||||||
sphinx18: Sphinx>=1.8,<1.9
|
|
||||||
sphinx20: Sphinx>=2.0,<2.1
|
|
||||||
sphinx21: Sphinx>=2.1,<2.2
|
|
||||||
sphinx22: Sphinx>=2.2,<2.3
|
|
||||||
sphinx23: Sphinx>=2.3,<2.4
|
|
||||||
sphinx24: Sphinx>=2.4,<2.5
|
|
||||||
sphinx30: Sphinx>=3.0,<3.1
|
|
||||||
sphinx31: Sphinx>=3.1,<3.2
|
|
||||||
sphinx32: Sphinx>=3.2,<3.3
|
|
||||||
sphinx33: Sphinx>=3.3,<3.4
|
|
||||||
sphinx34: Sphinx>=3.4,<3.5
|
|
||||||
sphinx35: Sphinx>=3.5,<3.6
|
|
||||||
sphinx40: Sphinx>=4.0,<4.1
|
|
||||||
sphinx41: Sphinx>=4.1,<4.2
|
|
||||||
sphinx42: Sphinx>=4.2,<4.3
|
|
||||||
sphinx43: Sphinx>=4.3,<4.4
|
|
||||||
sphinx44: Sphinx>=4.4,<4.5
|
|
||||||
sphinx45: Sphinx>=4.5,<4.6
|
|
||||||
sphinx50: Sphinx>=5.0,<5.1
|
sphinx50: Sphinx>=5.0,<5.1
|
||||||
sphinx51: Sphinx>=5.1,<5.2
|
sphinx51: Sphinx>=5.1,<5.2
|
||||||
sphinx52: Sphinx>=5.2,<5.3
|
sphinx52: Sphinx>=5.2,<5.3
|
||||||
sphinx53: Sphinx>=5.3,<5.4
|
sphinx53: Sphinx>=5.3,<5.4
|
||||||
sphinx60: Sphinx>=6.0,<6.1
|
sphinx60: Sphinx>=6.0,<6.1
|
||||||
# All these Sphinx versions actually break since docutils 0.18, so we need to add this upper bound
|
sphinx61: Sphinx>=6.1,<6.2
|
||||||
# Projects using these Sphinx versions will have to do the same
|
sphinx62: Sphinx>=6.2,<6.3
|
||||||
# See: https://github.com/readthedocs/sphinx_rtd_theme/pull/1304
|
sphinx70: Sphinx>=7.0,<7.1
|
||||||
sphinx{17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,42}: docutils<0.18
|
sphinx71: Sphinx>=7.1,<7.2
|
||||||
# External environments are required to add this dependency for older versions of Sphinx
|
sphinx72: Sphinx>=7.2,<7.3
|
||||||
# because it didn't ship with this upper bound.
|
|
||||||
# See: https://github.com/sphinx-doc/sphinx/issues/10291
|
|
||||||
sphinx{17,18,20,21,22,23,24,30,31,32,33,34,35,40}: Jinja2<3.1
|
|
||||||
sphinxlatest: Sphinx
|
sphinxlatest: Sphinx
|
||||||
sphinxdev: https://github.com/sphinx-doc/sphinx/archive/refs/heads/master.zip
|
dev: https://github.com/sphinx-doc/sphinx/archive/refs/heads/master.zip
|
||||||
|
allowlist_externals =
|
||||||
|
echo
|
||||||
commands =
|
commands =
|
||||||
pytest {posargs} tests/
|
pytest {posargs} tests/
|
||||||
!html4: sphinx-build -b html -Dhtml4_writer=0 -d {envtmpdir}/doctrees docs/ {envtmpdir}/html
|
sphinx-build -b html -Dhtml4_writer=0 -d {envtmpdir}/doctrees docs/ {envtmpdir}/html
|
||||||
html4: sphinx-build -b html -Dhtml4_writer=1 -d {envtmpdir}/doctrees docs/ {envtmpdir}/html
|
echo "Open the following URL for visual testing: file://{envtmpdir}/html/demo/demo.html"
|
||||||
Reference in new issue
Block a user