Commit Graph
207 Commits
Author SHA1 Message Date
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 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
Takeshi KOMIYA 15518bad12 Fix could not translate the content of meta directive (ref: #1734) 2016-09-01 23:35:23 +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 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 bd22d09f48 Add domain support to support equation cross references (ref: #1210, #2851) 2016-08-22 19:58:46 +09:00
Ryan Hardin 560b5725c9 Added :start-at: and :end-at: parameters for literalinclude
This feature is discussed as part of issue #625.
2016-08-10 11:15:10 -04:00
Takeshi KOMIYA e15216c568 Fix sphinx.ext.autodoc crashes if target code imports * from mock modules by autodoc_mock_imports 2016-08-09 12:20:11 +09:00
Takeshi KOMIYA 253eef9e6a #2680: sphinx.ext.todo now emits warnings if todo_emit_warnings enabled 2016-07-16 00:59:02 +09:00
Takeshi KOMIYA a692009808 Merge branch 'stable' 2016-07-15 00:51:29 +09:00
Takeshi KOMIYA 6686ebf158 Optimized tests: Add test-warnings 2016-07-14 23:12:57 +09:00
Takeshi KOMIYA 47b33e93e5 Optimize tests: test_applehelp_output 2016-07-14 09:41:46 +09:00
Takeshi KOMIYA c23a59b70c Optimize tests: test_searchadapters 2016-07-14 02:02:25 +09:00
Takeshi KOMIYA b95f450452 Optimize tests: test_jsmath 2016-07-14 01:43:25 +09:00
Takeshi KOMIYA 3fb439c476 Optimize tests: test_imgmath_png, test_imgmath_svg 2016-07-14 01:36:40 +09:00
Timotheus Kampik 05ad82ffa8 Merge branch 'master' into fix-stemming-removes-short-words-from-search-results 2016-07-10 11:44:35 +02:00
Takeshi KOMIYA b21ba65873 Merge pull request #2759 from scop/optimize-images
Optimize images
2016-07-08 22:00:19 +09:00
Ville Skyttä 302c695048 Run *.png through zopflipng -m
Before: 2334583 bytes
After:  2136324 bytes
2016-07-07 18:34:18 +03:00
Takeshi KOMIYA 5991bbe4ac Add sphinx.config.ENUM to check the config values is in candidates 2016-07-07 23:42:49 +09:00
Takeshi KOMIYA 02dbf860c2 Refactor: Use copy_asset() to copy html_static_path 2016-07-07 00:06:54 +09:00
Takeshi KOMIYA bb1e6f9044 Refactor: Replace copy_extra_entry() with copy_asset() 2016-07-07 00:02:57 +09:00
Timotheus Kampik 475ebf6c36 Merge branch 'master' into fix-stemming-removes-short-words-from-search-results 2016-06-04 17:35:16 +02:00
Timotheus Kampik ba64f54e4e search index: don't stemm words that would be excluded from search index only after stemming #1529 2016-06-04 17:21:11 +02:00
Takeshi KOMIYA 1d17475a08 #2575: Now `sphinx.ext.graphviz allows :align:` option 2016-05-28 18:29:10 +09:00
Takeshi KOMIYA 771e715f50 `:maxdepth: option of toctree affects secnumdepth` (ref: #2547) 2016-05-26 23:23:07 +09:00
Takeshi KOMIYA 2578f47664 Merge branch 'stable' 2016-05-26 20:55:26 +09:00
Takeshi KOMIYA 9cd5ba994c Fix #2445: rst_prolog and rst_epilog affect to non reST sources 2016-05-25 21:25:04 +09:00
Takeshi KOMIYA 89360dd3f1 Add testcase for rst_prolog and rst_epilog 2016-05-25 21:24:31 +09:00
Takeshi KOMIYA 82ef3b0aeb Merge pull request #2516 from TimKam/meta-keywords-to-search-index
Meta keywords to search index
2016-05-24 11:10:07 +09:00
Takeshi KOMIYA c9296ba467 Merge branch 'stable' 2016-05-09 10:11:13 +09:00
Timotheus Kampik 01797faede refactor code/tests: keyword support for search index #2516 2016-05-05 18:09:22 +02:00
Takeshi KOMIYA 20719f0b00 Merge pull request #2503 from JojoBoulix/stable
Extend SOURCE_DATE_EPOCH support
2016-05-05 22:15:19 +09:00
Takeshi KOMIYA 7c0b7e1ff1 Fix #2526: LaTeX writer crashes if the section having only images 2016-05-05 16:17:38 +09:00
Timotheus Kampik 6f6b28d3e6 refactor, add more tests #2516 2016-05-02 07:54:44 +02:00