Takeshi KOMIYA
f7027049b1
Fix flake8 violations
2018-02-19 23:20:56 +09:00
Takeshi KOMIYA
d40db5efa2
Fix #4563 : autosummary: Incorrect end of line punctuation detection
2018-02-19 14:42:19 +09:00
Takeshi KOMIYA
20613edc03
refactor: Add extract_summary() for easily testing
2018-02-19 14:40:39 +09:00
cocoatomo
f3d13d9ce7
Fix the dirname for testing files
2018-02-19 09:51:30 +09:00
cocoatomo
07d2cdd47b
Add a testcase for deterministic msgid order
2018-02-19 08:57:19 +09:00
Roman Kapl
675b8fe48f
Fit graphviz images to page.
...
Use \sphinxincludegraphics, that's what the core image directives use
and it handles fitting properly.
2018-02-17 10:07:00 +09:00
Takeshi KOMIYA
ec8226daa7
Merge pull request #4612 from tk0miya/optimize_latex_testcase
...
Use roots/basic for test_latex_logo_if_not_found
2018-02-17 00:25:32 +09:00
Takeshi KOMIYA
5b02d61a04
Use roots/basic for test_latex_logo_if_not_found
2018-02-14 01:35:00 +09:00
Takeshi KOMIYA
795ca7a0c9
Fix #4260 : autodoc: keyword only argument separator is not disappeared
2018-02-13 02:13:38 +09:00
Takeshi KOMIYA
e700f0ba99
Fix #4581 : apidoc: Excluded modules still included
2018-02-11 22:10:33 +09:00
Takeshi KOMIYA
ae38d556b7
Combine tests for autosectionlabel
2018-02-11 13:54:47 +09:00
Kit La Touche
481b1ad535
Remove extraneous import
2018-02-11 13:53:29 +09:00
Kit La Touche
4beb4d0066
Fix unicode issues
2018-02-11 13:53:29 +09:00
Kit La Touche
29a3fd0acb
Handle older docutils
2018-02-11 13:53:29 +09:00
Kit La Touche
f21b9d5892
Use rawsource in autosectionlabel
...
Fixes #4027 .
2018-02-11 13:52:27 +09:00
Takeshi KOMIYA
0f1168308b
Merge branch '1.7-release' into 4560_i18n_compilation_problem
2018-02-10 11:53:14 +09:00
Zac-HD
b62628f678
Avoid misreporting line number
2018-02-09 11:05:26 +11:00
Zac-HD
68bccb01ac
Get correct filename for each doctest block
...
This is complicated because doctests may be included from other files,
eg. dosctrings in a Python module.
2018-02-09 11:05:25 +11:00
Zac-HD
973f2680d6
Add ext.autodoc + ext.doctest test root
2018-02-09 10:39:25 +11:00
Takeshi KOMIYA
afbd27f996
Fix i18n: message catalogs are not compiled when specific build (refs: #4560 )
...
sphinx-build skips message catalog builds if specific filename are given
as arguments.
2018-02-08 12:44:15 +09:00
cocoatomo
8969ae40de
Make the log message more translation-friendly
2018-02-07 01:52:22 +09:00
Takeshi KOMIYA
656e3be754
Fix #4539 : autodoc emits warnings for partialmethods
2018-02-04 23:23:43 +09:00
Takeshi KOMIYA
18c0b23797
Merge branch 'stable' into 1.7-release
2018-02-04 23:20:48 +09:00
Takeshi KOMIYA
929379d0ce
Fix #2372 : autosummary: invalid signatures are shown for type annotated functions
2018-02-03 16:53:26 +09:00
Takeshi KOMIYA
39d4584248
Merge branch 'stable' into 1.7-release
2018-02-03 02:14:06 +09:00
Daniel Pizetta
d3d4d94970
Add test for fix #4019
2018-02-01 17:29:18 -02:00
Takeshi KOMIYA
43ee8d194d
intersphinx: Add testcase for inventory fallbacks
2018-01-31 01:22:33 +09:00
Takeshi KOMIYA
2994014cf9
Merge pull request #4247 from jorisvandenbossche/autosummary-attributes
...
BUG: autosummary to list all class members
2018-01-30 10:44:18 +09:00
Takeshi KOMIYA
00a961a573
Merge pull request #4519 from tk0miya/4209_intersphinx_and_not_versioned_docs
...
Fix #4209 : intersphinx: In link title, "v" should be optional if target has no version
2018-01-30 00:57:44 +09:00
Takeshi KOMIYA
cb5cf26c85
Merge branch 'stable' into 1.7-release
2018-01-30 00:20:45 +09:00
Takeshi KOMIYA
aa47e9decc
Fix #4209 : intersphinx: In link title, "v" should be optional if target has no version
2018-01-30 00:14:53 +09:00
Takeshi KOMIYA
8494638e45
Fix graphviz: workaround for wrong map ID which graphviz generates
2018-01-29 22:33:23 +09:00
Takeshi KOMIYA
2312a0a5bc
Fix #4501 : graphviz: epub3 validation error caused if graph is not clickable
2018-01-29 22:32:58 +09:00
Takeshi KOMIYA
3cdb3da2df
Merge branch '1.7-release' into 4275_update_strftime
2018-01-28 20:13:35 +09:00
Takeshi KOMIYA
321b3d49cb
Fix #3952 : apidoc: module header is too escaped
2018-01-28 18:58:58 +09:00
Takeshi KOMIYA
f3812b0d18
Fix #4275 : Formats accepted by sphinx.util.i18n.format_date are limite
2018-01-28 17:22:41 +09:00
Takeshi KOMIYA
10ad257780
Merge branch '1.7-release' into 4490_format_annotation_for_py37
2018-01-28 02:09:57 +09:00
Takeshi KOMIYA
af25fa123d
Merge branch 'stable' into 1.7-release
2018-01-28 00:18:33 +09:00
Takeshi KOMIYA
fd2425238e
Fix #4490 : autodoc: type annotation is broken with python 3.7.0a4+
2018-01-27 12:26:53 +09:00
Takeshi KOMIYA
068bbb1b8a
Merge pull request #4449 from dhellmann/stable-fix-autodoc-for-empty-packages
...
fix ext.apidoc to include "empty" packages that contain modules
2018-01-25 01:15:36 +09:00
Takeshi KOMIYA
9340a45393
test: Don't use os.errno. Use errno directly
2018-01-25 00:48:37 +09:00
Takeshi KOMIYA
f779fa7ad6
Merge branch 'stable' into 1.7-release
2018-01-25 00:40:21 +09:00
Takeshi KOMIYA
ded638c82b
test: Add workaround for python 3.7.0a4+
...
Since 3.7.0a+, the behavior of typing module has been changed.
As a result, format_annotation() also has been changed.
2018-01-25 00:02:49 +09:00
Doug Hellmann
83f30712b8
fix ext.apidoc to include "empty" packages that contain modules
...
Commit 2d99648e99 changed the apidoc
extension to ignore packages if the __init__.py file was empty. That
breaks the toctree structure if those packages do contain submodules
and subpackages. This patch adds a check to ensure that empty
__init__.py modules are only skipped if there are no other python
modules in the same directory.
Addresses bug #654
Signed-off-by: Doug Hellmann <doug@doughellmann.com >
2018-01-23 14:21:03 -05:00
Takeshi KOMIYA
91873f09b8
Merge branch 'stable' into 1.7-release
2018-01-21 16:06:14 +09:00
Aaron Carlisle
e77ca75103
Update test file
2018-01-21 13:18:29 +09:00
Takeshi KOMIYA
896ab3a2f5
Fix #4434 : pure numbers as link targets produce warning
2018-01-20 19:43:43 +09:00
jfbu
d2d31e2e7d
Fix failed latex test after merge
2018-01-20 10:48:27 +01:00
jfbu
02ee4ec86b
Merge branch 'stable' into 1.7-release
2018-01-20 10:38:03 +01:00
Jean-François B
d3058f462d
Merge pull request #4452 from jfbu/4431_fix
...
Fix "Undefined control sequence \\hlineSomeText" (#4431 ; refs: #3435 )
2018-01-20 10:23:03 +01:00