Skip to content

Commit 045d7b3

Browse files
authored
Merge pull request #1208 from readthedocs/agj/docs-development
Add development and usage documentation
2 parents 7c2bbb7 + b880004 commit 045d7b3

File tree

7 files changed

+314
-67
lines changed

7 files changed

+314
-67
lines changed

README.rst

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ a working demo of the theme in the `theme documentation`_
2222

2323
.. _Sphinx: http://www.sphinx-doc.org
2424
.. _Read the Docs: http://www.readthedocs.org
25-
.. _theme documentation: https://sphinx-rtd-theme.readthedocs.io/en/latest/
25+
.. _theme documentation: https://sphinx-rtd-theme.readthedocs.io/en/stable/
2626

2727
Installation
2828
============
@@ -40,11 +40,20 @@ your ``conf.py`` file's ``html_theme`` setting:
4040
4141
html_theme = "sphinx_rtd_theme"
4242
43-
For more information, including a full example with localized strings enabled,
44-
read the documentation on `installing the theme`_.
43+
.. seealso::
44+
`Supported browsers`_
45+
Officially supported and tested browser/operating system combinations
46+
47+
`Supported dependencies`_
48+
Supported versions of Python, Sphinx, and other dependencies.
49+
50+
`Example documentation`_
51+
A full example of this theme output, with localized strings enabled.
4552

4653
.. _PyPI: https://pypi.python.org/pypi/sphinx_rtd_theme
47-
.. _installing the theme: https://sphinx-rtd-theme.readthedocs.io/en/latest/installing.html
54+
.. _Supported browsers: https://sphinx-rtd-theme.readthedocs.io/en/stable/development.html#supported-browsers
55+
.. _Supported dependencies: https://sphinx-rtd-theme.readthedocs.io/en/stable/development.html#supported-dependencies
56+
.. _Example documentation: https://sphinx-rtd-theme.readthedocs.io/en/stable/
4857

4958
Configuration
5059
=============
@@ -53,12 +62,12 @@ This theme is highly customizable on both the page level and on a global level.
5362
To see all the possible configuration options, read the documentation on
5463
`configuring the theme`_.
5564

56-
.. _configuring the theme: https://sphinx-rtd-theme.readthedocs.io/en/latest/configuring.html
65+
.. _configuring the theme: https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html
5766

5867
Contributing
5968
============
6069

6170
If you would like to help modify or translate the theme, you'll find more
6271
information on contributing in our `contributing guide`_.
6372

64-
.. _contributing guide: https://sphinx-rtd-theme.readthedocs.io/en/latest/contributing.html
73+
.. _contributing guide: https://sphinx-rtd-theme.readthedocs.io/en/stable/contributing.html

docs/changelog.rst

