Commit Graph

3579 Commits

Author SHA1 Message Date
Takeshi KOMIYA
7459d8771a Fix HTML: Invalid HTML5 file is generated for glossary (refs: #4611)
Note: It was caused by a glossary having multiple terms for one
description.
2019-01-03 18:17:17 +09:00
Takeshi KOMIYA
3c7b4e77e0 refactor: Repalce HTMLHelpBuilder.open_file() by standard open() 2019-01-03 02:05:32 +09:00
Jean-François B
955488df2c Merge branch '1.8' into latex_checkmark 2019-01-02 14:34:32 +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
7fe1016f5e LaTeX: escape Unicode HEAVY CHECK MARK into latex macros
Closes: #3707
2018-12-27 17:35:11 +01:00
jfbu
1e07cb10fc Fix various spelling typos 2018-12-27 13:06:33 +01:00
cocodrips
827059be93 Merge remote-tracking branch 'upstream/master' into 5842-apidoc-extensions 2018-12-26 11:31:50 +09:00
cocodrips
448181d9f9 Add feature to CHANGES. 2018-12-26 11:23:51 +09:00
Timotheus Kampik
221614654f #5605 fix Chinese search index (#5611)
generate search index for Latin words correctly if search language is Chinese
2018-12-25 18:41:52 +01:00
Takeshi KOMIYA
99a7dca216 Merge pull request #5806 from jdufresne/six-text-type
Replace use of six.text_type with str
2018-12-26 01:31:33 +09:00
Takeshi KOMIYA
b5c0edc949 Merge branch '1.8' 2018-12-26 00:37:55 +09:00
Takeshi KOMIYA
920aafaee6 Bump version 2018-12-26 00:32:03 +09:00
Takeshi KOMIYA
81328ca598 Bump to 1.8.3 final 2018-12-26 00:29:31 +09:00
Timotheus Kampik
b779975a44 Merge branch 'master' into 5660-version-modified-classes 2018-12-24 14:57:42 +01:00
Takeshi KOMIYA
f8c6c14526 Merge pull request #5862 from tk0miya/refactor_chm_htmlescape
refactor chm_htmlescape()
2018-12-24 14:17:41 +09:00
Takeshi KOMIYA
6ffe549f49 refactor chm_htmlescape() 2018-12-24 13:54:53 +09:00
jfbu
3f92aa7e6a Remove from CHANGES mention of non-existing 1.7.10 release 2018-12-23 22:13:00 +01:00
Timotheus Kampik
643b5d4555 #5660 add change note 2018-12-23 17:10:51 +01:00
Takeshi KOMIYA
4702086681 Merge branch '1.8' 2018-12-24 00:49:36 +09:00
animalize
cedd94c541 [1.8] htmlhelp: convert hex escaping to decimal escaping in .hhc/.hhk files (#5853)
* htmlhelp: convert hex escaping to decimal escaping in .hhc/.hhk files

.hhc/.hhk files don't recognize hex escaping, we need convert hex escaping to decimal escaping. for example: `'` -> `'`.
2018-12-23 22:39:12 +09:00
jfbu
d4d1a4ba84 Merge branch 'master' into latex_tableofcontentshook 2018-12-23 11:31:10 +01:00
jfbu
701b39328f Merge branch '1.8'
(Resolved) Conflicts:
	sphinx/texinputs/sphinxmanual.cls
2018-12-23 11:23:04 +01:00
Jean-François B
a77f344035 Merge pull request #5850 from jfbu/latex_sphinxmaketitle
LaTeX: ``\sphinxmaketitle`` and optional ``\sphinxbackoftitlepage``
2018-12-23 11:01:46 +01:00
jfbu
8e14532b08 LaTeX: move some hard-coded re-definitions to user hook for TOC 2018-12-22 17:33:03 +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
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
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
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
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
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
a2ec232c71 refactor: latex: Initialize 'logofilename' on context 2018-12-18 23:41:13 +09:00
Takeshi KOMIYA
3905cb8b7c Merge branch '1.8' 2018-12-18 23:32:52 +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
Michael Goerz
77e617e25a Use mathjax CDN "latest" URL by default
Closes #5725
2018-12-17 22:14:25 -05: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