Commit Graph
1426 Commits
Author SHA1 Message Date
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
shimizukawa 487f3db5f6 To simplify, sphinx uses external mock package even if unittest.mock exists. 2016-10-15 16:22:27 +09:00
Jonathan Harker 59ba8c1dee Fix #3028: figure_language_filename format tokens, document tokens. 2016-10-13 16:41:57 +13:00
Takeshi KOMIYA d87ba0d1da Merge branch '2527_reversed_toctree' 2016-10-13 00:13:04 +09:00
Takeshi KOMIYA 111b7f4c72 Merge pull request #2843 from rthardin/issue_625_start_at_end_at
Add :start-at: and :end-at: parameters for literalinclude
2016-10-12 19:54:33 +09:00
Takeshi KOMIYA c8fe4a1848 Rename :reverse: option of toctree directive to :reversed: 2016-10-12 19:36:49 +09:00
Takeshi KOMIYA f22bbf668d Add testcase for reversed toctree 2016-10-12 19:32:48 +09:00
Takeshi KOMIYA c5e56969ed Add testcase for indexentries 2016-10-11 18:59:21 +09:00
Takeshi KOMIYA 6027bb75a5 Refactor: move process_only_nodes() to sphinx.util.nodes 2016-10-11 18:59:21 +09:00
Takeshi KOMIYA dd3f12a7fc Fix style-check violation 2016-10-11 18:59:12 +09:00
jfbu e43a31da12 Re-insert check for LaTeX macro filename which got suppressed in merge 2016-10-10 21:15:53 +02:00
jfbu 861973bfbb Merge branch 'usegeometrypackage' 2016-10-10 20:55:44 +02:00
Jean-François B 89ccf9e103 Merge pull request #3017 from jfbu/fixuseofncychap
Fix #147 and fix #1986: Problem with latex chapter style
2016-10-10 20:49:05 +02:00
Timotheus Kampik de7c93756c allow search hits in body text that are in title of other doc #2891 (#2971)
* allow search hits in body text that are in title of other doc #2891

* shorten lines/add line breaks #2891

* remove out-commented LoC, simplify check #2891
2016-10-11 00:42:41 +09:00
jfbu 34f1ce17fd Fix #3018: LaTeX problem with page dimensions and chapter titles
New key ``'geometry'`` to ``latex_elements``.
2016-10-07 23:40:39 +02:00