Debian Codegraph @

doc/extdev/deprecated.rst

raw
1 .. _dev-deprecated-apis:
2
3 Deprecated APIs
4 ===============
5
6 On developing Sphinx, we are always careful to the compatibility of our APIs.
7 But, sometimes, the change of interface are needed for some reasons. In such
8 cases, we've marked them as deprecated. And they are kept during the two
9 major versions (for more details, please see :ref:`deprecation-policy`).
10
11 The following is a list of deprecated interfaces.
12
13 .. tabularcolumns:: >{\raggedright}\Y{.4}>{\centering}\Y{.1}>{\sphinxcolorblend{!95!red}\centering\noindent\bfseries\color{red}}\Y{.12}>{\raggedright\arraybackslash}\Y{.38}
14
15 .. list-table:: deprecated APIs
16 :header-rows: 1
17 :class: deprecated
18 :widths: 40, 10, 10, 40
19
20 * - Target
21 - Deprecated
22 - Removed
23 - Alternatives
24
25 * - ``sphinx.io`` (entire module)
26 - 9.0
27 - 11.0
28 - ``docutils.io`` or standard Python I/O
29
30 * - ``sphinx.builders.Builder.app``
31 - 9.0
32 - 11.0
33 - N/A
34
35 * - ``sphinx.environment.BuildEnvironment.app``
36 - 9.0
37 - 11.0
38 - N/A
39
40 * - ``sphinx.transforms.Transform.app``
41 - 9.0
42 - 11.0
43 - N/A
44
45 * - ``sphinx.transforms.post_transforms.SphinxPostTransform.app``
46 - 9.0
47 - 11.0
48 - N/A
49
50 * - ``sphinx.events.EventManager.app``
51 - 9.0
52 - 11.0
53 - N/A
54
55 * - ``sphinx.builders.singlehtml.SingleFileHTMLBuilder.fix_refuris``
56 - 8.2
57 - 10.0
58 - N/A
59
60 * - ``sphinx.util.FilenameUniqDict``
61 - 8.1
62 - 10.0
63 - N/A
64
65 * - ``sphinx.util.DownloadFiles``
66 - 8.1
67 - 10.0
68 - N/A
69
70 * - ``sphinx.ext.intersphinx.normalize_intersphinx_mapping``
71 - 8.0
72 - 10.0
73 - ``sphinx.ext.intersphinx.validate_intersphinx_mapping``
74
75 * - ``sphinx.testing.util.strip_escseq``
76 - 7.3
77 - 9.0
78 - ``sphinx.util.console.strip_colors``
79
80 * - Old-style Makefiles in ``sphinx-quickstart``
81 and the :option:`!-M`, :option:`!-m`, :option:`!--no-use-make-mode`,
82 and :option:`!--use-make-mode` options
83 - 7.3
84 - 9.0
85 - Vendoring the `old style Makefile templates`__
86
87 __ https://github.com/sphinx-doc/sphinx/blob/v7.0.0/sphinx/templates/quickstart/Makefile_t
88
89 * - ``sphinx.ext.autodoc.preserve_defaults.get_function_def()``
90 - 7.2
91 - 9.0
92 - N/A (replacement is private)
93
94 * - ``sphinx.builders.html.StandaloneHTMLBuilder.css_files``
95 - 7.2
96 - 9.0
97 - N/A
98
99 * - ``sphinx.builders.html.StandaloneHTMLBuilder.script_files``
100 - 7.2
101 - 9.0
102 - N/A
103
104 * - ``sphinx.builders.html.Stylesheet``
105 - 7.2
106 - 9.0
107 - ``sphinx.application.Sphinx.add_css_file()``
108
109 * - ``sphinx.builders.html.JavaScript``
110 - 7.2
111 - 9.0
112 - ``sphinx.application.Sphinx.add_js_file()``
113
114 * - ``sphinx.util.split_into``
115 - 7.2
116 - 9.0
117 - N/A
118
119 * - ``sphinx.util.split_index_msg``
120 - 7.2
121 - 9.0
122 - ``sphinx.util.index_entries.split_index_msg``
123
124 * - ``sphinx.testing.path``
125 - 7.2
126 - 9.0
127 - ``os.path`` or ``pathlib``
128
129 * - ``sphinx.util.md5``
130 - 7.2
131 - 9.0
132 - ``hashlib.md5``
133
134 * - ``sphinx.util.sha1``
135 - 7.2
136 - 9.0
137 - ``hashlib.sha1``
138
139 * - ``sphinx.util.osutil.cd``
140 - 6.2
141 - 8.0
142 - ``contextlib.chdir``
143
144 * - ``sphinx.util.save_traceback``
145 - 6.1
146 - 8.0
147 - ``sphinx.util.exceptions.save_traceback``
148
149 * - ``sphinx.util.format_exception_cut_frames``
150 - 6.1
151 - 8.0
152 - ``sphinx.util.exceptions.format_exception_cut_frames``
153
154 * - ``sphinx.util.epoch_to_rfc1123``
155 - 6.1
156 - 8.0
157 - ``sphinx.util.http_date.epoch_to_rfc1123``
158
159 * - ``sphinx.util.rfc1123_to_epoch``
160 - 6.1
161 - 8.0
162 - ``sphinx.util.http_date.rfc1123_to_epoch``
163
164 * - ``sphinx.util.status_iterator``
165 - 6.1
166 - 8.0
167 - ``sphinx.util.display.status_iterator``
168
169 * - ``sphinx.util.display_chunk``
170 - 6.1
171 - 8.0
172 - ``sphinx.util.display.display_chunk``
173
174 * - ``sphinx.util.SkipProgressMessage``
175 - 6.1
176 - 8.0
177 - ``sphinx.util.display.SkipProgressMessage``
178
179 * - ``sphinx.util.progress_message``
180 - 6.1
181 - 8.0
182 - ``sphinx.util.display.progress_message``
183
184 * - ``sphinx.util.typing.stringify``
185 - 6.1
186 - 8.0
187 - ``sphinx.util.typing.stringify_annotation``
188
189 * - HTML 4 support
190 - 5.2
191 - 7.0
192 - N/A
193
194 * - ``sphinx.util.path_stabilize``
195 - 5.1
196 - 7.0
197 - ``sphinx.util.osutil.path_stabilize``
198
199 * - ``sphinx.util.get_matching_files``
200 - 5.1
201 - 7.0
202 - ``sphinx.util.matching.get_matching_files``
203
204 * - ``sphinx.ext.napoleon.iterators``
205 - 5.1
206 - 7.0
207 - ``pockets.iterators``
208
209 * - ``sphinx.util.stemmer``
210 - 5.1
211 - 7.0
212 - ``snowballstemmer``
213
214 * - ``sphinx.util.jsdump``
215 - 5.0
216 - 7.0
217 - The standard library ``json`` module.
218
219 * - The Setuptools integration (``setup.py build_sphinx``)
220 - 5.0
221 - 7.0
222 - N/A
223
224 * - The ``locale`` argument of ``sphinx.util.i18n:babel_format_date()``
225 - 5.0
226 - 7.0
227 - N/A
228
229 * - The ``language`` argument of ``sphinx.util.i18n:format_date()``
230 - 5.0
231 - 7.0
232 - N/A
233
234 * - ``sphinx.builders.html.html5_ready``
235 - 5.0
236 - 7.0
237 - N/A
238
239 * - ``sphinx.io.read_doc()``
240 - 5.0
241 - 7.0
242 - ``sphinx.builders.Builder.read_doc()``
243
244 * - ``sphinx.util.docutils.__version_info__``
245 - 5.0
246 - 7.0
247 - ``docutils.__version_info__``
248
249 * - ``sphinx.util.docutils.is_html5_writer_available()``
250 - 5.0
251 - 7.0
252 - N/A
253
254 * - ``sphinx.writers.latex.LaTeXWriter.docclasses``
255 - 5.0
256 - 7.0
257 - N/A
258
259 * - ``sphinx.ext.napoleon.docstring.GoogleDocstring._qualify_name()``
260 - 4.5
261 - 6.0
262 - N/A
263
264 * - ``sphinx.ext.autodoc.AttributeDocumenter._datadescriptor``
265 - 4.3
266 - 6.0
267 - N/A
268
269 * - ``sphinx.writers.html.HTMLTranslator._fieldlist_row_index``
270 - 4.3
271 - 6.0
272 - ``sphinx.writers.html.HTMLTranslator._fieldlist_row_indices``
273
274 * - ``sphinx.writers.html.HTMLTranslator._table_row_index``
275 - 4.3
276 - 6.0
277 - ``sphinx.writers.html.HTMLTranslator._table_row_indices``
278
279 * - ``sphinx.writers.html5.HTML5Translator._fieldlist_row_index``
280 - 4.3
281 - 6.0
282 - ``sphinx.writers.html5.HTML5Translator._fieldlist_row_indices``
283
284 * - ``sphinx.writers.html5.HTML5Translator._table_row_index``
285 - 4.3
286 - 6.0
287 - ``sphinx.writers.html5.HTML5Translator._table_row_indices``
288
289 * - The optional argument ``app`` for ``sphinx.environment.BuildEnvironment``
290 - 4.1
291 - 6.0
292 - The required argument
293
294 * - ``sphinx.application.Sphinx.html_theme``
295 - 4.1
296 - 6.0
297 - ``sphinx.registry.SphinxComponentRegistry.html_themes``
298
299 * - ``sphinx.ext.autosummary._app``
300 - 4.1
301 - 6.0
302 - N/A
303
304 * - ``sphinx.util.docstrings.extract_metadata()``
305 - 4.1
306 - 6.0
307 - ``sphinx.util.docstrings.separate_metadata()``
308
309 * - ``favicon`` variable in HTML templates
310 - 4.0
311 - 6.0
312 - ``favicon_url``
313
314 * - ``logo`` variable in HTML templates
315 - 4.0
316 - 6.0
317 - ``logo_url``
318
319 * - ``sphinx.directives.patches.ListTable``
320 - 4.0
321 - 6.0
322 - ``docutils.parsers.rst.directives.tables.ListSVTable``
323
324 * - ``sphinx.directives.patches.RSTTable``
325 - 4.0
326 - 6.0
327 - ``docutils.parsers.rst.directives.tables.RSTTable``
328
329 * - ``sphinx.ext.autodoc.directive.DocumenterBridge.filename_set``
330 - 4.0
331 - 6.0
332 - ``sphinx.ext.autodoc.directive.DocumenterBridge.record_dependencies``
333
334 * - ``sphinx.ext.autodoc.directive.DocumenterBridge.warn()``
335 - 4.0
336 - 6.0
337 - :ref:`logging-api`
338
339 * - ``sphinx.registry.SphinxComponentRegistry.get_source_input()``
340 - 4.0
341 - 6.0
342 - N/A
343
344 * - ``sphinx.registry.SphinxComponentRegistry.source_inputs``
345 - 4.0
346 - 6.0
347 - N/A
348
349 * - ``sphinx.transforms.FigureAligner``
350 - 4.0
351 - 6.0
352 - N/A
353
354 * - ``sphinx.util.pycompat.convert_with_2to3()``
355 - 4.0
356 - 6.0
357 - N/A
358
359 * - ``sphinx.util.pycompat.execfile_()``
360 - 4.0
361 - 6.0
362 - N/A
363
364 * - ``sphinx.util.smartypants``
365 - 4.0
366 - 6.0
367 - ``docutils.utils.smartquotes``
368
369 * - ``sphinx.util.typing.DirectiveOption``
370 - 4.0
371 - 6.0
372 - N/A
373
374 * - pending_xref node for viewcode extension
375 - 3.5
376 - 5.0
377 - ``sphinx.ext.viewcode.viewcode_anchor``
378
379 * - ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.anchors_ignore``
380 - 3.5
381 - 5.0
382 - N/A
383
384 * - ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.auth``
385 - 3.5
386 - 5.0
387 - N/A
388
389 * - ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.broken``
390 - 3.5
391 - 5.0
392 - N/A
393
394 * - ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.good``
395 - 3.5
396 - 5.0
397 - N/A
398
399 * - ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.redirected``
400 - 3.5
401 - 5.0
402 - N/A
403
404 * - ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.rqueue``
405 - 3.5
406 - 5.0
407 - N/A
408
409 * - ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.to_ignore``
410 - 3.5
411 - 5.0
412 - N/A
413
414 * - ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.workers``
415 - 3.5
416 - 5.0
417 - N/A
418
419 * - ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.wqueue``
420 - 3.5
421 - 5.0
422 - N/A
423
424 * - ``sphinx.builders.linkcheck.node_line_or_0()``
425 - 3.5
426 - 5.0
427 - ``sphinx.util.nodes.get_node_line()``
428
429 * - ``sphinx.ext.autodoc.AttributeDocumenter.isinstanceattribute()``
430 - 3.5
431 - 5.0
432 - N/A
433
434 * - ``sphinx.ext.autodoc.importer.get_module_members()``
435 - 3.5
436 - 5.0
437 - ``sphinx.ext.autodoc.ModuleDocumenter.get_module_members()``
438
439 * - ``sphinx.ext.autosummary.generate._simple_info()``
440 - 3.5
441 - 5.0
442 - :ref:`logging-api`
443
444 * - ``sphinx.ext.autosummary.generate._simple_warn()``
445 - 3.5
446 - 5.0
447 - :ref:`logging-api`
448
449 * - ``sphinx.writers.html.HTMLTranslator.permalink_text``
450 - 3.5
451 - 5.0
452 - :confval:`html_permalinks_icon`
453
454 * - ``sphinx.writers.html5.HTML5Translator.permalink_text``
455 - 3.5
456 - 5.0
457 - :confval:`html_permalinks_icon`
458
459 * - The ``follow_wrapped`` argument of ``sphinx.util.inspect.signature()``
460 - 3.4
461 - 5.0
462 - N/A
463
464 * - The ``no_docstring`` argument of
465 ``sphinx.ext.autodoc.Documenter.add_content()``
466 - 3.4
467 - 5.0
468 - ``sphinx.ext.autodoc.Documenter.get_doc()``
469
470 * - ``sphinx.ext.autodoc.Documenter.get_object_members()``
471 - 3.4
472 - 6.0
473 - ``sphinx.ext.autodoc.ClassDocumenter.get_object_members()``
474
475 * - ``sphinx.ext.autodoc.DataDeclarationDocumenter``
476 - 3.4
477 - 5.0
478 - ``sphinx.ext.autodoc.DataDocumenter``
479
480 * - ``sphinx.ext.autodoc.GenericAliasDocumenter``
481 - 3.4
482 - 5.0
483 - ``sphinx.ext.autodoc.DataDocumenter``
484
485 * - ``sphinx.ext.autodoc.InstanceAttributeDocumenter``
486 - 3.4
487 - 5.0
488 - ``sphinx.ext.autodoc.AttributeDocumenter``
489
490 * - ``sphinx.ext.autodoc.SlotsAttributeDocumenter``
491 - 3.4
492 - 5.0
493 - ``sphinx.ext.autodoc.AttributeDocumenter``
494
495 * - ``sphinx.ext.autodoc.TypeVarDocumenter``
496 - 3.4
497 - 5.0
498 - ``sphinx.ext.autodoc.DataDocumenter``
499
500 * - ``sphinx.ext.autodoc.directive.DocumenterBridge.reporter``
501 - 3.5
502 - 5.0
503 - ``sphinx.util.logging``
504
505 * - ``sphinx.ext.autodoc.importer._getannotations()``
506 - 3.4
507 - 4.0
508 - ``sphinx.util.inspect.getannotations()``
509
510 * - ``sphinx.ext.autodoc.importer._getmro()``
511 - 3.4
512 - 4.0
513 - ``sphinx.util.inspect.getmro()``
514
515 * - ``sphinx.pycode.ModuleAnalyzer.parse()``
516 - 3.4
517 - 5.0
518 - ``sphinx.pycode.ModuleAnalyzer.analyze()``
519
520 * - ``sphinx.util.osutil.movefile()``
521 - 3.4
522 - 5.0
523 - ``os.replace()``
524
525 * - ``sphinx.util.requests.is_ssl_error()``
526 - 3.4
527 - 5.0
528 - N/A
529
530 * - ``sphinx.builders.latex.LaTeXBuilder.usepackages``
531 - 3.3
532 - 5.0
533 - N/A
534
535 * - ``sphinx.builders.latex.LaTeXBuilder.usepackages_afger_hyperref``
536 - 3.3
537 - 5.0
538 - N/A
539
540 * - ``sphinx.ext.autodoc.SingledispatchFunctionDocumenter``
541 - 3.3
542 - 5.0
543 - ``sphinx.ext.autodoc.FunctionDocumenter``
544
545 * - ``sphinx.ext.autodoc.SingledispatchMethodDocumenter``
546 - 3.3
547 - 5.0
548 - ``sphinx.ext.autodoc.MethodDocumenter``
549
550 * - ``sphinx.ext.autodoc.members_set_option()``
551 - 3.2
552 - 5.0
553 - N/A
554
555 * - ``sphinx.ext.autodoc.merge_special_members_option()``
556 - 3.2
557 - 5.0
558 - ``sphinx.ext.autodoc.merge_members_option()``
559
560 * - ``sphinx.writers.texinfo.TexinfoWriter.desc``
561 - 3.2
562 - 5.0
563 - ``sphinx.writers.texinfo.TexinfoWriter.descs``
564
565 * - The first argument for
566 ``sphinx.ext.autosummary.generate.AutosummaryRenderer`` has been changed
567 to Sphinx object
568 - 3.1
569 - 5.0
570 - N/A
571
572 * - ``sphinx.ext.autosummary.generate.AutosummaryRenderer`` takes an object
573 type as an argument
574 - 3.1
575 - 5.0
576 - N/A
577
578 * - The ``ignore`` argument of ``sphinx.ext.autodoc.Documenter.get_doc()``
579 - 3.1
580 - 5.0
581 - N/A
582
583 * - The ``template_dir`` argument of
584 ``sphinx.ext.autosummary.generate.AutosummaryRenderer``
585 - 3.1
586 - 5.0
587 - N/A
588
589 * - The ``module`` argument of
590 ``sphinx.ext.autosummary.generate.find_autosummary_in_docstring()``
591 - 3.0
592 - 5.0
593 - N/A
594
595 * - The ``builder`` argument of
596 ``sphinx.ext.autosummary.generate.generate_autosummary_docs()``
597 - 3.1
598 - 5.0
599 - N/A
600
601 * - The ``template_dir`` argument of
602 ``sphinx.ext.autosummary.generate.generate_autosummary_docs()``
603 - 3.1
604 - 5.0
605 - N/A
606
607 * - ``sphinx.ext.autosummary.generate.AutosummaryRenderer.exists()``
608 - 3.1
609 - 5.0
610 - N/A
611
612 * - The ``ignore`` argument of ``sphinx.util.docstring.prepare_docstring()``
613 - 3.1
614 - 5.0
615 - N/A
616
617 * - ``sphinx.util.rpartition()``
618 - 3.1
619 - 5.0
620 - ``str.rpartition()``
621
622 * - ``desc_signature['first']``
623 -
624 - 3.0
625 - N/A
626
627 * - ``sphinx.directives.DescDirective``
628 - 3.0
629 - 5.0
630 - ``sphinx.directives.ObjectDescription``
631
632 * - ``sphinx.domains.std.StandardDomain.add_object()``
633 - 3.0
634 - 5.0
635 - ``sphinx.domains.std.StandardDomain.note_object()``
636
637 * - ``sphinx.domains.python.PyDecoratorMixin``
638 - 3.0
639 - 5.0
640 - N/A
641
642 * - ``sphinx.ext.autodoc.get_documenters()``
643 - 3.0
644 - 5.0
645 - ``sphinx.registry.documenters``
646
647 * - ``sphinx.ext.autosummary.process_autosummary_toc()``
648 - 3.0
649 - 5.0
650 - N/A
651
652 * - ``sphinx.parsers.Parser.app``
653 - 3.0
654 - 5.0
655 - N/A
656
657 * - ``sphinx.testing.path.Path.text()``
658 - 3.0
659 - 5.0
660 - ``sphinx.testing.path.Path.read_text()``
661
662 * - ``sphinx.testing.path.Path.bytes()``
663 - 3.0
664 - 5.0
665 - ``sphinx.testing.path.Path.read_bytes()``
666
667 * - ``sphinx.util.inspect.getargspec()``
668 - 3.0
669 - 5.0
670 - ``inspect.getargspec()``
671
672 * - ``sphinx.writers.latex.LaTeXWriter.format_docclass()``
673 - 3.0
674 - 5.0
675 - LaTeX Themes
676
677 * - ``decode`` argument of ``sphinx.pycode.ModuleAnalyzer()``
678 - 2.4
679 - 4.0
680 - N/A
681
682 * - ``sphinx.directives.other.Index``
683 - 2.4
684 - 4.0
685 - ``sphinx.domains.index.IndexDirective``
686
687 * - ``sphinx.environment.temp_data['gloss_entries']``
688 - 2.4
689 - 4.0
690 - ``documents.nameids``
691
692 * - ``sphinx.environment.BuildEnvironment.indexentries``
693 - 2.4
694 - 4.0
695 - ``sphinx.domains.index.IndexDomain``
696
697 * - ``sphinx.environment.collectors.indexentries.IndexEntriesCollector``
698 - 2.4
699 - 4.0
700 - ``sphinx.domains.index.IndexDomain``
701
702 * - ``sphinx.io.FiletypeNotFoundError``
703 - 2.4
704 - 4.0
705 - ``sphinx.errors.FiletypeNotFoundError``
706
707 * - ``sphinx.ext.apidoc.INITPY``
708 - 2.4
709 - 4.0
710 - N/A
711
712 * - ``sphinx.ext.apidoc.shall_skip()``
713 - 2.4
714 - 4.0
715 - ``sphinx.ext.apidoc.is_skipped_package``
716
717 * - ``sphinx.io.get_filetype()``
718 - 2.4
719 - 4.0
720 - ``sphinx.util.get_filetype()``
721
722 * - ``sphinx.pycode.ModuleAnalyzer.encoding``
723 - 2.4
724 - 4.0
725 - N/A
726
727 * - ``sphinx.roles.Index``
728 - 2.4
729 - 4.0
730 - ``sphinx.domains.index.IndexRole``
731
732 * - ``sphinx.util.detect_encoding()``
733 - 2.4
734 - 4.0
735 - ``tokenize.detect_encoding()``
736
737 * - ``sphinx.util.get_module_source()``
738 - 2.4
739 - 4.0
740 - N/A
741
742 * - ``sphinx.util.inspect.Signature``
743 - 2.4
744 - 4.0
745 - ``sphinx.util.inspect.signature`` and
746 ``sphinx.util.inspect.stringify_signature()``
747
748 * - ``sphinx.util.inspect.safe_getmembers()``
749 - 2.4
750 - 4.0
751 - ``inspect.getmembers()``
752
753 * - ``sphinx.writers.latex.LaTeXTranslator.settings.author``
754 - 2.4
755 - 4.0
756 - N/A
757
758 * - ``sphinx.writers.latex.LaTeXTranslator.settings.contentsname``
759 - 2.4
760 - 4.0
761 - ``document['contentsname']``
762
763 * - ``sphinx.writers.latex.LaTeXTranslator.settings.docclass``
764 - 2.4
765 - 4.0
766 - ``document['docclass']``
767
768 * - ``sphinx.writers.latex.LaTeXTranslator.settings.docname``
769 - 2.4
770 - 4.0
771 - N/A
772
773 * - ``sphinx.writers.latex.LaTeXTranslator.settings.title``
774 - 2.4
775 - 4.0
776 - N/A
777
778 * - ``sphinx.writers.latex.ADDITIONAL_SETTINGS``
779 - 2.4
780 - 4.0
781 - ``sphinx.builders.latex.constants.ADDITIONAL_SETTINGS``
782
783 * - ``sphinx.writers.latex.DEFAULT_SETTINGS``
784 - 2.4
785 - 4.0
786 - ``sphinx.builders.latex.constants.DEFAULT_SETTINGS``
787
788 * - ``sphinx.writers.latex.LUALATEX_DEFAULT_FONTPKG``
789 - 2.4
790 - 4.0
791 - ``sphinx.builders.latex.constants.LUALATEX_DEFAULT_FONTPKG``
792
793 * - ``sphinx.writers.latex.PDFLATEX_DEFAULT_FONTPKG``
794 - 2.4
795 - 4.0
796 - ``sphinx.builders.latex.constants.PDFLATEX_DEFAULT_FONTPKG``
797
798 * - ``sphinx.writers.latex.XELATEX_DEFAULT_FONTPKG``
799 - 2.4
800 - 4.0
801 - ``sphinx.builders.latex.constants.XELATEX_DEFAULT_FONTPKG``
802
803 * - ``sphinx.writers.latex.XELATEX_GREEK_DEFAULT_FONTPKG``
804 - 2.4
805 - 4.0
806 - ``sphinx.builders.latex.constants.XELATEX_GREEK_DEFAULT_FONTPKG``
807
808 * - ``sphinx.builders.gettext.POHEADER``
809 - 2.3
810 - 4.0
811 - ``sphinx/templates/gettext/message.pot_t`` (template file)
812
813 * - ``sphinx.io.SphinxStandaloneReader.app``
814 - 2.3
815 - 4.0
816 - ``sphinx.io.SphinxStandaloneReader.setup()``
817
818 * - ``sphinx.io.SphinxStandaloneReader.env``
819 - 2.3
820 - 4.0
821 - ``sphinx.io.SphinxStandaloneReader.setup()``
822
823 * - ``sphinx.util.texescape.tex_escape_map``
824 - 2.3
825 - 4.0
826 - ``sphinx.util.texescape.escape()``
827
828 * - ``sphinx.util.texescape.tex_hl_escape_map_new``
829 - 2.3
830 - 4.0
831 - ``sphinx.util.texescape.hlescape()``
832
833 * - ``sphinx.writers.latex.LaTeXTranslator.no_contractions``
834 - 2.3
835 - 4.0
836 - N/A
837
838 * - ``sphinx.domains.math.MathDomain.add_equation()``
839 - 2.2
840 - 4.0
841 - ``sphinx.domains.math.MathDomain.note_equation()``
842
843 * - ``sphinx.domains.math.MathDomain.get_next_equation_number()``
844 - 2.2
845 - 4.0
846 - ``sphinx.domains.math.MathDomain.note_equation()``
847
848 * - The ``info`` and ``warn`` arguments of
849 ``sphinx.ext.autosummary.generate.generate_autosummary_docs()``
850 - 2.2
851 - 4.0
852 - ``logging.info()`` and ``logging.warning()``
853
854 * - ``sphinx.ext.autosummary.generate._simple_info()``
855 - 2.2
856 - 4.0
857 - ``logging.info()``
858
859 * - ``sphinx.ext.autosummary.generate._simple_warn()``
860 - 2.2
861 - 4.0
862 - ``logging.warning()``
863
864 * - ``sphinx.ext.todo.merge_info()``
865 - 2.2
866 - 4.0
867 - ``sphinx.ext.todo.TodoDomain``
868
869 * - ``sphinx.ext.todo.process_todo_nodes()``
870 - 2.2
871 - 4.0
872 - ``sphinx.ext.todo.TodoDomain``
873
874 * - ``sphinx.ext.todo.process_todos()``
875 - 2.2
876 - 4.0
877 - ``sphinx.ext.todo.TodoDomain``
878
879 * - ``sphinx.ext.todo.purge_todos()``
880 - 2.2
881 - 4.0
882 - ``sphinx.ext.todo.TodoDomain``
883
884 * - ``sphinx.builders.latex.LaTeXBuilder.apply_transforms()``
885 - 2.1
886 - 4.0
887 - N/A
888
889 * - ``sphinx.builders._epub_base.EpubBuilder.esc()``
890 - 2.1
891 - 4.0
892 - ``html.escape()``
893
894 * - ``sphinx.directives.Acks``
895 - 2.1
896 - 4.0
897 - ``sphinx.directives.other.Acks``
898
899 * - ``sphinx.directives.Author``
900 - 2.1
901 - 4.0
902 - ``sphinx.directives.other.Author``
903
904 * - ``sphinx.directives.Centered``
905 - 2.1
906 - 4.0
907 - ``sphinx.directives.other.Centered``
908
909 * - ``sphinx.directives.Class``
910 - 2.1
911 - 4.0
912 - ``sphinx.directives.other.Class``
913
914 * - ``sphinx.directives.CodeBlock``
915 - 2.1
916 - 4.0
917 - ``sphinx.directives.code.CodeBlock``
918
919 * - ``sphinx.directives.Figure``
920 - 2.1
921 - 4.0
922 - ``sphinx.directives.patches.Figure``
923
924 * - ``sphinx.directives.HList``
925 - 2.1
926 - 4.0
927 - ``sphinx.directives.other.HList``
928
929 * - ``sphinx.directives.Highlight``
930 - 2.1
931 - 4.0
932 - ``sphinx.directives.code.Highlight``
933
934 * - ``sphinx.directives.Include``
935 - 2.1
936 - 4.0
937 - ``sphinx.directives.other.Include``
938
939 * - ``sphinx.directives.Index``
940 - 2.1
941 - 4.0
942 - ``sphinx.directives.other.Index``
943
944 * - ``sphinx.directives.LiteralInclude``
945 - 2.1
946 - 4.0
947 - ``sphinx.directives.code.LiteralInclude``
948
949 * - ``sphinx.directives.Meta``
950 - 2.1
951 - 4.0
952 - ``sphinx.directives.patches.Meta``
953
954 * - ``sphinx.directives.Only``
955 - 2.1
956 - 4.0
957 - ``sphinx.directives.other.Only``
958
959 * - ``sphinx.directives.SeeAlso``
960 - 2.1
961 - 4.0
962 - ``sphinx.directives.other.SeeAlso``
963
964 * - ``sphinx.directives.TabularColumns``
965 - 2.1
966 - 4.0
967 - ``sphinx.directives.other.TabularColumns``
968
969 * - ``sphinx.directives.TocTree``
970 - 2.1
971 - 4.0
972 - ``sphinx.directives.other.TocTree``
973
974 * - ``sphinx.directives.VersionChange``
975 - 2.1
976 - 4.0
977 - ``sphinx.domains.changeset.VersionChange``
978
979 * - ``sphinx.domains.python.PyClassmember``
980 - 2.1
981 - 4.0
982 - ``sphinx.domains.python.PyAttribute``,
983 ``sphinx.domains.python.PyMethod``,
984 ``sphinx.domains.python.PyClassMethod``,
985 ``sphinx.domains.python.PyObject`` and
986 ``sphinx.domains.python.PyStaticMethod``
987
988 * - ``sphinx.domains.python.PyModulelevel``
989 - 2.1
990 - 4.0
991 - ``sphinx.domains.python.PyFunction``,
992 ``sphinx.domains.python.PyObject`` and
993 ``sphinx.domains.python.PyVariable``
994
995 * - ``sphinx.domains.std.StandardDomain._resolve_citation_xref()``
996 - 2.1
997 - 4.0
998 - ``sphinx.domains.citation.CitationDomain.resolve_xref()``
999
1000 * - ``sphinx.domains.std.StandardDomain.note_citations()``
1001 - 2.1
1002 - 4.0
1003 - ``sphinx.domains.citation.CitationDomain.note_citation()``
1004
1005 * - ``sphinx.domains.std.StandardDomain.note_citation_refs()``
1006 - 2.1
1007 - 4.0
1008 - ``sphinx.domains.citation.CitationDomain.note_citation_reference()``
1009
1010 * - ``sphinx.domains.std.StandardDomain.note_labels()``
1011 - 2.1
1012 - 4.0
1013 - ``sphinx.domains.std.StandardDomain.process_doc()``
1014
1015 * - ``sphinx.domains.js.JSObject.display_prefix``
1016 -
1017 - 4.3
1018 - ``sphinx.domains.js.JSObject.get_display_prefix()``
1019
1020 * - ``sphinx.environment.NoUri``
1021 - 2.1
1022 - 3.0
1023 - ``sphinx.errors.NoUri``
1024
1025 * - ``sphinx.ext.apidoc.format_directive()``
1026 - 2.1
1027 - 4.0
1028 - N/A
1029
1030 * - ``sphinx.ext.apidoc.format_heading()``
1031 - 2.1
1032 - 4.0
1033 - N/A
1034
1035 * - ``sphinx.ext.apidoc.makename()``
1036 - 2.1
1037 - 4.0
1038 - ``sphinx.ext.apidoc.module_join()``
1039
1040 * - ``sphinx.ext.autodoc.importer.MockFinder``
1041 - 2.1
1042 - 4.0
1043 - ``sphinx.ext.autodoc.mock.MockFinder``
1044
1045 * - ``sphinx.ext.autodoc.importer.MockLoader``
1046 - 2.1
1047 - 4.0
1048 - ``sphinx.ext.autodoc.mock.MockLoader``
1049
1050 * - ``sphinx.ext.autodoc.importer.mock()``
1051 - 2.1
1052 - 4.0
1053 - ``sphinx.ext.autodoc.mock.mock()``
1054
1055 * - ``sphinx.ext.autosummary.autolink_role()``
1056 - 2.1
1057 - 4.0
1058 - ``sphinx.ext.autosummary.AutoLink``
1059
1060 * - ``sphinx.ext.imgmath.DOC_BODY``
1061 - 2.1
1062 - 4.0
1063 - N/A
1064
1065 * - ``sphinx.ext.imgmath.DOC_BODY_PREVIEW``
1066 - 2.1
1067 - 4.0
1068 - N/A
1069
1070 * - ``sphinx.ext.imgmath.DOC_HEAD``
1071 - 2.1
1072 - 4.0
1073 - N/A
1074
1075 * - ``sphinx.transforms.CitationReferences``
1076 - 2.1
1077 - 4.0
1078 - ``sphinx.domains.citation.CitationReferenceTransform``
1079
1080 * - ``sphinx.transforms.SmartQuotesSkipper``
1081 - 2.1
1082 - 4.0
1083 - ``sphinx.domains.citation.CitationDefinitionTransform``
1084
1085 * - ``sphinx.util.docfields.DocFieldTransformer.preprocess_fieldtypes()``
1086 - 2.1
1087 - 4.0
1088 - ``sphinx.directives.ObjectDescription.get_field_type_map()``
1089
1090 * - ``sphinx.util.node.find_source_node()``
1091 - 2.1
1092 - 4.0
1093 - ``sphinx.util.node.get_node_source()``
1094
1095 * - ``sphinx.util.i18n.find_catalog()``
1096 - 2.1
1097 - 4.0
1098 - ``sphinx.util.i18n.docname_to_domain()``
1099
1100 * - ``sphinx.util.i18n.find_catalog_files()``
1101 - 2.1
1102 - 4.0
1103 - ``sphinx.util.i18n.CatalogRepository``
1104
1105 * - ``sphinx.util.i18n.find_catalog_source_files()``
1106 - 2.1
1107 - 4.0
1108 - ``sphinx.util.i18n.CatalogRepository``
1109
1110 * - ``encoding`` argument of ``autodoc.Documenter.get_doc()``,
1111 ``autodoc.DocstringSignatureMixin.get_doc()``,
1112 ``autodoc.DocstringSignatureMixin._find_signature()``, and
1113 ``autodoc.ClassDocumenter.get_doc()``
1114 - 2.0
1115 - 4.0
1116 - N/A
1117
1118 * - arguments of ``EpubBuilder.build_mimetype()``,
1119 ``EpubBuilder.build_container()``, ``EpubBuilder.build_content()``,
1120 ``EpubBuilder.build_toc()`` and ``EpubBuilder.build_epub()``
1121 - 2.0
1122 - 4.0
1123 - N/A
1124
1125 * - arguments of ``Epub3Builder.build_navigation_doc()``
1126 - 2.0
1127 - 4.0
1128 - N/A
1129
1130 * - ``nodetype`` argument of
1131 ``sphinx.search.WordCollector.is_meta_keywords()``
1132 - 2.0
1133 - 4.0
1134 - N/A
1135
1136 * - ``suffix`` argument of ``BuildEnvironment.doc2path()``
1137 - 2.0
1138 - 4.0
1139 - N/A
1140
1141 * - string style ``base`` argument of ``BuildEnvironment.doc2path()``
1142 - 2.0
1143 - 4.0
1144 - ``os.path.join()``
1145
1146 * - ``sphinx.addnodes.abbreviation``
1147 - 2.0
1148 - 4.0
1149 - ``docutils.nodes.abbreviation``
1150
1151 * - ``sphinx.builders.applehelp``
1152 - 2.0
1153 - 4.0
1154 - ``sphinxcontrib.applehelp``
1155
1156 * - ``sphinx.builders.devhelp``
1157 - 2.0
1158 - 4.0
1159 - ``sphinxcontrib.devhelp``
1160
1161 * - ``sphinx.builders.epub3.Epub3Builder.validate_config_value()``
1162 - 2.0
1163 - 4.0
1164 - ``sphinx.builders.epub3.validate_config_values()``
1165
1166 * - ``sphinx.builders.html.JSONHTMLBuilder``
1167 - 2.0
1168 - 4.0
1169 - ``sphinx.builders.serializinghtml.JSONHTMLBuilder``
1170
1171 * - ``sphinx.builders.html.PickleHTMLBuilder``
1172 - 2.0
1173 - 4.0
1174 - ``sphinx.builders.serializinghtml.PickleHTMLBuilder``
1175
1176 * - ``sphinx.builders.html.SerializingHTMLBuilder``
1177 - 2.0
1178 - 4.0
1179 - ``sphinx.builders.serializinghtml.SerializingHTMLBuilder``
1180
1181 * - ``sphinx.builders.html.SingleFileHTMLBuilder``
1182 - 2.0
1183 - 4.0
1184 - ``sphinx.builders.singlehtml.SingleFileHTMLBuilder``
1185
1186 * - ``sphinx.builders.html.WebHTMLBuilder``
1187 - 2.0
1188 - 4.0
1189 - ``sphinx.builders.serializinghtml.PickleHTMLBuilder``
1190
1191 * - ``sphinx.builders.htmlhelp``
1192 - 2.0
1193 - 4.0
1194 - ``sphinxcontrib.htmlhelp``
1195
1196 * - ``sphinx.builders.htmlhelp.HTMLHelpBuilder.open_file()``
1197 - 2.0
1198 - 4.0
1199 - ``open()``
1200
1201 * - ``sphinx.builders.qthelp``
1202 - 2.0
1203 - 4.0
1204 - ``sphinxcontrib.qthelp``
1205
1206 * - ``sphinx.cmd.quickstart.term_decode()``
1207 - 2.0
1208 - 4.0
1209 - N/A
1210
1211 * - ``sphinx.cmd.quickstart.TERM_ENCODING``
1212 - 2.0
1213 - 4.0
1214 - ``sys.stdin.encoding``
1215
1216 * - ``sphinx.config.check_unicode()``
1217 - 2.0
1218 - 4.0
1219 - N/A
1220
1221 * - ``sphinx.config.string_classes``
1222 - 2.0
1223 - 4.0
1224 - ``[str]``
1225
1226 * - ``sphinx.domains.cpp.DefinitionError.description``
1227 - 2.0
1228 - 4.0
1229 - ``str(exc)``
1230
1231 * - ``sphinx.domains.cpp.NoOldIdError.description``
1232 - 2.0
1233 - 4.0
1234 - ``str(exc)``
1235
1236 * - ``sphinx.domains.cpp.UnsupportedMultiCharacterCharLiteral.decoded``
1237 - 2.0
1238 - 4.0
1239 - ``str(exc)``
1240
1241 * - ``sphinx.ext.autosummary.Autosummary.warn()``
1242 - 2.0
1243 - 4.0
1244 - N/A
1245
1246 * - ``sphinx.ext.autosummary.Autosummary.genopt``
1247 - 2.0
1248 - 4.0
1249 - N/A
1250
1251 * - ``sphinx.ext.autosummary.Autosummary.warnings``
1252 - 2.0
1253 - 4.0
1254 - N/A
1255
1256 * - ``sphinx.ext.autosummary.Autosummary.result``
1257 - 2.0
1258 - 4.0
1259 - N/A
1260
1261 * - ``sphinx.ext.doctest.doctest_encode()``
1262 - 2.0
1263 - 4.0
1264 - N/A
1265
1266 * - ``sphinx.ext.jsmath``
1267 - 2.0
1268 - 4.0
1269 - ``sphinxcontrib.jsmath``
1270
1271 * - ``sphinx.roles.abbr_role()``
1272 - 2.0
1273 - 4.0
1274 - ``sphinx.roles.Abbreviation``
1275
1276 * - ``sphinx.roles.emph_literal_role()``
1277 - 2.0
1278 - 4.0
1279 - ``sphinx.roles.EmphasizedLiteral``
1280
1281 * - ``sphinx.roles.menusel_role()``
1282 - 2.0
1283 - 4.0
1284 - ``sphinx.roles.GUILabel`` or ``sphinx.roles.MenuSelection``
1285
1286 * - ``sphinx.roles.index_role()``
1287 - 2.0
1288 - 4.0
1289 - ``sphinx.roles.Index``
1290
1291 * - ``sphinx.roles.indexmarkup_role()``
1292 - 2.0
1293 - 4.0
1294 - ``sphinx.roles.PEP`` or ``sphinx.roles.RFC``
1295
1296 * - ``sphinx.testing.util.remove_unicode_literal()``
1297 - 2.0
1298 - 4.0
1299 - N/A
1300
1301 * - ``sphinx.util.attrdict``
1302 - 2.0
1303 - 4.0
1304 - N/A
1305
1306 * - ``sphinx.util.force_decode()``
1307 - 2.0
1308 - 5.0
1309 - N/A
1310
1311 * - ``sphinx.util.get_matching_docs()``
1312 - 2.0
1313 - 4.0
1314 - ``sphinx.util.get_matching_files()``
1315
1316 * - ``sphinx.util.inspect.Parameter``
1317 - 2.0
1318 - 3.0
1319 - N/A
1320
1321 * - ``sphinx.util.jsonimpl``
1322 - 2.0
1323 - 4.0
1324 - ``sphinxcontrib.serializinghtml.jsonimpl``
1325
1326 * - ``sphinx.util.osutil.EEXIST``
1327 - 2.0
1328 - 4.0
1329 - ``errno.EEXIST`` or ``FileExistsError``
1330
1331 * - ``sphinx.util.osutil.EINVAL``
1332 - 2.0
1333 - 4.0
1334 - ``errno.EINVAL``
1335
1336 * - ``sphinx.util.osutil.ENOENT``
1337 - 2.0
1338 - 4.0
1339 - ``errno.ENOENT`` or ``FileNotFoundError``
1340
1341 * - ``sphinx.util.osutil.EPIPE``
1342 - 2.0
1343 - 4.0
1344 - ``errno.ENOENT`` or ``BrokenPipeError``
1345
1346 * - ``sphinx.util.osutil.walk()``
1347 - 2.0
1348 - 4.0
1349 - ``os.walk()``
1350
1351 * - ``sphinx.util.pycompat.NoneType``
1352 - 2.0
1353 - 4.0
1354 - ``sphinx.util.typing.NoneType``
1355
1356 * - ``sphinx.util.pycompat.TextIOWrapper``
1357 - 2.0
1358 - 4.0
1359 - ``io.TextIOWrapper``
1360
1361 * - ``sphinx.util.pycompat.UnicodeMixin``
1362 - 2.0
1363 - 4.0
1364 - N/A
1365
1366 * - ``sphinx.util.pycompat.htmlescape()``
1367 - 2.0
1368 - 4.0
1369 - ``html.escape()``
1370
1371 * - ``sphinx.util.pycompat.indent()``
1372 - 2.0
1373 - 4.0
1374 - ``textwrap.indent()``
1375
1376 * - ``sphinx.util.pycompat.sys_encoding``
1377 - 2.0
1378 - 4.0
1379 - ``sys.getdefaultencoding()``
1380
1381 * - ``sphinx.util.pycompat.terminal_safe()``
1382 - 2.0
1383 - 4.0
1384 - ``sphinx.util.console.terminal_safe()``
1385
1386 * - ``sphinx.util.pycompat.u``
1387 - 2.0
1388 - 4.0
1389 - N/A
1390
1391 * - ``sphinx.util.PeekableIterator``
1392 - 2.0
1393 - 4.0
1394 - N/A
1395
1396 * - Omitting the ``filename`` argument in an overriddent
1397 ``IndexBuilder.feed()`` method.
1398 - 2.0
1399 - 4.0
1400 - ``IndexBuilder.feed(docname, filename, title, doctree)``
1401
1402 * - ``sphinx.writers.latex.ExtBabel``
1403 - 2.0
1404 - 4.0
1405 - ``sphinx.builders.latex.util.ExtBabel``
1406
1407 * - ``sphinx.writers.latex.LaTeXTranslator.babel_defmacro()``
1408 - 2.0
1409 - 4.0
1410 - N/A
1411
1412 * - ``sphinx.application.Sphinx._setting_up_extension``
1413 - 2.0
1414 - 3.0
1415 - N/A
1416
1417 * - The ``importer`` argument of ``sphinx.ext.autodoc.importer._MockModule``
1418 - 2.0
1419 - 3.0
1420 - N/A
1421
1422 * - ``sphinx.ext.autodoc.importer._MockImporter``
1423 - 2.0
1424 - 3.0
1425 - N/A
1426
1427 * - ``sphinx.io.SphinxBaseFileInput``
1428 - 2.0
1429 - 3.0
1430 - N/A
1431
1432 * - ``sphinx.io.SphinxFileInput.supported``
1433 - 2.0
1434 - 3.0
1435 - N/A
1436
1437 * - ``sphinx.io.SphinxRSTFileInput``
1438 - 2.0
1439 - 3.0
1440 - N/A
1441
1442 * - ``sphinx.registry.SphinxComponentRegistry.add_source_input()``
1443 - 2.0
1444 - 3.0
1445 - N/A
1446
1447 * - ``sphinx.writers.latex.LaTeXTranslator._make_visit_admonition()``
1448 - 2.0
1449 - 3.0
1450 - N/A
1451
1452 * - ``sphinx.writers.latex.LaTeXTranslator.collect_footnotes()``
1453 - 2.0
1454 - 4.0
1455 - N/A
1456
1457 * - ``sphinx.writers.texinfo.TexinfoTranslator._make_visit_admonition()``
1458 - 2.0
1459 - 3.0
1460 - N/A
1461
1462 * - ``sphinx.writers.text.TextTranslator._make_depart_admonition()``
1463 - 2.0
1464 - 3.0
1465 - N/A
1466
1467 * - ``sphinx.writers.latex.LaTeXTranslator.generate_numfig_format()``
1468 - 2.0
1469 - 4.0
1470 - N/A
1471
1472 * - :rst:dir:`!highlightlang`
1473 - 1.8
1474 - 4.0
1475 - :rst:dir:`highlight`
1476
1477 * - :meth:`!add_stylesheet`
1478 - 1.8
1479 - 6.0
1480 - :meth:`~sphinx.application.Sphinx.add_css_file`
1481
1482 * - :meth:`!add_javascript`
1483 - 1.8
1484 - 4.0
1485 - :meth:`~sphinx.application.Sphinx.add_js_file`
1486
1487 * - :confval:`!autodoc_default_flags`
1488 - 1.8
1489 - 4.0
1490 - :confval:`autodoc_default_options`
1491
1492 * - ``content`` arguments of ``sphinx.util.image.guess_mimetype()``
1493 - 1.8
1494 - 3.0
1495 - N/A
1496
1497 * - ``gettext_compact`` arguments of
1498 ``sphinx.util.i18n.find_catalog_source_files()``
1499 - 1.8
1500 - 3.0
1501 - N/A
1502
1503 * - ``sphinx.io.SphinxI18nReader.set_lineno_for_reporter()``
1504 - 1.8
1505 - 3.0
1506 - N/A
1507
1508 * - ``sphinx.io.SphinxI18nReader.line``
1509 - 1.8
1510 - 3.0
1511 - N/A
1512
1513 * - ``sphinx.directives.other.VersionChange``
1514 - 1.8
1515 - 3.0
1516 - ``sphinx.domains.changeset.VersionChange``
1517
1518 * - ``sphinx.highlighting.PygmentsBridge.unhighlight()``
1519 - 1.8
1520 - 3.0
1521 - N/A
1522
1523 * - ``trim_doctest_flags`` arguments of
1524 ``sphinx.highlighting.PygmentsBridge``
1525 - 1.8
1526 - 3.0
1527 - N/A
1528
1529 * - ``sphinx.ext.mathbase``
1530 - 1.8
1531 - 3.0
1532 - N/A
1533
1534 * - ``sphinx.ext.mathbase.MathDomain``
1535 - 1.8
1536 - 3.0
1537 - ``sphinx.domains.math.MathDomain``
1538
1539 * - ``sphinx.ext.mathbase.MathDirective``
1540 - 1.8
1541 - 3.0
1542 - ``sphinx.directives.patches.MathDirective``
1543
1544 * - ``sphinx.ext.mathbase.math_role()``
1545 - 1.8
1546 - 3.0
1547 - ``docutils.parsers.rst.roles.math_role()``
1548
1549 * - ``sphinx.ext.mathbase.setup_math()``
1550 - 1.8
1551 - 3.0
1552 - :meth:`~sphinx.application.Sphinx.add_html_math_renderer`
1553
1554 * - ``sphinx.ext.mathbase.is_in_section_title()``
1555 - 1.8
1556 - 3.0
1557 - N/A
1558
1559 * - ``sphinx.ext.mathbase.get_node_equation_number()``
1560 - 1.8
1561 - 3.0
1562 - ``sphinx.util.math.get_node_equation_number()``
1563
1564 * - ``sphinx.ext.mathbase.wrap_displaymath()``
1565 - 1.8
1566 - 3.0
1567 - ``sphinx.util.math.wrap_displaymath()``
1568
1569 * - ``sphinx.ext.mathbase.math`` (node)
1570 - 1.8
1571 - 3.0
1572 - ``docutils.nodes.math``
1573
1574 * - ``sphinx.ext.mathbase.displaymath`` (node)
1575 - 1.8
1576 - 3.0
1577 - ``docutils.nodes.math_block``
1578
1579 * - ``sphinx.ext.mathbase.eqref`` (node)
1580 - 1.8
1581 - 3.0
1582 - ``sphinx.builders.latex.nodes.math_reference``
1583
1584 * - :confval:`!viewcode_import` (config value)
1585 - 1.8
1586 - 3.0
1587 - :confval:`viewcode_follow_imported_members`
1588
1589 * - ``sphinx.writers.latex.Table.caption_footnotetexts``
1590 - 1.8
1591 - 3.0
1592 - N/A
1593
1594 * - ``sphinx.writers.latex.Table.header_footnotetexts``
1595 - 1.8
1596 - 3.0
1597 - N/A
1598
1599 * - ``sphinx.writers.latex.LaTeXTranslator.footnotestack``
1600 - 1.8
1601 - 3.0
1602 - N/A
1603
1604 * - ``sphinx.writers.latex.LaTeXTranslator.in_container_literal_block``
1605 - 1.8
1606 - 3.0
1607 - N/A
1608
1609 * - ``sphinx.writers.latex.LaTeXTranslator.next_section_ids``
1610 - 1.8
1611 - 3.0
1612 - N/A
1613
1614 * - ``sphinx.writers.latex.LaTeXTranslator.next_hyperlink_ids``
1615 - 1.8
1616 - 3.0
1617 - N/A
1618
1619 * - ``sphinx.writers.latex.LaTeXTranslator.restrict_footnote()``
1620 - 1.8
1621 - 3.0
1622 - N/A
1623
1624 * - ``sphinx.writers.latex.LaTeXTranslator.unrestrict_footnote()``
1625 - 1.8
1626 - 3.0
1627 - N/A
1628
1629 * - ``sphinx.writers.latex.LaTeXTranslator.push_hyperlink_ids()``
1630 - 1.8
1631 - 3.0
1632 - N/A
1633
1634 * - ``sphinx.writers.latex.LaTeXTranslator.pop_hyperlink_ids()``
1635 - 1.8
1636 - 3.0
1637 - N/A
1638
1639 * - ``sphinx.writers.latex.LaTeXTranslator.bibitems``
1640 - 1.8
1641 - 3.0
1642 - N/A
1643
1644 * - ``sphinx.writers.latex.LaTeXTranslator.hlsettingstack``
1645 - 1.8
1646 - 3.0
1647 - N/A
1648
1649 * - ``sphinx.writers.latex.ExtBabel.get_shorthandoff()``
1650 - 1.8
1651 - 3.0
1652 - N/A
1653
1654 * - ``sphinx.writers.html.HTMLTranslator.highlightlang()``
1655 - 1.8
1656 - 3.0
1657 - N/A
1658
1659 * - ``sphinx.writers.html.HTMLTranslator.highlightlang_base()``
1660 - 1.8
1661 - 3.0
1662 - N/A
1663
1664 * - ``sphinx.writers.html.HTMLTranslator.highlightlangopts()``
1665 - 1.8
1666 - 3.0
1667 - N/A
1668
1669 * - ``sphinx.writers.html.HTMLTranslator.highlightlinenothreshold()``
1670 - 1.8
1671 - 3.0
1672 - N/A
1673
1674 * - ``sphinx.writers.html5.HTMLTranslator.highlightlang()``
1675 - 1.8
1676 - 3.0
1677 - N/A
1678
1679 * - ``sphinx.writers.html5.HTMLTranslator.highlightlang_base()``
1680 - 1.8
1681 - 3.0
1682 - N/A
1683
1684 * - ``sphinx.writers.html5.HTMLTranslator.highlightlangopts()``
1685 - 1.8
1686 - 3.0
1687 - N/A
1688
1689 * - ``sphinx.writers.html5.HTMLTranslator.highlightlinenothreshold()``
1690 - 1.8
1691 - 3.0
1692 - N/A
1693
1694 * - ``sphinx.writers.latex.LaTeXTranslator.check_latex_elements()``
1695 - 1.8
1696 - 3.0
1697 - Nothing
1698
1699 * - ``sphinx.application.CONFIG_FILENAME``
1700 - 1.8
1701 - 3.0
1702 - ``sphinx.config.CONFIG_FILENAME``
1703
1704 * - ``Config.check_unicode()``
1705 - 1.8
1706 - 3.0
1707 - ``sphinx.config.check_unicode()``
1708
1709 * - ``Config.check_types()``
1710 - 1.8
1711 - 3.0
1712 - ``sphinx.config.check_confval_types()``
1713
1714 * - ``dirname``, ``filename`` and ``tags`` arguments of
1715 ``Config.__init__()``
1716 - 1.8
1717 - 3.0
1718 - ``Config.read()``
1719
1720 * - The value of :confval:`html_search_options`
1721 - 1.8
1722 - 3.0
1723 - see :confval:`html_search_options`
1724
1725 * - ``sphinx.versioning.prepare()``
1726 - 1.8
1727 - 3.0
1728 - ``sphinx.versioning.UIDTransform``
1729
1730 * - ``Sphinx.override_domain()``
1731 - 1.8
1732 - 3.0
1733 - :meth:`~sphinx.application.Sphinx.add_domain`
1734
1735 * - ``Sphinx.import_object()``
1736 - 1.8
1737 - 3.0
1738 - ``sphinx.util.import_object()``
1739
1740 * - ``suffix`` argument of
1741 :meth:`~sphinx.application.Sphinx.add_source_parser`
1742 - 1.8
1743 - 3.0
1744 - :meth:`~sphinx.application.Sphinx.add_source_suffix`
1745
1746
1747 * - ``BuildEnvironment.load()``
1748 - 1.8
1749 - 3.0
1750 - ``pickle.load()``
1751
1752 * - ``BuildEnvironment.loads()``
1753 - 1.8
1754 - 3.0
1755 - ``pickle.loads()``
1756
1757 * - ``BuildEnvironment.frompickle()``
1758 - 1.8
1759 - 3.0
1760 - ``pickle.load()``
1761
1762 * - ``BuildEnvironment.dump()``
1763 - 1.8
1764 - 3.0
1765 - ``pickle.dump()``
1766
1767 * - ``BuildEnvironment.dumps()``
1768 - 1.8
1769 - 3.0
1770 - ``pickle.dumps()``
1771
1772 * - ``BuildEnvironment.topickle()``
1773 - 1.8
1774 - 3.0
1775 - ``pickle.dump()``
1776
1777 * - ``BuildEnvironment._nitpick_ignore``
1778 - 1.8
1779 - 3.0
1780 - :confval:`nitpick_ignore`
1781
1782 * - ``BuildEnvironment.versionchanges``
1783 - 1.8
1784 - 3.0
1785 - N/A
1786
1787 * - ``BuildEnvironment.update()``
1788 - 1.8
1789 - 3.0
1790 - ``Builder.read()``
1791
1792 * - ``BuildEnvironment.read_doc()``
1793 - 1.8
1794 - 3.0
1795 - ``Builder.read_doc()``
1796
1797 * - ``BuildEnvironment._read_serial()``
1798 - 1.8
1799 - 3.0
1800 - ``Builder.read()``
1801
1802 * - ``BuildEnvironment._read_parallel()``
1803 - 1.8
1804 - 3.0
1805 - ``Builder.read()``
1806
1807 * - ``BuildEnvironment.write_doctree()``
1808 - 1.8
1809 - 3.0
1810 - ``Builder.write_doctree()``
1811
1812 * - ``BuildEnvironment.note_versionchange()``
1813 - 1.8
1814 - 3.0
1815 - ``ChangesDomain.note_changeset()``
1816
1817 * - ``warn()`` (template helper function)
1818 - 1.8
1819 - 3.0
1820 - ``warning()``
1821
1822 * - :confval:`!source_parsers`
1823 - 1.8
1824 - 3.0
1825 - :meth:`~sphinx.application.Sphinx.add_source_parser`
1826
1827 * - ``sphinx.util.docutils.directive_helper()``
1828 - 1.8
1829 - 3.0
1830 - ``Directive`` class of docutils
1831
1832 * - ``sphinx.cmdline``
1833 - 1.8
1834 - 3.0
1835 - ``sphinx.cmd.build``
1836
1837 * - ``sphinx.make_mode``
1838 - 1.8
1839 - 3.0
1840 - ``sphinx.cmd.make_mode``
1841
1842 * - ``sphinx.locale.l_()``
1843 - 1.8
1844 - 3.0
1845 - :func:`sphinx.locale._`
1846
1847 * - ``sphinx.locale.lazy_gettext()``
1848 - 1.8
1849 - 3.0
1850 - :func:`sphinx.locale._`
1851
1852 * - ``sphinx.locale.mygettext()``
1853 - 1.8
1854 - 3.0
1855 - :func:`sphinx.locale._`
1856
1857 * - ``sphinx.util.copy_static_entry()``
1858 - 1.5
1859 - 3.0
1860 - ``sphinx.util.fileutil.copy_asset()``
1861
1862 * - ``sphinx.build_main()``
1863 - 1.7
1864 - 2.0
1865 - ``sphinx.cmd.build.build_main()``
1866
1867 * - ``sphinx.ext.intersphinx.debug()``
1868 - 1.7
1869 - 2.0
1870 - ``sphinx.ext.intersphinx.inspect_main()``
1871
1872 * - ``sphinx.ext.autodoc.format_annotation()``
1873 - 1.7
1874 - 2.0
1875 - ``sphinx.util.inspect.Signature``
1876
1877 * - ``sphinx.ext.autodoc.formatargspec()``
1878 - 1.7
1879 - 2.0
1880 - ``sphinx.util.inspect.Signature``
1881
1882 * - ``sphinx.ext.autodoc.AutodocReporter``
1883 - 1.7
1884 - 2.0
1885 - ``sphinx.util.docutils.switch_source_input()``
1886
1887 * - ``sphinx.ext.autodoc.add_documenter()``
1888 - 1.7
1889 - 2.0
1890 - :meth:`~sphinx.application.Sphinx.add_autodocumenter`
1891
1892 * - ``sphinx.ext.autodoc.AutoDirective._register``
1893 - 1.7
1894 - 2.0
1895 - :meth:`~sphinx.application.Sphinx.add_autodocumenter`
1896
1897 * - ``AutoDirective._special_attrgetters``
1898 - 1.7
1899 - 2.0
1900 - :meth:`~sphinx.application.Sphinx.add_autodoc_attrgetter`
1901
1902 * - ``Sphinx.warn()``, ``Sphinx.info()``
1903 - 1.6
1904 - 2.0
1905 - :ref:`logging-api`
1906
1907 * - ``BuildEnvironment.set_warnfunc()``
1908 - 1.6
1909 - 2.0
1910 - :ref:`logging-api`
1911
1912 * - ``BuildEnvironment.note_toctree()``
1913 - 1.6
1914 - 2.0
1915 - ``Toctree.note()`` (in ``sphinx.environment.adapters.toctree``)
1916
1917 * - ``BuildEnvironment.get_toc_for()``
1918 - 1.6
1919 - 2.0
1920 - ``Toctree.get_toc_for()`` (in ``sphinx.environment.adapters.toctree``)
1921
1922 * - ``BuildEnvironment.get_toctree_for()``
1923 - 1.6
1924 - 2.0
1925 - ``Toctree.get_toctree_for()`` (in ``sphinx.environment.adapters.toctree``)
1926
1927 * - ``BuildEnvironment.create_index()``
1928 - 1.6
1929 - 2.0
1930 - ``IndexEntries.create_index()`` (in ``sphinx.environment.adapters.indexentries``)
1931
1932 * - ``sphinx.websupport``
1933 - 1.6
1934 - 2.0
1935 - `sphinxcontrib-websupport`_
1936
1937 .. _sphinxcontrib-websupport: https://pypi.org/project/sphinxcontrib-websupport/
1938
1939 * - ``StandaloneHTMLBuilder.css_files``
1940 - 1.6
1941 - 2.0
1942 - :meth:`!add_stylesheet`
1943
1944 * - ``document.settings.gettext_compact``
1945 - 1.8
1946 - 1.8
1947 - :confval:`gettext_compact`
1948
1949 * - ``Sphinx.status_iterator()``
1950 - 1.6
1951 - 1.7
1952 - ``sphinx.util.status_iterator()``
1953
1954 * - ``Sphinx.old_status_iterator()``
1955 - 1.6
1956 - 1.7
1957 - ``sphinx.util.old_status_iterator()``
1958
1959 * - ``Sphinx._directive_helper()``
1960 - 1.6
1961 - 1.7
1962 - ``sphinx.util.docutils.directive_helper()``
1963
1964 * - ``sphinx.util.compat.Directive``
1965 - 1.6
1966 - 1.7
1967 - ``docutils.parsers.rst.Directive``
1968
1969 * - ``sphinx.util.compat.docutils_version``
1970 - 1.6
1971 - 1.7
1972 - ``sphinx.util.docutils.__version_info__``
1973
1974 .. note:: On deprecating on public APIs (internal functions and classes),
1975 we also follow the policy as much as possible.