Takeshi KOMIYA
ac399b3b4e
refactor tests for autosectionlabel
2019-02-11 18:34:04 +09:00
Takeshi KOMIYA
7770940af8
Merge branch 'master' into 4261_autosectionlabel_max_depth
2019-02-11 17:53:50 +09:00
Takeshi KOMIYA
11a398b1b0
Merge pull request #6052 from tk0miya/5394_meaningful_annotations_for_mock
...
Display meaningful names in type annotations for mocked objects
2019-02-11 12:32:45 +09:00
Takeshi KOMIYA
8812131a57
Merge pull request #6022 from tk0miya/5196_linkcheck_should_check_remote_image
...
Close #5196 : linkcheck also checks remote images exist
2019-02-11 02:05:14 +09:00
Takeshi KOMIYA
a6ef8190ce
Add testcase for mocked objects in autodoc
2019-02-11 01:46:38 +09:00
Takeshi KOMIYA
3a237f7f4d
Merge pull request #6017 from tk0miya/4550_align_figures_to_center
...
Close #4550 : All tables and figures without ``align`` option are displayed to center
2019-02-10 20:54:24 +09:00
Takeshi KOMIYA
7415f64eab
refactor: htmlhelp: Generate .hhc file from template
2019-02-09 14:56:51 +09:00
Takeshi KOMIYA
1d5e3cba0e
refactor: test-docutilsconf
...
Use options for reST parser instead of HTML4 writer's.
2019-02-09 00:49:49 +09:00
Takeshi KOMIYA
25027945f5
Close #4550 : All tables and figures without `align` option are displayed to center
2019-02-08 01:39:41 +09:00
Takeshi KOMIYA
500bf85443
Merge branch 'master' into 5196_linkcheck_should_check_remote_image
2019-02-08 00:10:14 +09:00
Jean-François B
ed86ada661
Merge pull request #5992 from jfbu/latex_safe_graphics
...
LaTeX: safer image inclusion
2019-02-05 18:03:07 +01:00
jfbu
0d72052141
Merge branch 'master' into latex_safe_graphics
2019-02-05 17:46:00 +01:00
Takeshi KOMIYA
ff80d2f538
Merge pull request #5983 from tk0miya/separate_applehelp
...
Separate applehelp to sphinxcontrib package
2019-02-06 01:14:02 +09:00
Takeshi KOMIYA
c4397318d3
Separate applehelp to sphinxcontrib package
2019-02-06 00:44:37 +09:00
Takeshi KOMIYA
20edbe9500
Merge pull request #6015 from tk0miya/1851_omit_argument_for_code-block
...
Close #1851 : Allow to omit an argument for code-block directive
2019-02-06 00:24:17 +09:00
Takeshi KOMIYA
f551915e9f
Close #5196 : linkcheck also checks remote images exist
2019-02-06 00:21:52 +09:00
Takeshi KOMIYA
d1cd72660b
Merge pull request #6012 from tk0miya/update_svgimg
...
Fix test: imgconverter expects size of images fixed
2019-02-04 01:53:34 +09:00
Takeshi KOMIYA
6ca669295c
Close #1851 : Allow to omit an argument for code-block directive
2019-02-04 01:50:44 +09:00
Takeshi KOMIYA
21fef75c3b
Fix test: imgconverter expects size of images fixed
2019-02-03 23:59:15 +09:00
Takeshi KOMIYA
622a678377
Merge pull request #6010 from tk0miya/4611_show_warnings_for_duplicated_toctree
...
Fix #4611 : epub: Show warning for duplicated ToC entries
2019-02-03 23:36:43 +09:00
Takeshi KOMIYA
b40ad9ffd4
Merge branch '1.8'
2019-02-03 23:20:26 +09:00
Takeshi KOMIYA
b950480218
Fix #4611 : epub: Show warning for duplicated ToC entries
2019-02-03 22:53:30 +09:00
Takeshi KOMIYA
b7c679626a
Fix #5948 : LaTeX: duplicated labels are generated for sections
2019-02-03 22:33:24 +09:00
Takeshi KOMIYA
c70dfcd390
Merge branch '1.8'
2019-02-03 19:53:12 +09:00
Takeshi KOMIYA
ed3d13b939
Merge pull request #6009 from tk0miya/4611_add_testcase_for_html_style
...
Separate testcase for html_style to single case from root
2019-02-03 19:48:56 +09:00
Takeshi KOMIYA
705248af2f
Merge branch '1.8'
2019-02-03 19:33:28 +09:00
Takeshi KOMIYA
97782c8ba1
Separate testcase for html_style to single case from root
2019-02-03 19:16:04 +09:00
Takeshi KOMIYA
36e770fe68
test: Replace SVG image by simple one
...
Old SVG image contains non standard tags and attributes. Therefore,
epubcheck warns it as invalid. To avoid the warnings, this replaces it
by very simple one.
2019-02-03 19:08:28 +09:00
jfbu
669f9c3a13
LaTeX: safer image inclusion
...
Closes : #5956
2019-01-29 11:15:49 +01:00
Takeshi KOMIYA
20bf74c637
Separate jsmath to sphinxcontrib package
2019-01-13 14:07:12 +09:00
Takeshi KOMIYA
68c90a26f1
quickstart: Simplify generated conf.py (for latex)
2019-01-07 23:06:14 +09:00
Takeshi KOMIYA
114ff77f68
test: Omit master_doc settings from testcases
2019-01-03 10:58:42 +09:00
Takeshi KOMIYA
5428d94d24
Remove coding magic comments from tests
2019-01-02 21:53:07 +09:00
Takeshi KOMIYA
76e9f57c2e
Merge branch '1.8'
2019-01-02 16:16:25 +09:00
Takeshi KOMIYA
1b1ebd2c75
A happy new year!
2019-01-02 16:00:30 +09: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
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
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
701b39328f
Merge branch '1.8'
...
(Resolved) Conflicts:
sphinx/texinputs/sphinxmanual.cls
2018-12-23 11:23:04 +01:00
Takeshi KOMIYA
f06e84ac4f
Fix #5800 : todo: crashed if todo is defined in TextElement
2018-12-22 01:10:23 +09:00
Takeshi KOMIYA
5e5bdb8a64
Remove absolute_import
2018-12-17 20:47:49 +09:00
Stephen Finucane
5a9033e5aa
Specifically request Python 3
...
If Sphinx is Python 3-only, Sphinx's tooling should be Python 3-only
too.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2018-12-17 09:46:18 +00:00
Stephen Finucane
d345d0f8c1
py3: Remove (most) __future__ imports
...
There were two used:
- print_function
- absolute_import
Both of these are mandatory in Python 3.0 onwards [1] and can therefore
be removed...mostly. Unfortunately, mypy is still running in Python 2.7
mode, meaning we need the 'print_function' future wherever we're calling
'print' with the 'file' argument. There's also a single
'absolute_import' future that must be retained as its removal breaks a
test for as-yet unknown reasons. TODOs are added to resolve both issues
in the future.
[1] https://docs.python.org/3/library/__future__.html
Signed-off-by: Stephen Finucane <stephen@that.guru >
2018-12-17 09:46:15 +00:00
jfbu
30ec4b6bba
Merge branch '1.8'
2018-12-16 18:34:05 +01:00
jfbu
88a019dc99
LaTeX: allow sphinxVerbatim usage without explicit "hllines" extra setup
...
Fixes : #5810
2018-12-16 16:54:28 +01:00
Takeshi KOMIYA
c6bd84a614
refactor: Remove u-prefix from strings
2018-12-16 21:28:51 +09:00
Takeshi KOMIYA
fd1dd13a50
refactor: Replace six.StringIO by io.StringIO
2018-12-15 21:00:38 +09:00
Takeshi KOMIYA
5f8b1ede8e
refactor: Replace six.add_metaclass by __metaclass_ attribute
2018-12-15 20:06:26 +09:00
Takeshi KOMIYA
825426c841
refactor figure_wrapper() using state.inline_text()
2018-12-04 01:14:53 +09:00