jfbu
8e14532b08
LaTeX: move some hard-coded re-definitions to user hook for TOC
2018-12-22 17:33:03 +01:00
ArtFlag
35b62e21c9
Move content from the todo tutorial to the extdev/index
2018-12-22 11:38:12 +01:00
ArtFlag
a85f8e2305
Minor changes in helloworld
2018-12-22 11:13:35 +01:00
jfbu
1920d1d950
LaTeX: `\sphinxmaketitle
and optional
\sphinxbackoftitlepage
`
...
Closes : #5849
2018-12-21 21:38:27 +01:00
Takeshi KOMIYA
f06e84ac4f
Fix #5800 : todo: crashed if todo is defined in TextElement
2018-12-22 01:10:23 +09:00
Jon Dufresne
1f6ce4cd44
Replace escape sequence '\u00B6' with literal '¶'
...
More obvious to the reader.
2018-12-20 18:39:51 -08:00
jfbu
da90d63e32
Reorder bugfix entries in CHANGES for 2.0
2018-12-20 21:26:52 +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
jfbu
f5163d46da
Update CHANGES for PR #5768
2018-12-20 21:00:47 +01:00
jfbu
bfcddc63ca
Update CHANGES for #5249 "fix" via added documentation (refs: #5693 )
2018-12-20 20:44:11 +01:00
Jean-François B
696c8f0fc0
Merge pull request #5693 from jfbu/latex_doc_unicode_in_math
...
LaTeX (doc): explain how to allow Unicode input in math
2018-12-20 20:31:31 +01:00
jfbu
fdb6147555
LaTeX (doc): explain how to allow Unicode input in math
...
Closes : #5249
2018-12-20 19:43:50 +01:00
Takeshi KOMIYA
f8a3407c7c
Merge pull request #5838 from tk0miya/5834_apidoc_wrong_help
...
Fix #5834 : apidoc: wrong help for --tocfile
2018-12-20 22:33:24 +09:00
Takeshi KOMIYA
5bbd61df0a
Merge branch '1.8' into 5834_apidoc_wrong_help
2018-12-20 11:31:50 +09:00
Takeshi KOMIYA
914e655960
Merge pull request #5664 from tk0miya/refactor_latex3
...
refactor: Initialize template variables for LaTeX in builder; date, logofilename and packages
2018-12-20 11:13:47 +09:00
Takeshi KOMIYA
7e60036935
Merge pull request #5840 from tk0miya/1956_conf.py_flake8_error
...
Fix flake8 violation in conf.py
2018-12-20 11:12:23 +09:00
Takeshi KOMIYA
33387a0343
Fix flake8 violation in conf.py
2018-12-20 10:32:52 +09:00
Takeshi KOMIYA
6fe57436a8
Merge pull request #5839 from jdufresne/description
...
Deprecate unused Exception attributes
2018-12-20 10:15:06 +09:00
Takeshi KOMIYA
bf47f0a178
Merge pull request #5783 from tk0miya/refactor_OSError
...
Replace EnvironmentError and IOError by OSError
2018-12-20 10:11:14 +09:00
ArtFlag
990b02b5fb
Feedback
2018-12-19 17:35:17 +01: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
Jon Dufresne
6978918ffc
Replace use of six.text_type with str
...
This removes the last use of the six package allowing Sphinx to remove
it as a dependency.
2018-12-18 16:23:10 -08:00
jfbu
4405366e22
Update CHANGES (refs: #1682 , #5645 )
2018-12-18 23:07:56 +01:00
Takeshi KOMIYA
a1976cc0c8
Update docs
2018-12-19 01:32:26 +09:00
jfbu
f6ac360b9c
Update CHANGES (add Fedora package name for xelatex FreeFont dependency)
2018-12-18 16:56:52 +01:00
Takeshi KOMIYA
e115eafa43
Fix #5834 : apidoc: wrong help for --tocfile
2018-12-19 00:43:37 +09:00
Takeshi KOMIYA
f815b58df5
refactor: latex: Initialize 'packages' on context
2018-12-18 23:41:13 +09:00
Takeshi KOMIYA
a2ec232c71
refactor: latex: Initialize 'logofilename' on context
2018-12-18 23:41:13 +09:00
Takeshi KOMIYA
db02ae1b81
refactor: latex: Initialize 'date' on builder
2018-12-18 23:40:04 +09:00
Takeshi KOMIYA
3905cb8b7c
Merge branch '1.8'
2018-12-18 23:32:52 +09:00
Takeshi KOMIYA
f04e161173
Merge pull request #5826 from tk0miya/refactor_intersphinx
...
intersphinx: Normalize mapping on config-inited
2018-12-18 23:29:25 +09:00
Takeshi KOMIYA
9574607578
Merge pull request #5827 from tk0miya/refactor_io3
...
Refactor sphinx.io
2018-12-18 23:28:50 +09:00
Takeshi KOMIYA
bc7814e33a
Merge pull request #5828 from tk0miya/reorder_arguments_for_Translators
...
Reorder the arguments for translators
2018-12-18 23:17:19 +09:00
Takeshi KOMIYA
f596439a0f
Merge pull request #5786 from tk0miya/requests-2.5
...
Update deps: requests-2.5.0 or above
2018-12-18 23:12:19 +09:00
Takeshi KOMIYA
518c2f2e0e
Merge pull request #5829 from tk0miya/5724_setlocale_failure
...
Fix #5724 : quickstart: sphinx-quickstart fails when $LC_ALL is empty
2018-12-18 23:10:32 +09:00
Takeshi KOMIYA
c2047c2cf7
Merge pull request #5833 from tk0miya/fix_typehints_for_code_directive
...
Fix annotations of code directives
2018-12-18 23:10:00 +09:00
Takeshi KOMIYA
4c149f6458
Merge pull request #5835 from goerz/1.8
...
Use mathjax CDN "latest" URL by default
2018-12-18 23:07:42 +09:00
Takeshi KOMIYA
526b365a4c
Merge pull request #5837 from jfbu/latex_halt_it_on_error_when_testing
...
[tests] LaTeX: use latex engines with ``--halt-on-error`` option
2018-12-18 23:06:38 +09:00
jfbu
bd2ca4763c
[tests] LaTeX: use latex engines with `--halt-on-error
` option
2018-12-18 13:41:48 +01:00
Michael Goerz
77e617e25a
Use mathjax CDN "latest" URL by default
...
Closes #5725
2018-12-17 22:14:25 -05:00
Takeshi KOMIYA
f4f2eefd19
Fix annotations of code directives
2018-12-18 00:53:28 +09:00
Takeshi KOMIYA
afea0b1085
Merge pull request #5831 from jdufresne/term-decode
...
Deprecate quickstart.term_decode() and remove internal uses
2018-12-18 00:24:04 +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
jfbu
cce4ad7f80
Merge branch '1.8'
...
(Resolved) Conflicts:
sphinx/domains/cpp.py
2018-12-17 15:23:00 +01:00
Takeshi KOMIYA
a3ab764a5b
Reorder the arguments for translators
2018-12-17 23:20:01 +09:00
Takeshi KOMIYA
4b331dae48
Fix #5724 : quickstart: sphinx-quickstart fails when $LC_ALL is empty
2018-12-17 23:08:08 +09: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