Debian Codegraph @

docs/changelog.rst

raw
1 *********
2 Changelog
3 *********
4
5 .. seealso:: :ref:`howto_upgrade`
6
7 .. |theme_version| replace:: 3.1.0
8
9 .. _release-3.1.0:
10
11 3.1.0
12 =====
13
14 * Added support for docutils 0.22
15 * Added support for Sphinx 9.x
16
17 .. _release-3.1.0rc2:
18
19 3.1.0rc2
20 ========
21
22 * Added support for docutils 0.22
23
24 .. _release-3.1.0rc1:
25
26 3.1.0rc1
27 ========
28
29 * Added support for Sphinx 9.x
30
31 .. _release-3.0.2:
32
33 3.0.2
34 =====
35
36 * Show current translation when the flyout is attached
37 * Fix JavaScript issue that didn't allow users to disable selectors
38
39 .. _release-3.0.1:
40
41 3.0.1
42 =====
43
44 * Use black color for text in selectors.
45
46 .. _release-3.0.0:
47
48 3.0.0
49 =====
50
51 Final version.
52
53 .. _release-3.0.0rc4:
54
55 3.0.0rc4
56 ========
57
58 Fixes
59 -----
60
61 * Trigger "Read the Docs Search addon" when focusing the "Search docs" input in the navbar.
62
63 .. _release-3.0.0rc3:
64
65 3.0.0rc3
66 ========
67
68 Fixes
69 -----
70
71 * Show hidden version in selector if it's the current active version
72
73 .. _release-3.0.0rc2:
74
75 3.0.0rc2
76 ========
77
78 Added
79 -----
80
81 * Render version and language selectors below the documentation's title (top left).
82 This can be controlled via the new theme options ``version_selector`` and ``language_selector``.
83
84 .. _release-3.0.0rc1:
85
86 3.0.0rc1
87 ========
88
89 Added
90 -----
91
92 * Added support for Sphinx 8.
93 * Added support for Python 3.12.
94 * Added support for docutils ``>0.18, <0.22``.
95 * Populate ``html_context`` with all the environment variables starting with ``READTHEDOCS_``.
96
97 Deprecations
98 ------------
99
100 * Drop support for Sphinx ``<6.0``.
101 * Drop support for Python ``<3.8``.
102 * ``analytics_id`` and ``analytics_anonymize_ip`` are deprecated, use sphinxcontrib-googleanalytics_ instead.
103 * Drop support for all versions of Internet Explorer.
104 * Raise a warning when defining ``html_theme_path``. This was an old config that's not required anymore.
105 * ``extra_css_files`` is deprecated and support will be removed in a future version.
106
107 .. _sphinxcontrib-googleanalytics: https://pypi.org/project/sphinxcontrib-googleanalytics/
108
109 .. _release-2.1.0rc2:
110
111 2.1.0rc2
112 ========
113
114 Added
115 -----
116
117 * Added ``flyout_display`` option to display the flyout
118 ``attached`` (bottom of the sidebard) or ``hidden`` (default).
119
120 .. _release-2.1.0rc1:
121
122 2.1.0rc1
123 ========
124
125 Added
126 -----
127
128 * Render the menu versions/languages selector (flyout)
129 using the new ``readthedocs-addons-data-ready`` Read the Docs Addons ``CustomEvent``.
130
131 Deprecations
132 ------------
133
134 * Remove ``html5shiv``.
135
136 .. _release-2.0.0:
137
138 2.0.0
139 =====
140
141 Added
142 -----
143
144 * Support for Sphinx versions ``6.x`` and ``7.x``
145 * Support for docutils ``<=0.20``
146
147 Deprecations
148 ------------
149
150 * The HTML4 writer is now officially deprecated. An error will be thrown if your
151 project configuration still uses the HTML4 writer.
152 * Support for Sphinx versions < 5.0 was removed.
153 * In addition, our supported dependencies will match the dependencies from our
154 lowest supported Sphinx release, version 5.0: Python >= 3.6 and docutils > 0.14 and < 0.19
155
156 .. _release-1.3.0:
157
158 1.3.0
159 =====
160
161 Added
162 -----
163
164 * Relaxed requirements to include Sphinx release ``7.0``
165
166 .. _release-1.2.2:
167
168 1.2.2
169 =====
170
171 Fixes
172 -----
173
174 * Require `sphinxcontrib-jquery>=4,<5` (#1446)
175
176 Added
177 -----
178
179 * Styling for `:menuselection:` (#1426)
180
181
182 .. _release-1.2.1:
183
184 1.2.1
185 =====
186
187 Fixes
188 -----
189
190 * Load jQuery correctly when using latest sphinxcontrib-jquery release (#1448)
191
192
193 .. _release-1.2.0:
194
195 1.2.0
196 =====
197
198 Dependency changes
199 ------------------
200
201 * docutils 0.18 is supported. (#1381)
202 * Sphinx 6 support added
203 * Added ``sphinxcontrib-jquery`` as a dependency (#1385 #1421)
204 * Python 3.11 is officially supported and tested. (#1395)
205 * Python 3.4 and 3.5 are officially not supported (#1395)
206
207 Changes
208 -------
209
210 * Automatically use ``sphinxcontrib-jquery`` in Sphinx 6+ (#1399)
211 * Use new context vars ``logo_url``, ``favicon_url`` and ``root_doc`` when available (#1405)
212 * Translations updated: French, Hungarian, Croatian
213 * Translations added: Danish, Chinese (Taiwan)
214
215 Note for users of Sphinx<4
216 --------------------------
217
218 If you cannot use a more recent Sphinx release,
219 you should at least ensure you are using the most recent release for your major version.
220 Currently, these are Sphinx `1.8.6` and `2.4.5`.
221 Older releases may install unsupported versions of several dependencies, including Jinja2 and docutils.
222
223 Known issues
224 ------------
225
226 In some cases, jQuery is not loaded with Sphinx 6 on Read the Docs.
227 Workaround: You need to add ``sphinx_rtd_theme`` to ``extensions`` in your ``conf.py``.
228 See `readthedocs.org issue #9654`_ for updates.
229
230 .. _readthedocs.org issue #9654: https://github.com/readthedocs/readthedocs.org/pull/9654
231
232
233 .. _release-1.1.1:
234
235 1.1.1
236 =====
237
238 Fixes
239 -----
240
241 * Fix wrapping bug on cross references (#1368)
242
243 .. _release-1.1.0:
244
245 1.1.0
246 =====
247
248 Dependency Changes
249 ------------------
250
251 Many documentation projects depend on ``sphinx-rtd-theme`` without specifying a version of the theme (unpinned) while also depending on unpinned versions of Sphinx. The latest version of ``sphinx-rtd-theme`` ideally always supports the latest version of Sphinx, but this is now guaranteed.
252
253 This release adds upper bounds to direct dependencies ``Sphinx`` and ``docutils`` which will safeguard from mixing with possibly incompatible future versions of Sphinx & docutils.
254
255 * Sphinx versions supported: 1.6 to 5.2.x
256 * ``Sphinx<6`` (#1332)
257 * ``docutils<0.18`` (unchanged, but will be bumped in an upcoming release)
258
259
260 Features
261 --------
262
263 * Nicer styles for <kbd> (#967)
264 * New styling for breadcrumbs (#1073)
265
266
267 Fixes
268 -----
269
270 * Suffixes in Sphinx version caused build errors (#1345)
271 * Table cells with multiple paragraphs gets wrong formatting (#289)
272 * Definition lists rendered wrongly in api docs (#1052)
273 * Citation not styled properly (#1078)
274 * Long URLs did not wrap (#1193)
275
276
277 Minor Changes
278 -------------
279
280 * Sphinx 5.2 added to test matrix (#1348)
281 * Python 3.10 added to test matrix (#1334)
282 * Supplemental Docker setup for development (#1319)
283 * Most of setup.py migrated to setup.cfg (#1116)
284 * Jinja2 context variable ``sphinx_version_info`` is now ``(major, minor, -1)``, the patch component is always ``-1``. Reason: It's complicated. (#1345)
285
286
287 Incompatible Changes
288 --------------------
289
290 There are no known incompatible changes in this release. Support for ``docutils`` versions 0.18 and 0.19 are scheduled for our next release.
291
292
293 .. _release-1.0.0:
294
295 1.0.0
296 =====
297
298 Incompatible Changes
299 --------------------
300
301 * The minimum supported python version is now 2.7 or 3.4 and greater (#1093)
302 * The minimum supported Sphinx version is now 1.6 (#1091)
303
304 Deprecated
305 ----------
306
307 * Support for Sphinx's HTML4 writer is deprecated and will be removed in version 2.0 (#1091)
308
309 Features
310 --------
311
312 * Add support for Sphinx 4.x (#1123)
313 * Add support for Docutils 0.17 (#1185 and #1199)
314 * Fixed logo scaling on IE11 (#1183)
315 * Added support for logos as URLs (#1171)
316 * Align top and side navigation background colors on mobile (#1132)
317 * Added support for deep toc levels (#1089)
318 * Updated translations for Chinese, Dutch, Estonian, French, German, Italian,
319 Lithuanian, Persian, Polish, Portuguese, Russian, Spanish, Swedish, and
320 Turkish locales
321
322 A number of accessibility features were added in this release:
323
324 * Allow keyboard to toggle menu expansion (#1167)
325 * Allow keyboard to activate permalink (#1162)
326 * Show keyboard focus on buttons (#1161)
327 * Maintain aria-expanded along with .current in menu (#1151)
328 * Respect tab order for prev/next buttons (#1051)
329
330 Fixes
331 -----
332
333 * Updated Google analytics integration (#1129)
334 * Add classifier separation on Sphinx 2+ HTML4 writer (#1192)
335 * Added missing space char in footer (#1188)
336 * Fix navigation right padding on level2+ elements (#1068)
337 * Fix navigation expansion button sizes (#1067)
338 * Wrap inline literals (#1050)
339 * Fix aria labels (#1056)
340 * Don't toggle navigation terminal nodes (#1049)
341 * Fix ``<pre>`` overflow (#1220)
342 * Fix literal/ref style inside ``<dl>`` (#1088)
343
344 Other Changes
345 -------------
346
347 * Update npm development dependencies (#1096)
348 * Don't require npm to build from source (#1039)
349 * Use regular toctree instead of toc for singlehtml builder (#507)
350 * Cleanup whitespace in templates (#1060)
351
352 .. _release-0.5.2:
353
354 0.5.2
355 =====
356
357 :Date: April 5, 2021
358
359 .. note:: This commit will not be in ``master``, but was branched directly off ``0.5.1`` to minimize issues.
360 The next full release will contain all PR's previously merged.
361
362 * Depend on docutils < 0.17 (#1113)
363
364 .. _release-0.5.1:
365
366 0.5.1
367 =====
368
369 :Date: January 4, 2021
370
371 Fixes
372 -----
373
374 * Set ``url_root`` properly on index (#1025)
375 * Do not load ``language_data.js`` in non-search pages (#1021)
376 * Hide the search box on any ``singlehtml`` like builder (#975)
377 * Fix ``vcs_pageview_mode`` template parameter (#1010)
378 * Mark nex/prev icons as aria-hidden (#1007)
379 * Use well-formed XML syntax (#1006)
380 * Footer: show both ``commit`` and ``last_updated`` if available (#897)
381 * Search page: don't show "edit on" links (#935)
382
383 New Features
384 ------------
385
386 * New theme option to enable anonymous ip addresses when using Google Analytics (#889)
387
388 Other Changes
389 -------------
390
391 * The ``canonical_url`` option was deprecated in favor of Sphinx's ``html_baseurl`` (#1003)
392 * Add ``contentinfo`` block to ``footer.html`` template (#896)
393 * Make Copyright template match sphinx's basic (#933)
394 * Packaging: include ``bin/preinstall.js`` (#1005)
395
396 .. _release-0.5.0:
397
398 0.5.0
399 =====
400
401 :Date: Jun 17, 2020
402
403 Fixes
404 -----
405
406 * Fix bullet list spacing to respect simple/complex list styles
407
408 .. _release-0.5.0rc2:
409
410 0.5.0rc2
411 ========
412
413 :Date: June 5, 2020
414
415 Fixes
416 -----
417
418 * Fix issue with simple definition lists that was missed
419 * Change FOUT back to FOIT
420 * Fix several margin issues with lists, nested lists, and nested content
421 * Add colon back to field lists
422
423 .. _release-0.5.0rc1:
424
425 0.5.0rc1
426 ========
427
428 :Date: May 6, 2020
429
430 Fixes
431 -----
432
433 * Fix many styling issues that look different when using the Sphinx HTML5 writer
434
435 Other Changes
436 --------------
437
438 * Add the ``navigation`` template block around the navigation area.
439 * Added i18n support using Babel
440 * Added translations for 10 new languages
441 * Moved build system from Grunt and friends to Webpack
442 * Remove Modernizr, but keep html5shiv (#724, #525)
443
444 .. _release-0.4.3:
445
446 0.4.3
447 =====
448
449 :Date: Feb 12, 2019
450
451 New Features
452 -------------
453
454 Fixes
455 -----
456
457 * Fix scrolling to active item in sidebar on load (#214)
458 * Style caption link for code and literal blocks
459 * Fix inconsistent font size and line height for autodoc "raises" and "returns" (#267)
460 * Fix last_updated notice appearing in same line as copyright notice (#704)
461
462
463 Other Changes
464 --------------
465
466 .. _release-0.4.2:
467
468 0.4.2
469 =====
470
471 :Date: Oct 5, 2018
472
473 New Features
474 -------------
475
476 Fixes
477 -----
478
479 * Set base font size on <html> (#668)
480 * Fix HTML search not working with Sphinx-1.8 (#672)
481
482 Other Changes
483 --------------
484
485 * Upload signed packages to PyPI with twine (#651)
486 * Do not enforce period at the end of copyright statement (666)
487
488 0.4.1
489 =====
490
491 :Date: July 27, 2018
492
493 New Features
494 -------------
495
496 Fixes
497 -----
498
499 * Line height adjustments for Liberation Mono (#656)
500
501 Other Changes
502 --------------
503
504 * Add Sphinx as a dependency
505
506 0.4.0
507 =====
508
509 This version made some changes to how JS and CSS were included
510 when the theme is used on Read the Docs.
511
512
513 New Features
514 -------------
515
516 Fixes
517 -----
518
519 * Do not rely on readthedocs.org for CSS/JS (#614)
520 * Color accessibility improvements on the left navigation
521
522 Other Changes
523 ---------------
524
525 * Write theme version and build date at top of JavaScript and CSS
526 * Changed code and literals to use a native font stack (#612)
527 * Fix small styling issues
528
529 0.3.1
530 =====
531
532 Fixes
533 -----
534
535 * Revert part of #576 causing display issues with version selector menu
536 * Backwards compatibility fixes for pre-0.3.0 releases (#623)
537 * Fix mkdocs version selector (#622)
538 * Add open list spacing (#591)
539 * Fix table centering (#599)
540
541 0.3.0
542 =====
543
544 **Note**: this version resulted in some JavaScript incompatibilities when used on readthedocs.org
545
546 New Features
547 -------------
548
549 * Add html language attribute
550 * Allow setting 'rel' and 'title' attributes for stylesheets (#551)
551 * Add option to style external links
552 * Add github, gitlab, bitbucket page arguments option
553 * Add pygments support
554 * Add setuptools entry point allowing to use ``sphinx_rtd_theme`` as
555 Sphinx ``html_theme`` directly.
556 * Add language to the JS output variable
557
558 Fixes
559 -----
560
561 * Fix some HTML warnings and errors
562 * Fix many styling issues
563 * Fix many sidebar glitches
564 * Fix line number spacing to align with the code lines
565 * Hide Edit links on auto created pages
566 * Include missing font files with the theme
567
568 Other Changes
569 --------------
570
571 * Significant improvement of our documentation
572 * Compress our Javascript files
573 * Updated dependencies
574
575 0.2.4
576 =====
577
578 * Yet another patch to deal with extra builders outside Spinx, such as the
579 singlehtml builders from the Read the Docs Sphinx extension
580
581 0.2.3
582 =====
583
584 * Temporarily patch Sphinx issue with ``singlehtml`` builder by inspecting the
585 builder in template.
586
587 0.2.2
588 =====
589
590 * Roll back toctree fix in 0.2.1 (#367). This didn't fix the issue and
591 introduced another bug with toctrees display.
592
593 0.2.1
594 =====
595
596 * Add the ``rel`` HTML attribute to the footer links which point to
597 the previous and next pages.
598 * Fix toctree issue caused by Sphinx singlehtml builder (#367)
599
600 0.2.0
601 =====
602
603 * Adds the ``comments`` block after the ``body`` block in the template
604 * Added "Edit on GitLab" support
605 * Many bug fixes
606
607 0.1.10-alpha
608 ============
609
610 .. note:: This is a pre-release version
611
612 * Removes Sphinx dependency
613 * Fixes hamburger on mobile display
614 * Adds a ``body_begin`` block to the template
615 * Added ``prev_next_buttons_location``
616
617 0.1.9
618 =====
619
620 * Intermittent scrollbar visibility bug fixed. This change introduces a
621 backwards incompatible change to the theme's layout HTML. This should only be
622 a problem for derivative themes that have overridden styling of nav elements
623 using direct descendant selectors. See `#215`_ for more information.
624 * Safari overscroll bug fixed
625 * Version added to the nav header
626 * Revision id was added to the documentation footer if you are using RTD
627 * An extra block, ``extrafooter`` was added to allow extra content in the
628 document footer block
629 * Fixed modernizr URL
630 * Small display style changes on code blocks, figure captions, and nav elements
631
632 .. _#215: https://github.com/rtfd/sphinx_rtd_theme/pull/215
633
634 0.1.8
635 =====
636
637 * Start keeping changelog :)
638 * Support for third and fourth level headers in the sidebar
639 * Add support for Sphinx 1.3
640 * Add sidebar headers for :caption: in Sphinx toctree
641 * Clean up sidebar scrolling behavior so it never scrolls out of view