Commit Graph

1394 Commits

Author SHA1 Message Date
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
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
jfbu
5b78aa28fe Fix #147 and fix #1986: Problem with latex chapter style
Notice that as an after effect ``Contents`` or ``Python Module Index``
will appear (by default) in bold, and larger than formerly (it was a
bug of Sphinx that they were not styled).

I am leaving the `\py@HeaderFamily` in the `sphinx.sty` patch to the
Bjarne `fncychap.sty` style for backwards compatibility. And as it does
`\bfseries` by default I left only the size changing commands in the
`fncychap` customization of Bjarne style.

Also, the `\@makechapterhead` re-definition obeys `\mainmatter` etc...
2016-10-07 11:55:43 +02:00
Takeshi KOMIYA
4c3c128e9b Fix #3000: `option` directive generates invalid HTML anchors
fix
2016-10-07 12:11:28 +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
ce7fea9a35 Fix #2988: linkcheck: retry with GET request if denied HEAD request 2016-10-04 12:47:59 +09:00
Takeshi KOMIYA
bc6b4bf70e Remove unused LaTeX macro filename from tests 2016-10-02 06:58:55 +09:00
Takeshi KOMIYA
9358ea239b Add testcase for toctree 2016-09-30 10:42:18 +09:00
Takeshi KOMIYA
50bf7960bd Uninstall sphinx directives and roles of domains after build 2016-09-21 10:48:52 +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
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
98886d3e07 Merge pull request #2951 from arcivanov/issue_2949
Sphinx apidoc does not process PEP-0420 implicit namespaces
2016-09-17 14:49:28 +09:00
Arcadiy Ivanov
e34b6823c7 Sphinx apidoc does not process PEP-0420 implicit namespaces
fixes #2949, connected to #2949
2016-09-15 11:49:34 -04: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
Takeshi KOMIYA
c832d36d19 Merge pull request #2056 from erosennin/intersphinx-fix-relative-path
Fix relative paths in intersphinx links
2016-09-14 10:54:18 +09:00
Takeshi KOMIYA
fae9eb7784 Fix tests are crashed under unstable network 2016-09-10 16:49:17 +09:00
Takeshi KOMIYA
15518bad12 Fix could not translate the content of meta directive (ref: #1734) 2016-09-01 23:35:23 +09:00
Takeshi KOMIYA
97c6cc4e10 Merge pull request #2880 from tk0miya/1734_translate_caption_of_toctree
Fix #1734: Could not translate the caption of toctree directive
2016-09-01 23:30:49 +09:00
Takeshi KOMIYA
691fd15839 Fix broken testcase 2016-09-01 23:30:04 +09:00
Takeshi KOMIYA
9b00c31ee2 Fix #1734: Could not translate the caption of toctree directive 2016-09-01 17:58:24 +09:00
Takeshi KOMIYA
c6e102999f Merge branch 'stable' 2016-09-01 02:25:14 +09:00
Takeshi KOMIYA
b7628484ee Fix style-check violation 2016-08-31 00:43:12 +09:00
Takeshi KOMIYA
f2d044bb73 Merge pull request #2878 from tk0miya/2874_gettext_builder_should_ignore_only_directive
Fix #2874: gettext builder could not extract all text under the ``only`` directives
2016-08-31 00:17:37 +09:00
Takeshi KOMIYA
c7f299b86f Fix #646: `option` directive support . character as a part of options 2016-08-31 00:04:41 +09:00
Takeshi KOMIYA
8d96c90fc6 Fix #1462: autosummary warns for namedtuple with attribute with trailing underscore 2016-08-30 00:37:30 +09:00
Takeshi KOMIYA
e96e627d59 Fix #2874: gettext builder could not extract all text under the `only` directives 2016-08-27 23:57:49 +09:00
Takeshi KOMIYA
e64ee7e330 Merge branch 'stable' 2016-08-27 23:42:40 +09:00
Takeshi KOMIYA
07e30b279b Merge pull request #2884 from tk0miya/refactor_intersphinx
Refactor intersphinx: Use requests package
2016-08-27 16:43:54 +09:00