Takeshi KOMIYA
9409db0771
Deprecate sphinx.parsers.Parser.app
2020-02-15 00:39:34 +09:00
Takeshi KOMIYA
6e0119526a
Merge branch '2.0'
2020-02-09 16:21:32 +09:00
Takeshi KOMIYA
dee8b9eddb
Fix #6327 : apidoc: Support a python package consisted of __init__.so file
2020-02-08 18:11:48 +09:00
Takeshi KOMIYA
9d301e5b81
refactor: apidoc.shall_skip()
2020-02-08 17:59:29 +09:00
Takeshi KOMIYA
7d6374d983
testing: Add Path.read_text() and Path.read_bytes()
...
To migrate pathlib.Path in future, compatibile methods are needed
for our Path class.
2020-02-01 11:45:47 +09:00
Takeshi KOMIYA
41032572a5
Merge branch '2.0'
2020-02-01 11:17:03 +09:00
Takeshi KOMIYA
b73cc5652a
Update deprecation list
2020-01-31 01:59:24 +09:00
Takeshi KOMIYA
52afc79e1f
Merge branch '2.0' into refactor_latex
2020-01-31 01:18:57 +09:00
Takeshi KOMIYA
e7a0af807a
Merge branch '2.0'
2020-01-30 23:29:32 +09:00
Takeshi KOMIYA
67fefcc6f9
Merge branch '2.0' into 6418_autodoc_typehints_description
2020-01-30 23:19:45 +09:00
Takeshi KOMIYA
045630ec85
Deprecate sphinx.util.inspect:safe_getmembers()
2020-01-25 23:21:33 +09:00
Takeshi KOMIYA
2e22e96061
Add new event: :event:object-description-transform
2020-01-25 17:12:41 +09:00
Takeshi KOMIYA
f169560395
Merge pull request #6979 from tk0miya/6830_autodoc_private
...
Close #6830 : autodoc: consider a member private if docstring contains :private:
2020-01-11 15:14:52 +09:00
Takeshi KOMIYA
cad1f86dd8
Merge branch '2.0'
2020-01-11 02:56:58 +09:00
Takeshi KOMIYA
5867416612
refactor: Add sphinx.util.inspect.signature()
...
As a successor of sphinx.util.inspect.Singnature, this adds
signature() function behaves like `inspect.signature()`. It is
very similar to way of python's inspect module.
In addition, this also adds stringify_annotation() helper to
sphinx.util.inspect module. With these two functions, we can move
to python's Signature object to represent function signatures
perfectly. It's natural design for python developers than ever.
2020-01-09 00:32:07 +09:00
Takeshi KOMIYA
af2a3c0dde
Merge branch '2.0'
2020-01-08 01:37:53 +09:00
Takeshi KOMIYA
05daa3c7ce
Add sphinx.util.typing:stringify() to represent annotations as string
2020-01-05 01:13:27 +09:00
Takeshi KOMIYA
b968bb91e9
Close #6830 : autodoc: consider a member private if docstring has "private" metadata
2020-01-04 13:28:07 +09:00
Takeshi KOMIYA
7123f4038a
Fix #6559 : Wrong node-ids are generated in glossary directive
2020-01-02 22:03:39 +09:00
Takeshi KOMIYA
e628afd5cd
Merge branch '2.0'
2020-01-01 11:39:46 +09:00
Takeshi KOMIYA
c358e04b09
Close #6558 : glossary: emit a warning for duplicated glossary entry
2019-12-29 22:31:36 +09:00
Takeshi KOMIYA
8dc3315ce5
Deprecate sphinx.roles:Index and make a copy to sphinx.domains.index
2019-12-29 19:12:58 +09:00
Takeshi KOMIYA
4f83793fd0
Move sphinx.directives.other:Index to sphinx.domains.index
2019-12-29 18:21:26 +09:00
Takeshi KOMIYA
ff9e5e6dbd
doc: Sort deprecated list alphabetically
2019-12-28 19:37:43 +09:00
Takeshi KOMIYA
3ddbd73f49
refactor: latex: Deprecate settings.* attributes based on latex_documents
2019-12-27 22:46:16 +09:00
Takeshi KOMIYA
c8074b4a5d
Deprecate sphinx.util:detect_encoding() and ModuleAnalyzer.encoding
2019-12-27 22:08:32 +09:00
Takeshi KOMIYA
7581ee1084
Deprecate sphinx.util:get_module_source()
2019-12-27 01:57:39 +09:00
Takeshi KOMIYA
5640cf879f
Merge branch '2.0'
2019-12-22 18:47:30 +09:00
Takeshi KOMIYA
6d6fe9da0d
Add IndexDomain
2019-12-22 17:20:35 +09:00
Takeshi KOMIYA
d47f38e22d
Merge branch '2.0'
2019-12-21 12:21:49 +09:00
Takeshi KOMIYA
00c30679cf
Deprecate sphinx.io.FiletypeNotFoundError and get_filetype()
2019-12-16 01:45:02 +09:00
Takeshi KOMIYA
712c20a3d9
Merge branch '2.0'
2019-12-16 00:05:35 +09:00
jfbu
30b26dd6a1
LaTeX: avoid quotes and TeX ligature replacements in PDF output
...
Refs: #6890
The comma character is not TeX-escaped because it is frequent in general
text and escaping it would make the LaTeX output larger for only dealing
with the problem of the LaTeX-ligature of ,, into a single character.
And one there is problem with the commas in options to Verbatim from
PygmentsBridge.
The hyphen character is escaped (not in ids and URIs!) to
\sphinxhyphen{} for both Unicode and non-Unicode engines. This is needed
to work around hyperref transforming -- and --- from section titles into
EN DASH resp. EM DASH in PDF bookmarks.
https://github.com/latex3/hyperref/issues/112
Note to expert LaTeX users: if Sphinx latex user with xelatex has
- turned off Smart Quotes for some reason,
- but does want TeX ligatures and thus overrode Sphinx
latex_elements['fontenc'] default (since #6888 ) to this effect,
then this should be added to LaTeX preamble:
\def\sphinxhyphen#1{-}% (\protected is now not needed)
\let\sphinxhyphenforbookmarks\sphinxhyphen
2019-12-15 14:19:50 +01:00
Takeshi KOMIYA
15c266c445
Merge branch '2.0'
2019-11-30 21:52:42 +09:00
Takeshi KOMIYA
6644830941
Merge branch '2.0'
2019-11-17 14:24:04 +09:00
Takeshi KOMIYA
f3469bcc8f
Make escape() and hlescape() as public APIs of texescape
2019-11-16 19:42:06 +09:00
Takeshi KOMIYA
5f559fbb98
Deprecate sphinx.util.texescape.tex_escape_map
2019-11-16 18:34:48 +09:00
Takeshi KOMIYA
399f773d9d
gettext: Use template file to generate message catalog
2019-11-08 00:36:57 +09:00
Takeshi KOMIYA
e8925e78ca
Merge branch '2.0'
2019-10-06 18:41:32 +09:00
Takeshi KOMIYA
21cd1c2ef5
refactor: SphinxStandaloneReader should not hold an application object
2019-08-20 21:45:50 +09:00
Takeshi KOMIYA
b325a1de2b
Merge branch '2.0'
2019-06-21 12:47:02 +09:00
Takeshi KOMIYA
564d23be7a
Merge pull request #6467 from tk0miya/refactor_math
...
refactor: Add data accessors to MathDomain
2019-06-15 23:48:57 +09:00
Takeshi KOMIYA
5d42659e33
Merge branch '2.0'
2019-06-15 23:39:44 +09:00
Takeshi KOMIYA
9b0f415e21
refactor: Add data accessors to MathDomain
2019-06-15 23:05:45 +09:00
Takeshi KOMIYA
f6dfab33d2
Merge branch '2.0' into refactor_todo2
2019-06-15 16:45:17 +09:00
Takeshi KOMIYA
649ebea438
autosummary: deprecate info and warn arguments for generate_autosummary_docs()
2019-06-10 13:45:28 +09:00
Takeshi KOMIYA
8fd817d174
refactor: todo: Add TodoListProcessor to expand todolist nodes
2019-06-03 00:17:29 +09:00
Takeshi KOMIYA
9abb4820b1
refactor: todo: Add TodoDomain to collect todo nodes
2019-06-02 23:41:39 +09:00
Takeshi KOMIYA
ce3c5735cd
Merge branch '2.0'
2019-06-01 01:45:47 +09:00
Takeshi KOMIYA
d6063ff35b
doc: Fold lines by 80 columns
2019-05-30 01:07:05 +09:00