Lines changed: 48 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ Other Changes
5959
* Use regular toctree instead of toc for singlehtml builder (#507)
6060
* Cleanup whitespace in templates (#1060)
6161

62-
v0.5.2
63-
======
62+
.. _0.5.2:
63+
64+
0.5.2
65+
=====
6466

6567
:Date: April 5, 2021
6668

@@ -69,8 +71,10 @@ v0.5.2
6971

7072
* Depend on docutils < 0.17 (#1113)
7173

72-
v0.5.1
73-
======
74+
.. _0.5.1:
75+
76+
0.5.1
77+
=====
7478

7579
:Date: January 4, 2021
7680

@@ -99,8 +103,10 @@ Other Changes
99103
* Make Copyright template match sphinx's basic (#933)
100104
* Packaging: include ``bin/preinstall.js`` (#1005)
101105

102-
v0.5.0
103-
======
106+
.. _0.5.0:
107+
108+
0.5.0
109+
=====
104110

105111
:Date: Jun 17, 2020
106112

@@ -109,8 +115,8 @@ Fixes
109115

110116
* Fix bullet list spacing to respect simple/complex list styles
111117

112-
v0.5.0rc2
113-
=========
118+
0.5.0rc2
119+
========
114120

115121
:Date: June 5, 2020
116122

@@ -122,8 +128,8 @@ Fixes
122128
* Fix several margin issues with lists, nested lists, and nested content
123129
* Add colon back to field lists
124130

125-
v0.5.0rc1
126-
=========
131+
0.5.0rc1
132+
========
127133

128134
:Date: May 6, 2020
129135

@@ -141,8 +147,10 @@ Other Changes
141147
* Moved build system from Grunt and friends to Webpack
142148
* Remove Modernizr, but keep html5shiv (#724, #525)
143149

144-
v0.4.3
145-
======
150+
.. _0.4.3:
151+
152+
0.4.3
153+
=====
146154

147155
:Date: Feb 12, 2019
148156

@@ -161,8 +169,10 @@ Fixes
161169
Other Changes
162170
--------------
163171

164-
v0.4.2
165-
======
172+
.. _0.4.2:
173+
174+
0.4.2
175+
=====
166176

167177
:Date: Oct 5, 2018
168178

@@ -181,8 +191,8 @@ Other Changes
181191
* Upload signed packages to PyPI with twine (#651)
182192
* Do not enforce period at the end of copyright statement (666)
183193

184-
v0.4.1
185-
======
194+
0.4.1
195+
=====
186196

187197
:Date: July 27, 2018
188198

@@ -199,8 +209,8 @@ Other Changes
199209

200210
* Add Sphinx as a dependency
201211

202-
v0.4.0
203-
======
212+
0.4.0
213+
=====
204214

205215
This version made some changes to how JS and CSS were included
206216
when the theme is used on Read the Docs.
@@ -222,8 +232,8 @@ Other Changes
222232
* Changed code and literals to use a native font stack (#612)
223233
* Fix small styling issues
224234

225-
v0.3.1
226-
======
235+
0.3.1
236+
=====
227237

228238
Fixes
229239
-----
@@ -234,8 +244,8 @@ Fixes
234244
* Add open list spacing (#591)
235245
* Fix table centering (#599)
236246

237-
v0.3.0
238-
======
247+
0.3.0
248+
=====
239249

240250
**Note**: this version resulted in some JavaScript incompatibilities when used on readthedocs.org
241251

@@ -268,40 +278,40 @@ Other Changes
268278
* Compress our Javascript files
269279
* Updated dependencies
270280

271-
v0.2.4
272-
======
281+
0.2.4
282+
=====
273283

274284
* Yet another patch to deal with extra builders outside Spinx, such as the
275285
singlehtml builders from the Read the Docs Sphinx extension
276286

277-
v0.2.3
278-
======
287+
0.2.3
288+
=====
279289

280290
* Temporarily patch Sphinx issue with ``singlehtml`` builder by inspecting the
281291
builder in template.
282292

283-
v0.2.2
284-
======
293+
0.2.2
294+
=====
285295

286296
* Roll back toctree fix in 0.2.1 (#367). This didn't fix the issue and
287297
introduced another bug with toctrees display.
288298

289-
v0.2.1
290-
======
299+
0.2.1
300+
=====
291301

292302
* Add the ``rel`` HTML attribute to the footer links which point to
293303
the previous and next pages.
294304
* Fix toctree issue caused by Sphinx singlehtml builder (#367)
295305

296-
v0.2.0
297-
======
306+
0.2.0
307+
=====
298308

299309
* Adds the ``comments`` block after the ``body`` block in the template
300310
* Added "Edit on GitLab" support
301311
* Many bug fixes
302312

303-
v0.1.10-alpha
304-
=============
313+
0.1.10-alpha
314+
============
305315

306316
.. note:: This is a pre-release version
307317

@@ -310,8 +320,8 @@ v0.1.10-alpha
310320
* Adds a ``body_begin`` block to the template
311321
* Added ``prev_next_buttons_location``
312322

313-
v0.1.9
314-
======
323+
0.1.9
324+
=====
315325

316326
* Intermittent scrollbar visibility bug fixed. This change introduces a
317327
backwards incompatible change to the theme's layout HTML. This should only be
@@ -327,8 +337,8 @@ v0.1.9
327337

328338
.. _#215: https://github.com/rtfd/sphinx_rtd_theme/pull/215
329339

330-
v0.1.8
331-
======
340+
0.1.8
341+
=====
332342

333343
* Start keeping changelog :)
334344
* Support for third and fourth level headers in the sidebar

docs/contributing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ To release a new version of the theme, core team will take the following steps:
175175
#. Bump the version by running ``bump2version [major|minor|patch|dev]``.
176176
This will automatically increase the correct part(s) of the version number,
177177
you do not need to specify the exact version number.
178-
We follow `semver <http://semver.org/>`_ and `PEP440`_
178+
We follow `semantic versioning`_ and `PEP440`_
179179
(with regards to alpha release and development versions). The version
180180
increment should reflect these releases and any potentially breaking changes.
181181
#. New versions are by default ``alpha`` releases. If this is a release candidate,
@@ -202,3 +202,4 @@ To release a new version of the theme, core team will take the following steps:
202202
this change.
203203

204204
.. _PEP440: https://www.python.org/dev/peps/pep-0440/
205+
.. _semantic versioning: http://semver.org/

0 commit comments

Comments
 (0)