Takeshi KOMIYA
a6d345f95d
Replace :index: role by class based implementation
2019-02-16 00:05:13 +09:00
Takeshi KOMIYA
3b49f9fe3d
Separate htmlhelp to sphinxcontrib package
2019-02-15 01:44:32 +09:00
Takeshi KOMIYA
549a763195
Merge pull request #6025 from tk0miya/refactor_roles2
...
Introduce SphinxRole class as a base class of roles
2019-02-14 01:09:28 +09:00
Takeshi KOMIYA
2efc1065c0
Deprecate sphinx.util.pycompat:sys_encoding
2019-02-11 16:41:19 +09:00
Takeshi KOMIYA
b25deb259e
refactor: Move NoneType to sphinx.util.typing
2019-02-11 16:41:19 +09:00
Takeshi KOMIYA
d40ce68c7b
refactor: Move terminal_safe() to sphinx.util.console
2019-02-11 16:41:19 +09:00
Takeshi KOMIYA
ac70a4dd91
Replace :abbr: role by class based implementation
2019-02-06 01:20:58 +09:00
Takeshi KOMIYA
c4397318d3
Separate applehelp to sphinxcontrib package
2019-02-06 00:44:37 +09:00
Takeshi KOMIYA
2bd69350a7
Separate devhelp to sphinxcontrib package
2019-01-20 03:03:50 +09:00
Takeshi KOMIYA
6be9d2a08e
Separate qthelp to sphinxcontrib package
2019-01-19 16:34:06 +09:00
Takeshi KOMIYA
20bf74c637
Separate jsmath to sphinxcontrib package
2019-01-13 14:07:12 +09:00
Takeshi KOMIYA
6429c9e23c
Merge branch 'master' into refactor_singlehtml
2019-01-12 21:17:16 +09:00
Takeshi KOMIYA
8b6acc05c4
Merge pull request #5909 from tk0miya/refactor_epub2
...
refactor: Convert Epub3Builder.validate_config_values() to a function
2019-01-12 18:22:00 +09:00
Takeshi KOMIYA
354e765eef
refactor: Convert Epub3Builder.validate_config_values() to a function
2019-01-12 18:05:28 +09:00
Takeshi KOMIYA
b08a7c4757
Move SingleFileHTMLBuilder to sphinx.builders.singlehtml package
2019-01-11 01:59:56 +09:00
Takeshi KOMIYA
e82f5ddb55
The arguments of Epub3Builder.build_navigation_doc() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
b6c422ac86
The arguments of EpubBuilder.build_epub() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
64533e142c
The arguments of EpubBuilder.build_toc() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
d437f39bc4
The arguments of EpubBuilder.build_content() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
f000df8bfb
The arguments of EpubBuilder.build_container() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
0f972e8bbf
The arguments of EpubBuilder.build_mimetype() is deprecated
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
39c0380c4d
refactor: deprecate some pycompat functions
2019-01-07 22:54:37 +09:00
Takeshi KOMIYA
353c3e9fd6
Merge pull request #5415 from tk0miya/5410_replace_open_file_by_open
...
refactor: Repalce HTMLHelpBuilder.open_file() by standard open()
2019-01-07 00:59:03 +09:00
Takeshi KOMIYA
56f4b27faa
Deprecate LaTeXTranslator.generate_numfig_format()
2019-01-04 23:06:34 +09:00
Takeshi KOMIYA
45d04703fe
latex: Move ExtBabel to sphinx.builders.latex.util package
2019-01-04 23:06:34 +09:00
Takeshi KOMIYA
3c7b4e77e0
refactor: Repalce HTMLHelpBuilder.open_file() by standard open()
2019-01-03 02:05:32 +09:00
jfbu
b62bf0e0fc
Redo spelling fix lost in merge (contents moved to other file)
...
modified: doc/extdev/index.rst
2018-12-28 16:03:26 +01:00
jfbu
32d57b8637
Merge branch '1.8'
...
resolved Conflicts:
doc/development/tutorials/todo.rst
sphinx/locale/__init__.py
sphinx/search/zh.py
2018-12-28 12:50:20 +01:00
jfbu
1e07cb10fc
Fix various spelling typos
2018-12-27 13:06:33 +01:00
Takeshi KOMIYA
55a89196e4
Merge pull request #5678 from ArtFlag/docs/extension-tutorials
...
Docs: Extension tutorial portal + helloworld example
2018-12-23 22:55:24 +09:00
ArtFlag
35b62e21c9
Move content from the todo tutorial to the extdev/index
2018-12-22 11:38:12 +01:00
jfbu
f8389f5181
[DOC] Make link to list of deprecated APIs in CHANGES an internal link
2018-12-20 21:18:37 +01:00
Takeshi KOMIYA
6fe57436a8
Merge pull request #5839 from jdufresne/description
...
Deprecate unused Exception attributes
2018-12-20 10:15:06 +09:00
ArtFlag
870e2bbc1c
move files to new directory
2018-12-19 17:35:17 +01:00
Takeshi KOMIYA
d0f5862597
Replace EnvironmentError and IOError by OSError
...
Since python 3.3, EnvironmentError and IOError were merged into
OSError.
2018-12-19 19:26:50 +09:00
Jon Dufresne
e9eaf41a58
Deprecate unused Exception attributes
...
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
2018-12-18 18:32:16 -08:00
Takeshi KOMIYA
9574607578
Merge pull request #5827 from tk0miya/refactor_io3
...
Refactor sphinx.io
2018-12-18 23:28:50 +09:00
Jon Dufresne
43ff640b58
Deprecate quickstart.term_decode() and remove internal uses
...
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:
5c69373890/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.
2018-12-17 06:44:17 -08:00
Takeshi KOMIYA
f3350b8b7d
Deprecate SphinxFileInput.supported
2018-12-17 22:26:29 +09:00
Takeshi KOMIYA
636ca67528
Deprecate SphinxBaseFileInput
2018-12-17 22:08:00 +09:00
Takeshi KOMIYA
de49b991f6
refactor: Use simple Input class
2018-12-17 22:07:56 +09:00
Takeshi KOMIYA
71a7ce1453
Merge branch 'master' into string-classes
2018-12-17 18:58:32 +09:00
Jon Dufresne
c4baa7234e
Deprecate the old IndexBuilder.feed() method signature
...
The method signature changed in commit
d27386cc95
(Jun 8, 2016).
2018-12-16 13:52:56 -08:00
Jon Dufresne
80861d105b
Deprecate sphinx.config.string_classes; remove all internal uses
...
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.
2018-12-16 11:35:06 -08:00
Takeshi KOMIYA
6461ea233b
Merge pull request #5793 from tk0miya/pretty_changes
...
Pretty changes
2018-12-16 23:13:37 +09:00
Takeshi KOMIYA
1bf9a7eac5
Deprecate LaTeXTranslator.collect_footnotes()
2018-12-16 21:52:30 +09:00
Takeshi KOMIYA
cdb36fbbf6
Sort deprecated APIs by version
2018-12-16 21:51:33 +09:00
Takeshi KOMIYA
048cfb5e0a
Deprecate UnicodeMixin
2018-12-16 21:51:18 +09:00
Jon Dufresne
49d3a3c0c1
Replace ENOENT errno checks with Python 3 FileNotFoundError
...
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.
2018-12-15 09:02:55 -08:00
Takeshi KOMIYA
6b24c069c3
Deprecate sphinx.util.inspect.Parameter
2018-12-15 21:44:17 +09:00