Commit Graph

11114 Commits

Author SHA1 Message Date
jfbu
fb45af7cde Rename macros for conformity with choices done at PR #5134 2018-07-16 01:57:40 +02:00
Jean-François B
b5f36e7c34
Merge branch '1.7' into 4272_xelatex_use_babel_for_french 2018-07-16 01:38:56 +02:00
jfbu
768abe9b85 Update CHANGES for #5176 fix 2018-07-16 01:22:35 +02:00
jfbu
6f237096d4 LaTeX: fix indexing of terms containing " character 2018-07-16 01:19:06 +02:00
jfbu
ef3447b0f9 LaTeX: fix indexing of terms containing ! character 2018-07-16 01:19:06 +02:00
jfbu
bfad757e45 LaTeX: fix indexing of terms containing @ character 2018-07-16 01:19:06 +02:00
jfbu
3c3dca8203 Fix failed test (changed \sphinxleftcurlybrace) 2018-07-16 01:06:27 +02:00
Takeshi KOMIYA
52bb8e7428
Merge branch '1.7' into 3329_i18n_autosymbol_footnotes 2018-07-15 23:43:09 +09:00
jfbu
9b2aac68ea LaTeX: extend to all projects the #3742 fix for PDF builds at RTD
Refs: https://github.com/rtfd/readthedocs.org/issues/2857
2018-07-15 15:24:25 +02:00
Takeshi KOMIYA
a86e5098ed
Merge pull request #5172 from tk0miya/4946_None_for_rtype_field
Fix py domain: rtype field could not handle "None" as a type (refs: #4946)
2018-07-15 22:22:31 +09:00
Takeshi KOMIYA
24c22787a9
Merge branch '1.7' into 4946_None_for_rtype_field 2018-07-15 21:37:06 +09:00
Takeshi KOMIYA
4598459aa3
Merge pull request #5171 from tk0miya/5139_enum
Fix #5139: autodoc: Enum argument missing if it shares value with another
2018-07-15 21:35:59 +09:00
Takeshi KOMIYA
aad56c0361 Fix #3329: i18n: crashed by auto-symbol footnote references 2018-07-15 20:48:39 +09:00
Takeshi KOMIYA
50188b570a Fix py domain: rtype field could not handle "None" as a type (refs: #4946) 2018-07-15 18:54:54 +09:00
Takeshi KOMIYA
b1acc54cf9 Fix #5139: autodoc: Enum argument missing if it shares value with another 2018-07-15 18:53:53 +09:00
Takeshi KOMIYA
62dbe44858 Fix #5143: autodoc: crashed on inspecting dict like object 2018-07-15 18:12:03 +09:00
Takeshi KOMIYA
9bc2a93d36
Merge pull request #5170 from tk0miya/5143_autodoc_crashed_on_inspecting
Fix #5143: autodoc: crashed on inspecting dict like object
2018-07-15 18:10:21 +09:00
Takeshi KOMIYA
2d7fe69362 Fix #5143: autodoc: crashed on inspecting dict like object 2018-07-15 15:44:31 +09:00
Takeshi KOMIYA
1bece0fbf6
Merge pull request #5169 from tk0miya/master
Merge 1.7 branch into master
2018-07-15 15:28:00 +09:00
Takeshi KOMIYA
2e4db4854f Fix flake8 violation 2018-07-15 15:15:57 +09:00
Takeshi KOMIYA
a54abd760c Fix mypy violations 2018-07-15 14:55:22 +09:00
Takeshi KOMIYA
bfe7bb819d Merge branch '1.7' 2018-07-15 14:55:15 +09:00
Takeshi KOMIYA
453fe5ec1a
Merge pull request #5168 from tk0miya/mypy-0.620
Fix mypy violations
2018-07-15 14:50:30 +09:00
Takeshi KOMIYA
e34fd5b503 Fix mypy violations 2018-07-15 14:07:00 +09:00
jfbu
7b44adb048 Use xindy for Sphinx's own PDF documentation
Makeindex gathered under heading "Symbols" all command line options,
this seems less satisfactory than index produced by xindy.
2018-07-14 19:15:33 +02:00
jfbu
60b160431a LaTeX: add hyperref support to general index as handled by xindy
- achieve hyperlinked page numbers in general index, despite xindy's
  incompatibility with hyperref,

- obtain compatibility of pdflatex with xindy for documents with
  Cyrillic scripts,

- use xindy by default with xelatex/lualatex because any non-ascii
  character as first letter of an indexed term breaks PDF build if using
  makeindex with lualatex, and produces incoherent index with xelatex.

This commit also switches off xindy logs (which were activated in parent
commits) as they are voluminous and not of immediate use to Sphinx user.
2018-07-14 19:13:59 +02:00
Takeshi KOMIYA
6ee03240b4
Merge pull request #5151 from tk0miya/5146_wrong_location_for_autosummary_warning
Fix autosummary: warnings of autosummary indicates wrong location (refs: #5146)
2018-07-14 22:31:50 +09:00
Dmitry Shachnev
432f8c5b1c inspect: Handle Tuple type as a special case 2018-07-13 21:37:47 +03:00
Dmitry Shachnev
1e11634d51 Add a failing test for formatting Tuple[int, str, int] 2018-07-13 21:21:49 +03:00
Takeshi KOMIYA
e222b38d85
Merge branch '1.7' into 5146_wrong_location_for_autosummary_warning 2018-07-13 01:57:57 +09:00
Takeshi KOMIYA
9fcbfa859e
Merge pull request #5152 from tk0miya/5146_autosummary_and_literal_notation
Fix #5146: autosummary: warning is emitted when the first line of docstring ends with literal notation
2018-07-13 01:56:52 +09:00
Takeshi KOMIYA
20480f4857
Merge branch '1.7' into 5146_autosummary_and_literal_notation 2018-07-13 01:18:19 +09:00
Takeshi KOMIYA
b2ce178d7e
Merge pull request #5131 from tk0miya/5125_wrong_sphinx.main
Fix #5125: sphinx-build: Interface of ``sphinx:main()`` has changed
2018-07-13 00:39:33 +09:00
jfbu
799c0af6e8 LaTeX: for French and xelatex, use babel not polyglossia (fix: #4272) 2018-07-12 15:08:54 +02:00
Takeshi KOMIYA
4aeb94a7a2
Merge branch '1.7' into 5125_wrong_sphinx.main 2018-07-12 21:17:29 +09:00
jfbu
a68d06a1da LaTeX: fix indexing of terms containing " character 2018-07-11 18:49:03 +02:00
jfbu
7166451dbd LaTeX: fix indexing of terms containing ! character 2018-07-11 18:49:03 +02:00
jfbu
f0eeb5457c LaTeX: fix indexing of terms containing @ character 2018-07-11 18:49:03 +02:00
Dan Abdinoor
83c9380299
Fix links to sphinx-build man page
Swap``program`` for ``doc`` links to sphinx-build man page.
2018-07-10 12:14:45 -04:00
Takeshi KOMIYA
2e66ffba57 Update CHANGES for PR #5119 2018-07-09 10:44:14 +09:00
Takeshi KOMIYA
a2f6de88c1 Fix #5146: autosummary: warning is emitted when the first line of docstring ends with literal notation 2018-07-08 21:14:01 +09:00
Takeshi KOMIYA
d6c85619b4 Fix autosummary: warnings of autosummary indicates wrong location (refs: #5146) 2018-07-08 20:41:38 +09:00
jfbu
35c69ccfb5 Fix line too long 2018-07-04 08:46:25 +02:00
jfbu
e7ee035050 LaTeX use `\sphinxstyleindexletterhead` also for domain indices 2018-07-04 08:37:57 +02:00
jfbu
46bc56636e Fix: #5133 via `\sphinxsymbolsname, \sphinxnumbersname`
Also adds usage of \sphinxstyleindexletterhead in python.ist as a
customizable alias of original \bigletter.
2018-07-04 08:32:02 +02:00
Michel Alexandre Salim
b553c23ab1 Closes #5076: [ext/napoleon] explicitly catch StopIteration (#5119)
* Closes #5076: [ext/napoleon] explicitly catch StopIteration

Per PEP 479, Python 3.7 no longer allows bubbling up StopIteration
outside of a generator. Instead, wrap attribute parsing in a try
block and provide a sane default in case it raises an exception
([]).

* Fix mypy and flake8 issues
2018-07-03 12:28:54 -04:00
jfbu
a6d063eb01 LaTeX: improve customizabilty of Sphinx generated indices 2018-07-03 14:47:43 +02:00
Timotheus Kampik
94b467dbc8 #4255 clarify documentation of `startdocname` parameters.
* Relative path from source directory

* Similar to ``master_doc`` in functionality
2018-07-01 16:10:51 +02:00
jfbu
5a383e13e6 Fix flake8 2018-07-01 00:21:44 +02:00
jfbu
90c2b528b1 Update docs and CHANGES for `latex_use_xindy` config variable 2018-06-30 23:37:26 +02:00