Commit Graph

7076 Commits

Author SHA1 Message Date
jfbu
0464c52bce latex: code blocks linebreaks easier customized
Via re-definable ``\sphinxbreaksbeforelist`` and ``\sphinxbreaksafterlist``,
latex user can specify (using ``'preamble'`` key for example) if broken
code lines are split before or after the said character when code blocks
are wrapped. Punctuation characters use active catcodes and are
configurable via further macros ``\sphinxbreaksbeforeactivelist`` and
``\sphinxbreaksafteractivelist``. The defaults in ``sphinx.sty`` can be
modified by imitation in user document preamble.

n.b.: ``\sphinxbreaksatpunct`` has been renamed to ``\sphinxbreaksviaactive``.
2016-09-07 23:31:34 +02:00
jfbu
1d7c82b3bb Merge branch 'stable' into master
Conflicts (fixed)::
	sphinx/texinputs/sphinx.sty
2016-09-07 23:18:09 +02:00
Takeshi KOMIYA
3eb56b1c6f doc: Use AutodocReporter at example of nested_parse_with_titles()
In detail, please refer following thread:
https://groups.google.com/forum/#!topic/sphinx-dev/l4fHrIJfwq4
2016-09-07 15:46:20 +09:00
Takeshi KOMIYA
6432c129d3 Merge pull request #2926 from shibukawa/feature/epub-vertical
Epub3Builder supports vertical writing mode
2016-09-05 23:12:10 +09:00
Takeshi KOMIYA
5a02c6162b Merge pull request #2938 from jfbu/allowcodebreaksatcommas
Fix #2873: code-block overflow in latex (due to commas)
2016-09-05 10:55:57 +09:00
Yoshiki Shibukawa
87019afe97 fix CHANGES and document 2016-09-03 00:32:03 +09:00
Yoshiki Shibukawa
ddd0d192e1 Add warning when conf.py uses deprecated epub3_page_progression_direction option 2016-09-03 00:32:03 +09:00
Yoshiki Shibukawa
908b3dfef0 Epub3Builder supports vertical writing mode 2016-09-03 00:32:03 +09:00
jfbu
581216e50e Update CHANGES 2016-09-02 10:09:56 +02:00
Takeshi KOMIYA
37587d49f7 Merge pull request #2937 from shibukawa/fix/document-link
fix inter document link
2016-09-02 16:57:05 +09:00
jfbu
71b9f00d31 Fix #2873: code-block overflow in latex (due to commas)
The potential linebreaks at commas in code lines were not inserted due
to latex kernel macro ``\@noligs`` which is issued by fancyvrb.sty
during its line processing. From the default `` `<>,'- ``, only the
backtick is left to be handled by ``\@noligs`` because the others are
either already replaced by a macro by Pygments, or (only the comma) made
active by sphinx.sty to insert potential linebreaks.
2016-09-02 09:48:33 +02:00
Yoshiki Shibukawa
1742d2ea02 fix inter document link 2016-09-02 16:37:29 +09:00
Takeshi KOMIYA
fe940a0cb6 Merge pull request #2932 from shibukawa/fix/document-for-epub
Fix document for epub
2016-09-02 12:39:35 +09:00
Yoshiki Shibukawa
390b24a2c5 Fix document for epub 2016-09-02 01:07:14 +09:00
Takeshi KOMIYA
7951909506 Merge pull request #2918 from shibukawa/fix/epub/errors
Fix resulting xhtml styles to improve epub-validator result.
2016-09-02 00:22:12 +09:00
Takeshi KOMIYA
9ea2ced065 Merge pull request #2883 from tk0miya/translatable_meta
Translatable meta
2016-09-02 00:08:58 +09:00
Yoshiki Shibukawa
abdf3e7f40 Fix CHANGES 2016-09-01 23:54:54 +09:00
Yoshiki Shibukawa
27931ff167 fix module index template to satisfy xhtml standard 2016-09-01 23:54:54 +09:00
Yoshiki Shibukawa
f455d05b5a epub builder: ignore autogenerated files by OS 2016-09-01 23:54:54 +09:00
Yoshiki Shibukawa
792d154b1a fix sphinx document's style to satisfy xhtml standard 2016-09-01 23:54:54 +09:00
Yoshiki Shibukawa
df99392f29 epub-validator doesn't allow # (and #top). 2016-09-01 23:54:54 +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
e1e5ae4b65 Preserve filename and line number for meta nodes 2016-09-01 23:31:45 +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
4063a67d19 Fix #2474: Add `intersphinx_timeout option to sphinx.ext.intersphinx` 2016-09-01 23:00:31 +09:00
Takeshi KOMIYA
2ef852dce2 Merge pull request #2929 from shibukawa/fix/doc-for-kindlegen
Fix document for Kindle and add description about kindlegen
2016-09-01 18:22:00 +09:00
Takeshi KOMIYA
9b00c31ee2 Fix #1734: Could not translate the caption of toctree directive 2016-09-01 17:58:24 +09:00
Yoshiki Shibukawa
0248416c65 Fix document for Kindle and add description about kindlegen 2016-09-01 12:46:12 +09:00
Takeshi KOMIYA
c6e102999f Merge branch 'stable' 2016-09-01 02:25:14 +09:00
Takeshi KOMIYA
778f98e592 mathbase: Generate \label only if label exists 2016-09-01 02:23:42 +09:00
Takeshi KOMIYA
0862a4c974 Fix could not reference equations if `:nowrap:` option specified 2016-09-01 02:11:32 +09:00
Takeshi KOMIYA
6b7df0cf39 autosummary warns if no reST parsers 2016-08-31 02:02:50 +09:00
Takeshi KOMIYA
e25c606a31 Update CHANGES for PR#2841 2016-08-31 01:20:54 +09:00
Takeshi KOMIYA
809bf8616d Merge pull request #2841 from kdebrab/fix-autosummary-with-multiple-source_suffix
Fix #2485: autosummary with multiple source_suffix values
2016-08-31 01:19:30 +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
8e0a998592 Merge pull request #2924 from shibukawa/feature/improve-ebook-platform-compatibility
fix: #1604 epubs in iBooks don't obey font-related CSS
2016-08-30 23:45:29 +09:00
Yoshiki Shibukawa
5165e23f00 fix: #1604 epubs in iBooks don't obey font-related CSS 2016-08-30 20:33:55 +09:00
Takeshi KOMIYA
637ad2af48 Merge pull request #2875 from tk0miya/drop_py33_support
Drop python 3.3 support
2016-08-30 01:14:56 +09:00
Takeshi KOMIYA
1da1a71511 Drop python 3.3 support 2016-08-30 00:43:15 +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
37bb9c2c33 Fix #2917: inline code is hyphenated on HTML 2016-08-29 11:23:05 +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
892cc259ec Fix CHANGES 2016-08-27 23:48:11 +09:00
Takeshi KOMIYA
e64ee7e330 Merge branch 'stable' 2016-08-27 23:42:40 +09:00
Takeshi KOMIYA
281942ce25 Merge pull request #2901 from shibukawa/fix/epub-figure
Fix epub result: skip creating links from image tags to original image files
2016-08-27 23:35:20 +09:00
Yoshiki Shibukawa
2a95fec985 Fix epub result: skip creating links from image tags to original image files. 2016-08-27 23:31:40 +09:00
Takeshi KOMIYA
8606de3963 Merge pull request #2899 from shibukawa/fix/hasdoc
Fix hasdoc() function in Jinja2 template.
2016-08-27 23:15:45 +09:00