Commit Graph

241 Commits

Author SHA1 Message Date
Takeshi KOMIYA
d1b5f7227d Merge branch 'master' into refactor_literalinclude 2017-02-17 23:37:35 +09:00
Jean-François B
a7becf30de Merge branch 'master' into literalincludelines 2017-02-13 19:38:22 +01:00
Takeshi KOMIYA
6b20c72521 Add testcases for LiteralIncludeReader 2017-02-13 00:04:15 +09:00
jfbu
1c38710ed2 update latex table tests and CHANGES for PR#3415 2017-02-11 18:02:19 +01:00
Takeshi KOMIYA
1d3f5c2c55 Fix typo 2017-02-11 17:33:49 +09:00
Takeshi KOMIYA
37f3050933 latex: Fix assertion error for complex table (refs: #3395) 2017-02-11 12:19:12 +09:00
Takeshi KOMIYA
fe2daffb4a Fix #3377: Add support for Docutils 0.13 `:align:` option for tables 2017-02-11 10:28:18 +09:00
jfbu
f7e5043949 disambiguate `test_literal_include_lineno_match` 2017-02-10 17:58:11 +01:00
jfbu
a2338e4838 If `:start-after: is used, make :lines:` relative (close: #3412) 2017-02-10 16:55:28 +01:00
Takeshi KOMIYA
82e011cae6 Refactor: split .rst file for text-latex-table 2017-02-10 14:15:47 +09:00
Takeshi KOMIYA
8b2c92d54f latex: Refactor spanning cells 2017-02-08 00:11:46 +09:00
Takeshi KOMIYA
fdd6f90792 Fix changes in #3381 is lost on merging 2017-02-04 22:29:40 +09:00
Takeshi KOMIYA
40a957009d Add testcases for latex tables 2017-02-04 20:09:46 +09:00
Takeshi KOMIYA
4f8b3f94d4 Add testcase for captioned table and longtable 2017-02-04 20:09:46 +09:00
Takeshi KOMIYA
10ae47d7b9 latex: Fix colwidths without :widths: option 2017-02-04 20:09:46 +09:00
Takeshi KOMIYA
d33cf04979 Merge branch 'stable' 2017-01-29 18:05:17 +09:00
Takeshi KOMIYA
1a2488610d Fix #3370: the caption of code-block is not picked up for translation 2017-01-26 01:57:22 +09:00
Marco Buttu
ac896790a0 Merge remote-tracking branch 'upstream/master' 2017-01-24 13:20:03 +01:00
Takeshi KOMIYA
bfcb92f6fd Fix #3285: autosummary: asterisks are escaped twice 2017-01-21 15:50:41 +09:00
Jakob Lykke Andersen
ccd6bf4a0c C++, fix refs to operator() functions.
Fixes sphinx-doc/sphinx#2952.
2017-01-15 14:36:29 +09:00
Marco Buttu
160b9a5fd0 Added pyversion option for doctest (issue 3303) 2017-01-13 22:36:17 +01:00
shimizukawa
5b7d237db3 pytest migration 2017-01-04 00:59:30 +09:00
Takeshi KOMIYA
0ee524e392 Merge branch 'stable' into 1.5-release 2016-11-23 13:22:38 +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
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
ceb4e9a805 Use sphinx-doc.org for testing 2016-11-06 17:52:15 +09:00
jfbu
0473e438dc add unit test for maxlistdepth (latex) 2016-11-04 23:57:00 +01: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
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
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
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
Hiroaki Itoh
42604a1ff6 Fix #2990: linkcheck raises "Can't convert 'bytes' object to str implicitly" error if linkcheck_anchors enabled 2016-10-06 18:59:24 +09:00
Takeshi KOMIYA
9358ea239b Add testcase for toctree 2016-09-30 10:42:18 +09:00
Takeshi KOMIYA
090e357969 Merge pull request #2963 from tk0miya/326_numref_section
make section numref-able and allow to refer the captions in linktext
2016-09-21 10:45:57 +09:00
Takeshi KOMIYA
82c153ffd2 Fix #2931: code-block directive with same :caption: causes warning of duplicate target 2016-09-17 18:28:55 +09:00
Takeshi KOMIYA
cfddf17d35 Fix #2931: code-block directive with same :caption: causes warning of duplicate target 2016-09-17 18:13:17 +09:00
Takeshi KOMIYA
2b10fc0188 Fix #2916: numref role can also refer caption as an its linktext 2016-09-17 15:51:18 +09:00
Takeshi KOMIYA
1aafc7e2e5 Fix #326: numref role can also refer sections 2016-09-17 15:51:18 +09:00
Takeshi KOMIYA
f8c1c65c21 Refactor sphinx.environment: Reimplemnt process_refonly_bullet_lists() as a transform 2016-09-15 02:29:50 +09:00
Takeshi KOMIYA
d281a32b3b Refactor sphinx.environment: Reimplement filter_messages() as a transform 2016-09-15 02:29:50 +09:00