| 1 |
Development |
| 2 |
=========== |
| 3 |
|
| 4 |
The theme developers follow the guidelines below for development and release |
| 5 |
planning. Documentation authors can decide which theme release works best for |
| 6 |
their project based on required browser/operating system combinations or |
| 7 |
dependency support. |
| 8 |
|
| 9 |
.. _supported-browsers: |
| 10 |
|
| 11 |
Supported browsers |
| 12 |
------------------ |
| 13 |
|
| 14 |
Official browser support is determined by the most popular browser/operating |
| 15 |
system combinations in our pageview analytics. Officially supported combinations |
| 16 |
are commonly tested during development, and are always tested before final |
| 17 |
release of a new version of the theme. |
| 18 |
|
| 19 |
Older releases of supported combinations, and some less common combinations, are |
| 20 |
considered partially supported. This means that we do not consistently test |
| 21 |
these combinations, however we do expect user experience to be comparable with |
| 22 |
supported combinations. |
| 23 |
|
| 24 |
.. csv-table:: Supported browser combinations |
| 25 |
:widths: 6, 12, 4 |
| 26 |
:header-rows: 1 |
| 27 |
:file: supported-browsers.csv |
| 28 |
|
| 29 |
.. versionadded:: 1.0 |
| 30 |
Supported browser and operating system combinations added |
| 31 |
|
| 32 |
There are several browser/operating system combinations that are not supported |
| 33 |
by the theme developers at all. Unsupported combinations do not receive testing |
| 34 |
or development, and we likely won't accept major contributions for these |
| 35 |
combinations. |
| 36 |
|
| 37 |
Unsupported browser/operating system combinations include: |
| 38 |
|
| 39 |
Internet Explorer (any OS, any version) |
| 40 |
Support was removed in the :ref:`roadmap-release-3.0.0` release. |
| 41 |
|
| 42 |
Opera (any OS, any version) |
| 43 |
**Community support only.** We do not receive enough traffic with this |
| 44 |
browser to officially support it in testing and development. |
| 45 |
|
| 46 |
.. _supported-dependencies: |
| 47 |
|
| 48 |
Supported dependencies |
| 49 |
---------------------- |
| 50 |
|
| 51 |
The theme officially supports the following dependencies in your Sphinx project: |
| 52 |
|
| 53 |
.. list-table:: Supported dependencies |
| 54 |
:header-rows: 1 |
| 55 |
:widths: 10, 10 |
| 56 |
|
| 57 |
* - Dependency |
| 58 |
- Versions |
| 59 |
* - Python |
| 60 |
- 3.8 or greater |
| 61 |
* - Sphinx |
| 62 |
- 6 or greater |
| 63 |
* - docutils |
| 64 |
- > 0.18, < 0.23 |
| 65 |
|
| 66 |
.. deprecated:: 3.0 |
| 67 |
Sphinx < 6 support removed |
| 68 |
|
| 69 |
.. deprecated:: 2.0 |
| 70 |
Sphinx < 5 support removed |
| 71 |
|
| 72 |
.. deprecated:: 2.0 |
| 73 |
Python < 3.6 support removed |
| 74 |
|
| 75 |
.. deprecated:: 2.0 |
| 76 |
docutils < 0.14 support removed |
| 77 |
|
| 78 |
.. versionadded:: 1.0 |
| 79 |
Sphinx 4.0 support added |
| 80 |
|
| 81 |
.. deprecated:: 1.0 |
| 82 |
Sphinx 1.6 support removed |
| 83 |
|
| 84 |
.. versionadded:: 1.0 |
| 85 |
docutils 0.17 support added |
| 86 |
|
| 87 |
Roadmap |
| 88 |
------- |
| 89 |
|
| 90 |
We currently have several releases planned on our development roadmap. Backward |
| 91 |
incompatible changes, deprecations, and major features are noted for each of |
| 92 |
these releases. |
| 93 |
|
| 94 |
Releases follow `semantic versioning`_, and so it is generally recommended that |
| 95 |
authors pin dependency on ``sphinx_rtd_theme`` to a version below the next major |
| 96 |
version: |
| 97 |
|
| 98 |
.. code:: console |
| 99 |
|
| 100 |
$ pip install "sphinx_rtd_theme<2.0.0" |
| 101 |
|
| 102 |
.. _semantic versioning: http://semver.org/ |
| 103 |
|
| 104 |
.. _roadmap-release-1.0.0: |
| 105 |
|
| 106 |
1.0.0 |
| 107 |
~~~~~ |
| 108 |
|
| 109 |
:Planned release date: August 2021 |
| 110 |
|
| 111 |
This release will be a slightly backwards incompatible release to follow the |
| 112 |
:ref:`release-0.5.2` release. It will drop support for Sphinx 1.6, which is a rather old |
| 113 |
release at this point. |
| 114 |
|
| 115 |
This version will add official support for the Sphinx 4.x release series and |
| 116 |
it resolves bugs with the latest release of Docutils, version 0.17. |
| 117 |
|
| 118 |
Starting with this release, several deprecation warnings will be emitted at |
| 119 |
build time: |
| 120 |
|
| 121 |
Direct installation is deprecated |
| 122 |
Support for direct installation through GitHub is no longer a suggested |
| 123 |
installation method. In an effort to ease maintenance, compiled assets will |
| 124 |
eventually be removed from the theme repository. These files will only be |
| 125 |
included in the built packages/releases available on PyPI. |
| 126 |
|
| 127 |
We plan to start putting development releases up on PyPI more frequently, so |
| 128 |
that installation from the theme source repository is no longer necessary. |
| 129 |
|
| 130 |
Built assets are tentatively planned to be removed in version :ref:`roadmap-release-3.0.0`:. |
| 131 |
|
| 132 |
HTML4 support is deprecated |
| 133 |
Support for the Sphinx HTML4 writer will be removed in the :ref:`roadmap-release-2.0.0` |
| 134 |
release. |
| 135 |
|
| 136 |
.. _roadmap-release-1.1.0: |
| 137 |
|
| 138 |
1.1.0 |
| 139 |
~~~~~ |
| 140 |
|
| 141 |
:Planned release date: 2021 Q3 |
| 142 |
|
| 143 |
We aim to follow up release :ref:`release-1.0.0` with at least one bug fix release in |
| 144 |
the 1.x release series. The 1.1 release will not be adding any major features |
| 145 |
and will instead mark the last release targeting projects with old dependencies |
| 146 |
like Sphinx 1.8, HTML4, or required support for IE11. |
| 147 |
|
| 148 |
.. _roadmap-release-2.0.0: |
| 149 |
|
| 150 |
2.0.0 |
| 151 |
~~~~~ |
| 152 |
|
| 153 |
:Planned release date: 2023 Q3 |
| 154 |
|
| 155 |
This release will drop support for old Python and Sphinx versions. |
| 156 |
|
| 157 |
Note the following backwards incompatible changes are planned for this |
| 158 |
release: |
| 159 |
|
| 160 |
Python < 3.6, Sphinx < 5 and Docutils < 0.14 will not be tested |
| 161 |
Official support will drop for these version, though they may still continue |
| 162 |
to work. Theme developers will not be testing these versions any longer. |
| 163 |
|
| 164 |
HTML4 support will be removed |
| 165 |
Starting with this release, we will only support the HTML5 writer output, |
| 166 |
and builds attempting to use the HTML4 writer will fail. If you are still |
| 167 |
using the HTML4 writer, or have the ``html4_writer = True`` option in your |
| 168 |
Sphinx configuration file, you will need to either remove this option or pin |
| 169 |
your dependency to ``sphinx_rtd_theme<=3`` until you can. |
| 170 |
|
| 171 |
This option was suggested in the past to work around issues with HTML5 |
| 172 |
support and should no longer be required to use a modern combination of this |
| 173 |
theme and Sphinx. |
| 174 |
|
| 175 |
.. _roadmap-release-3.0.0: |
| 176 |
|
| 177 |
3.0.0 |
| 178 |
~~~~~ |
| 179 |
|
| 180 |
:Planned release date: 2024 Q3 |
| 181 |
|
| 182 |
This release will drop support for old Python and Sphinx versions, |
| 183 |
and will add support for new ones. |
| 184 |
|
| 185 |
Sphinx 5, Python < 3.8 and docutils < 0.18 support will be removed |
| 186 |
Sphinx 5 is the latest version that supports Python 3.6 and 3.7, |
| 187 |
and docutils < 0.18. |
| 188 |
|
| 189 |
Internet Explorer 11 support will be dropped |
| 190 |
`IE11 reached end of life on 14 June 20222 <https://endoflife.date/internet-explorer>`_, |
| 191 |
so we are not supporting it on newer versions, |
| 192 |
starting on 3.0.0. |
| 193 |
|
| 194 |
.. _roadmap-release-4.0.0: |
| 195 |
|
| 196 |
4.0.0 |
| 197 |
~~~~~ |
| 198 |
|
| 199 |
:Planned release date: 2024 Q2 |
| 200 |
|
| 201 |
This release is not yet planned. |
| 202 |
There are plans to potentially replace Wyrm with Bootstrap in a release after 3.0. |
| 203 |
|
| 204 |
Also tentatively planned for this release is finally removing built CSS and |
| 205 |
JavaScript assets from our repository. This will remove the ability to install |
| 206 |
the package directly from GitHub, and instead users will be advised to install |
| 207 |
development releases from PyPI. |