summaryrefslogtreecommitdiff
path: root/doc/extdev
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Move content from the todo tutorial to the extdev/indexArtFlag2018-12-221-0/+109
| | |
| * | move files to new directoryArtFlag2018-12-194-563/+0
| | |
| * | Merge branch 'master' into docs/extension-tutorialsArthur2018-11-3010-471/+803
| |\ \
| * | | Add a helloworld tutorialArtFlag2018-11-293-4/+157
| | | |
| * | | Create a tutorial portalArtFlag2018-11-283-4/+15
| | | |
* | | | [DOC] Make link to list of deprecated APIs in CHANGES an internal linkjfbu2018-12-201-0/+2
| | | |
* | | | Merge pull request #5839 from jdufresne/descriptionTakeshi KOMIYA2018-12-201-0/+15
|\ \ \ \ | | | | | | | | | | Deprecate unused Exception attributes
| * | | | Deprecate unused Exception attributesJon Dufresne2018-12-181-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attributes were used only for the string representation, but that is also the default behavior of the Exception class. Observe: >>> str(Exception('foo')) 'foo' >>> print(Exception('foo')) foo
* | | | | Replace EnvironmentError and IOError by OSErrorTakeshi KOMIYA2018-12-191-0/+10
|/ / / / | | | | | | | | | | | | | | | | Since python 3.3, EnvironmentError and IOError were merged into OSError.
* | | | Merge pull request #5827 from tk0miya/refactor_io3Takeshi KOMIYA2018-12-181-0/+15
|\ \ \ \ | | | | | | | | | | Refactor sphinx.io
| * | | | Deprecate SphinxFileInput.supportedTakeshi KOMIYA2018-12-171-0/+5
| | | | |
| * | | | Deprecate SphinxBaseFileInputTakeshi KOMIYA2018-12-171-0/+5
| | | | |
| * | | | refactor: Use simple Input classTakeshi KOMIYA2018-12-171-0/+5
| | | | |
* | | | | Deprecate quickstart.term_decode() and remove internal usesJon Dufresne2018-12-171-0/+10
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per the Python 3 docs, input() always returns a string: https://docs.python.org/3/library/functions.html#input > The function then reads a line from input, converts it to a > string (stripping a trailing newline), and returns that. The stubs from typeshed say the same: https://github.com/python/typeshed/blob/5c69373890dfaf4f07f0638766fb0a4903352892/stdlib/3/builtins.pyi#L835 Here is the implementation from CPython with also shows a call to PyUnicode_Decode on the result: https://github.com/python/cpython/blob/3.7/Python/bltinmodule.c#L1960-L2143 As the value is always a string, there is nothing to decode. Therefore the call to term_decode() unnecessary and can safely be removed. With this in mind, must adjust quickstart tests to be more representative.
* | | | Merge branch 'master' into string-classesTakeshi KOMIYA2018-12-171-0/+6
|\ \ \ \
| * | | | Deprecate the old IndexBuilder.feed() method signatureJon Dufresne2018-12-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | The method signature changed in commit d27386cc95772a7e7cc47941a0c08b27e0272f67 (Jun 8, 2016).
* | | | | Deprecate sphinx.config.string_classes; remove all internal usesJon Dufresne2018-12-161-0/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With only a single text type across supported Python versions, the string_classes is no longer necessary. Internally, all uses were converted to the value `[str]`. For .add_config_value() uses that also supply a default string, the type is inferred.
* | | | Merge pull request #5793 from tk0miya/pretty_changesTakeshi KOMIYA2018-12-161-5/+10
|\ \ \ \ | | | | | | | | | | Pretty changes
| * | | | Deprecate LaTeXTranslator.collect_footnotes()Takeshi KOMIYA2018-12-161-0/+5
| | | | |
| * | | | Sort deprecated APIs by versionTakeshi KOMIYA2018-12-161-5/+5
| | | | |
* | | | | Deprecate UnicodeMixinTakeshi KOMIYA2018-12-161-0/+5
|/ / / /
* | | | Replace ENOENT errno checks with Python 3 FileNotFoundErrorJon Dufresne2018-12-151-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error is more specific and self documenting. This removes the last use of sphinx.util.osutil.ENOENT, so it is now deprecated for removal. sphinx.util.osutil.EEXIST was already unused so that is deprecated as well.
* | | | Deprecate sphinx.util.inspect.ParameterTakeshi KOMIYA2018-12-151-0/+5
| | | |
* | | | Deprecate abbreviation node (refs: #5720)Takeshi KOMIYA2018-12-151-0/+5
| | | |
* | | | Refactor Autosummary directive by DocumenterBridgeTakeshi KOMIYA2018-12-101-1/+21
| | | |
* | | | Deprecate unused and untested sphinx.util functionsJon Dufresne2018-12-091-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sphinx.util.attrdict: Last use removed in b09e628b0f33614e81521ad60e94472a0db09a4d. sphinx.util.PeekableIterator: Last use removed in 85b8a451a696c13d4644d4da900c2bcb31de4010.
* | | | deprecate SphinxRSTFileInputTakeshi KOMIYA2018-12-051-0/+5
| | | |
* | | | refactor ``mock()`` to based on PEP-451 implementationTakeshi KOMIYA2018-12-041-0/+10
| | | |
* | | | refactor TexinfoTranslator; Replace _make_visit_admonition()Takeshi KOMIYA2018-12-041-0/+5
| | | |
* | | | refactor LaTeXTranslator; Replace _make_visit_admonition()Takeshi KOMIYA2018-12-041-0/+5
| | | |
* | | | refactor TextTranslator; Replace _make_depart_admonition()Takeshi KOMIYA2018-12-041-0/+5
| | | |
* | | | Refactor sphinx.searchTakeshi KOMIYA2018-11-301-0/+6
| |/ / |/| |
* | | Deprecate and drop internal use of force_decode()Jon Dufresne2018-11-131-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | In the Python 3 only code base, this function is no longer necessary. The type of values is well understood and deliberate. Code should avoid arbitrary mixing of bytes & str. By removing force_decode() calls from docstring values, can deprecate the now unused 'encoding' arguments to various autodoc methods.
* | | Deprecate sphinx.util.pycompat.uJon Dufresne2018-11-121-0/+5
| | | | | | | | | | | | | | | It is now simply a constant equal to the empty string. Provides no further utility.
* | | Remove use of six.binary_typeJon Dufresne2018-11-111-0/+5
| | | | | | | | | | | | | | | | | | Remove type checks for cases that don't apply to Python 3. For remaining uses, use bytes instead
* | | latex: Move \pageautorefname to sphinxmessages.styTakeshi KOMIYA2018-11-011-0/+5
| | |
* | | refactor: Deprecate app._setting_up_extensionTakeshi KOMIYA2018-10-171-0/+5
| | |
* | | logging: Add prefixed_warnings() helperTakeshi KOMIYA2018-10-171-0/+2
| | |
* | | Deprecate get_matching_docs()Takeshi KOMIYA2018-10-161-0/+5
| | |
* | | Add sphinx.project; a manipulator for project and documentsTakeshi KOMIYA2018-10-164-0/+18
| | |
* | | Merge branch '1.8'Takeshi KOMIYA2018-10-161-3/+9
|\ \ \ | | |/ | |/|
| * | Improve Table of Deprecated APIs for LaTeX output (docs)jfbu2018-09-221-3/+9
| | |
* | | Deprecate Python2 compat shim sphinx.util.osutil.walk()Jon Dufresne2018-10-051-0/+5
| | | | | | | | | | | | | | | Code should use os.walk() instead, which works with either str or bytes. All internal calls use str.
* | | Deprecate string style base for env.doc2path()Takeshi KOMIYA2018-09-221-0/+5
| | |
* | | Deprecate suffix for env.doc2path()Takeshi KOMIYA2018-09-221-0/+5
| | |
* | | refactoring: Drop PY2 and PY3 flagsTakeshi KOMIYA2018-09-221-0/+10
| | |
* | | Merge branch '1.8'Takeshi KOMIYA2018-09-221-0/+10
|\ \ \ | |/ /
| * | Fix #5463: mathbase: math_role and MathDirective was disappeared in 1.8.0Takeshi KOMIYA2018-09-211-0/+10
| | |
* | | Merge branch '1.8'Takeshi KOMIYA2018-09-131-0/+5
|\ \ \ | |/ /
| * | Update CHANGES for PR #5403Takeshi KOMIYA2018-09-101-0/+5
| | |