Takeshi KOMIYA
9fc53cecf7
Reduce deprecation warnings (refs: #3192 )
2016-12-15 17:15:49 +09:00
shimizukawa
5fc8d3db91
Fix : #2469 : Ignore updates of catalog files for gettext builder. Thanks to Hiroshi Ohkubo.
2016-12-12 23:28:00 +09:00
Jean-François B
0b1130a7cb
Merge pull request #3206 from jfbu/fixlatexhyperlink
...
Fix #3200 : 1.5 LaTeX: xref inside desc_name not allowed
2016-12-11 14:50:44 +01:00
shimizukawa
124938c9ae
Merge branch '1.5-release' into stable
2016-12-10 11:56:22 +09:00
Rob Ruana
f4716ed3a3
[Napoleon] adds xref test data for pull request #3168
2016-12-09 14:13:29 -08:00
jfbu
9d1f95c9a0
fix 3 line too long style-check errors
2016-12-08 22:30:48 +01:00
jfbu
6dcf43c826
fix pattern string in test_inheritance_diagram_latex for CI testing
2016-12-08 22:14:48 +01:00
jfbu
18e01c8341
fix one more test failure and fix previous fix test (missing u)
2016-12-08 22:05:08 +01:00
jfbu
2e9ee59ee9
fix tests for latex build
2016-12-08 21:43:04 +01:00
shimizukawa
b1abd4629b
Fix#3198: AttributeError is raised when toctree has 'self'.
...
this regression introduced at dc985ed4 .
2016-12-08 00:34:19 +09:00
Takeshi KOMIYA
7e066e6513
Fix broken tests
2016-12-04 23:34:57 +09:00
shimizukawa
eb0aa50536
fix 3 test failures that cause by translation changed
2016-12-04 23:03:46 +09:00
shimizukawa
9fb398e475
Merge branch 'stable' into 1.5-release
2016-12-04 21:44:16 +09:00
shimizukawa
6ae67f9f38
Fix #3024 , refs #3037 : In Python3, application.Sphinx._log crushed when the log message cannot be encoded into console encoding.
2016-12-04 13:54:11 +09:00
Takeshi KOMIYA
f43a02ca27
Merge branch 'stable' into 1.5-release
2016-12-03 21:05:18 +09:00
Takeshi KOMIYA
61a6ca5b37
Merge branch 'stable' into 1.5-release
2016-12-03 16:25:58 +09:00
Junpei Kawamoto
df37a05420
Update the regex in util.split_docinfo so that it parses multi-line field bodies.
...
Field Lists, which are used to define docinfo, allow multi-line field bodies,
but util.split_docinfo didn't consider it.
This commit updates the regex in that function so that it parses such multi-line field bodies.
2016-12-02 23:39:12 -05:00
shimizukawa
3284e89991
Merge branch 'fix-attr-documenter' into stable
2016-11-24 23:55:02 +09:00
shimizukawa
76f2ed9215
Fix #3015 : fix a broken test on Windows.
2016-11-24 00:26:36 +09:00
Takeshi KOMIYA
98f7818101
Fix merging
2016-11-23 13:38:20 +09:00
Takeshi KOMIYA
0ee524e392
Merge branch 'stable' into 1.5-release
2016-11-23 13:22:38 +09:00
Takeshi KOMIYA
52f54a6379
Fix #3164 : Change search order of `sphinx.ext.inheritance_diagram`
2016-11-23 00:50:02 +09:00
Takeshi KOMIYA
9676e79c1c
inheritance_diagram: Move _import_class_or_module() method to function
2016-11-23 00:49:46 +09:00
Takeshi KOMIYA
43197de299
Fix #3117 : LaTeX writer crashes if admonition is placed before first section title
2016-11-23 00:42:34 +09:00
shimizukawa
8f79c11b04
#3093 : fix test again
2016-11-20 18:35:12 +09:00
shimizukawa
6b0d3e7400
#3093 : fix test again
2016-11-20 18:17:16 +09:00
shimizukawa
e712401dd1
#3093 : fix test
2016-11-20 18:00:23 +09:00
shimizukawa
3566352bdb
refs #3093 : add tests
2016-11-20 17:48:07 +09:00
Takeshi KOMIYA
b84035416f
Revert "Add `config-inited` event"
...
This reverts commit 9569c6dbff .
2016-11-20 12:46:30 +09:00
Takeshi KOMIYA
9569c6dbff
Add `config-inited` event
2016-11-18 20:55:51 +09:00
Takeshi KOMIYA
4ca84aba45
Fix #3135 : `sphinx.ext.autodoc` crashes with plain Callable
2016-11-13 00:01:41 +09:00
Takeshi KOMIYA
ceb4e9a805
Use sphinx-doc.org for testing
2016-11-06 17:52:15 +09:00
jfbu
53d202440f
add `@skip_if_stylefiles_notfound` to maxlistdepth test
2016-11-05 11:50:12 +01:00
jfbu
0473e438dc
add unit test for maxlistdepth (latex)
2016-11-04 23:57:00 +01:00
Takeshi KOMIYA
a503849ac1
Merge pull request #2495 from electrofelix/linkcheck-skip-anchors
...
Allow skipping anchor checking using regex
2016-11-04 23:53:46 +09:00
Takeshi KOMIYA
56958227c8
Refactor test_bulid_latex: add skip_if_stylefiles_notfound()
2016-11-04 15:14:41 +09:00
Takeshi KOMIYA
3f4721e140
Refactore test_build_latex: add compile_latex_document()
2016-11-04 12:06:19 +09:00
Alex Grönholm
a1f6baaa81
Fix annotations formatting for plain typing.Callable
...
The typing.Callable class may be used without generic arguments, in which case it is equivalent to collections.abc.Callable.
2016-11-02 21:43:33 +02:00
Takeshi KOMIYA
b32d9a9bc7
Merge pull request #3071 from mleinart/autodoc/pass_through_decorators
...
Autodoc: Allow mocked module decorators to pass-through functions unchanged
2016-11-02 23:01:16 +09:00
Takeshi KOMIYA
ae1f523d52
Add `--extensions to sphinx-quickstart` to support enable arbitary extensions from command line (ref: #2904 )
2016-11-02 11:11:15 +09:00
shimizukawa
a5bdf1fdae
Closes #3060 : autodoc supports documentation for attributes of Enum class. Now autodoc render just the value of Enum attributes instead of Enum attribute representation.
2016-10-28 00:02:09 +09:00
Darragh Bailey
22765990f0
Allow skipping anchor checking by regex
...
To avoid needing to turn off anchor checking across the entire
documentation allow skipping based on matching the anchor against a
regex.
Some sites/pages use JavaScript to perform anchor assignment in a
webpage, which would require rendering the page to determine whether
the anchor exists. Allow fine grain control of whether the anchor is
checked based on pattern matching, until such stage as the retrieved
URLs can be passed through an engine for deeper checking on the HTML
doctree.
2016-10-27 10:52:04 +01:00
jfbu
4d3f5b3c1c
update style files checklist for latex tests
2016-10-27 11:43:20 +02:00
Jakub Wilk
43cab26ece
Fix typos
2016-10-22 18:12:34 +02:00
Michael Leinartas
7943da9408
Add tests for mocked modules
2016-10-21 09:53:25 -05:00
shimizukawa
021974ed94
refs #2432 update for latest master
2016-10-19 01:08:07 +09:00
Takayuki SHIMIZUKAWA
340c6fb9f4
Merge pull request #2432 from agronholm/kwonlyargs
...
#2432 Fix unwanted * between varargs and keyword only args
2016-10-19 00:54:38 +09:00
Takeshi KOMIYA
e04fe845c7
Fix #3039 : English stemmer returns wrong word if the word is capitalized
2016-10-17 21:09:58 +09:00
Takeshi KOMIYA
53ea1cb280
Fix #3045 : HTML search index creator should ignore "raw" content if now html
2016-10-17 16:08:37 +09:00
Jean-François B
b8e0e935e4
Improve LaTeX footnotes ( #3022 )
...
Allow code-blocks in footnotes for LaTeX PDF output.
This is done via using a ``footnote environment``, provided by LaTeX
package footnotehyper which replaces old problematic package footnote.
No need to ship a custom tabulary anymore.
The footnote markers are silently removed from the table of contents and
do not end in the PDF bookmarks (the old code in ``sphinx.sty`` copying
``footmisc.sty`` was not satisfactory and has been deleted and replaced
by use of better ``\sphinxfootnotemark``.) Footnotes can be used also in
captions of literal blocks.
2016-10-15 12:09:58 +02:00