Commit Graph

6607 Commits

Author SHA1 Message Date
nevimov
7ead796168 Fix code example in "HTML theming support" docs
- replaces invalid js-style comments with valid python
- shortens the comments so they don't need l10n
2016-04-26 19:14:53 +07:00
Takeshi KOMIYA
68e8c974c5 Merge pull request #2487 from ryaanwells/stable
Error message improvement: sphinx_rtd_theme not found error
2016-04-26 13:38:29 +09:00
jfbu
b2b8fa41a5 Fix #2460: too much white space on top of captioned literal blocks in PDF output
the standard \abovecaptionskip should be enough.
2016-04-25 18:40:13 +02:00
Jean-François B
84191470f3 Merge pull request #2343 from jfbu/codeautolinebreakV3
Allow linebreaks in latex(pdf) codeblocks
2016-04-25 18:11:26 +02:00
jfbu
39e768e15b Update CHANGES after PR#2343 2016-04-25 17:56:50 +02:00
jfbu
ac7d7b5f3a Fix #2304: auto line breaks in latexpdf codeblocks
Also related to #1534. Convert code lines into flushleft paragraphs,
thus allowing linebreaks at spaces, and use pre-existing Pygments
mark-up to also allow line breaks at (type 1) characters {, <, #, %, $,
' and " and (type 2) _, }, ^, &, >, -, ~, ., ;, :, ?, !, / and the
comma. Characters of type 1 go to next line in case of break, those of
type 2 stay on same line.

 - no new LaTeX package is used, but current use of fancyverb modified.

 - code line numbering is not affected (extra lines are not numbered.

 - spacing of top line and last line with respect of frame is improved.

 - near bottom of page the wrapping of lines longer than text width,
   which formerly continued into right margin, can produce one or more
   extra lines at bottom of page. It looks impossible without extensive
   rewrite of fancyvrb.sty or the switch to an altogether different
   LaTeX package doing source code formatting to allow page breaks
   there.
2016-04-25 17:30:29 +02:00
Jean-François B
eabfd5e514 Merge pull request #2459 from jfbu/pdfvariablewidthcodeblocks
Make framing and captions of PDF literal code-blocks obey indentation
2016-04-25 16:52:19 +02:00
jfbu
d3f73e7585 Make framing and captions of PDF literal code-blocks obey indentation
Thus, html and pdf look more similar.
2016-04-25 16:35:32 +02:00
ryaanwells
7038e53d5d Error message improvement: sphinx_rtd_theme not found error 2016-04-25 15:28:38 +01:00
Takeshi KOMIYA
6ce0c239d0 Fix #2088: intersphinx crashes if the mapping URL requires basic auth 2016-04-25 22:30:34 +09:00
Mathias Ertl
d7e0471564 fix HTTP BasicAuth for intersphinx mappings 2016-04-25 22:27:37 +09:00
Takeshi KOMIYA
e3def45ffe Use locales as a default value of locale_dirs 2016-04-25 22:25:58 +09:00
Takeshi KOMIYA
d38915e2a5 Fix intersphinx fails if mapping URL contains any port 2016-04-25 11:08:03 +09:00
Takeshi KOMIYA
ad738a0978 Fix #2309: Could not refer "indirect hyperlink targets" by ref-role 2016-04-24 13:57:32 +09:00
Takeshi KOMIYA
59c40c24f3 Add warning for Application.add_source_parser() 2016-04-24 13:57:32 +09:00
Takeshi KOMIYA
57ad420b42 Fix typo (ref: #2483) 2016-04-24 11:23:44 +09:00
Takeshi KOMIYA
cfa50a4db7 Merge pull request #2478 from taschini/doctest_default_flags
Doctest default flags
2016-04-24 11:12:00 +09:00
shimizukawa
16ecc34b2e refs #2481: update CHANGES 2016-04-22 22:27:40 +09:00
Takayuki SHIMIZUKAWA
d13b062b5f Merge pull request #2481 from naokisatoname/stable
Modify a spelling mistake
2016-04-22 22:24:39 +09:00
Takeshi KOMIYA
e48335097c Fix broken testcase 2016-04-22 18:40:41 +09:00
Naoki Sato
4e47b2dc7e Modify a spelling mistake 2016-04-22 18:05:44 +09:00
Takeshi KOMIYA
5744c53361 Fix Sphinx crashes if self referenced toctree found 2016-04-22 11:29:11 +09:00
Takeshi KOMIYA
52c7867d14 Fix #2466: Allow image.data_uri and image.nonlocal_uri as confval of suppress_warnings 2016-04-22 11:14:46 +09:00
Takeshi KOMIYA
88322af1ea #2465: latex builder fails in case no caption option is provided to toctree directive 2016-04-22 11:05:12 +09:00
Takeshi KOMIYA
be46e588a1 Merge pull request #2389 from electrofelix/linkcheck-tweaks
Linkcheck tweaks
2016-04-22 10:26:26 +09:00
Darragh Bailey
dba030668e Update CHANGES for PR#2389 2016-04-21 13:20:31 +01:00
Darragh Bailey
2f46c7899c Some sites also return 403 on HEAD requests
Atlassian websites will return a 403 Forbidden access code when
queried, so add this to the list of codes that should trigger using a
GET request as a fallback.
2016-04-21 13:20:02 +01:00
Darragh Bailey
0b9ee8d451 Switch to using requests for better charset detection
Python requests does a better job of detecting the charsets of
webpages, performing automatic decoding when the text content is
requested, avoiding issues around needing to do detection.

This allows checking the following urls & anchors correctly:

    http://www.yaml.org/spec/1.2/spec.html#id2761803
    http://www.yaml.org/spec/1.2/spec.html#id2765878
    http://www.yaml.org/spec/1.2/spec.html#id2765878
2016-04-21 13:20:02 +01:00
taschini
80bbdd4998 Reformatted doc for doctest_default_flags (#2471). 2016-04-21 14:17:43 +02:00
taschini
604b45d44b Incorporated feeback on doc for doctest_default_flags (#2471). 2016-04-21 12:35:36 +02:00
taschini
8c1d9cc71c Documenting doctest_default_flags config variable (#2471). 2016-04-21 12:07:00 +02:00
taschini
88337c6533 Added config variable for default doctest flags (#2471). 2016-04-21 12:07:00 +02:00
Takeshi KOMIYA
becc54702a Increment ENV_VERSION for #2456 2016-04-21 11:20:04 +09:00
Takeshi KOMIYA
b8a7bb5bf6 Update CHANGES for PR#2476 2016-04-21 11:13:05 +09:00
Takeshi KOMIYA
ea8e71a3d0 Merge pull request #2476 from mgeier/mathjax-nowrap2
Omit MathJax markers if :nowrap: is given
2016-04-21 11:11:08 +09:00
Matthias Geier
9a6882595d Omit MathJax markers if :nowrap: is given 2016-04-20 19:25:25 +02:00
Jean-François B
4959a75c6f Merge pull request #2475 from jfbu/master
merge stable into master and update sphinx.sty and CHANGES for 1.5
2016-04-20 19:23:27 +02:00
jfbu
7ae27dd5d7 Remove sphinx.sty dependency on latex package fancybox 2016-04-20 18:58:58 +02:00
jfbu
073094a212 Merge branch 'stable' 2016-04-20 18:56:22 +02:00
Takeshi KOMIYA
cf3b50d3b9 Close #894: Add `lualatexpdf and xelatexpdf` as a make target to build PDF using lualatex or xelatex 2016-04-21 00:58:26 +09:00
Jean-François
78c57dc788 Merge pull request #2453 from jfbu/fixpdfunbreakabletopicboxes
Fix #2446: latex(pdf) sets local tables of contents in unbreakable boxes
2016-04-20 17:47:14 +02:00
jfbu
d8b4ce585d fix a latex issue of vertical space
modified:   sphinx/texinputs/sphinx.sty
2016-04-20 13:59:37 +02:00
jfbu
75992bc831 Update CHANGES for PR #2453 2016-04-20 12:49:43 +02:00
jfbu
701749491e Merge branch 'stable' into fixpdfunbreakabletopicboxes 2016-04-20 12:48:30 +02:00
jfbu
68becb118e Fix #2446: latex(pdf) sets local tables of contents in unbreakable boxes
Allow page breaks in topic contents (e.g. local tables of contents) from
replacing \shadowbox of non anymore used package framebox by a custom
framed package environment.

Formerly, topic boxes extended into right margin; put only the shadow in
margin, locate the right frame exactly at the margin.

Use framed.sty also for framing admonitions of the warning type. Make
vertical spacing more coherent with the one for hint type notices.
Handle case with warning notices getting nested; the inner ones use a
minipage, only the outer one allows pagebreaks.
2016-04-20 12:28:39 +02:00
Jakob Lykke Andersen
aaf9173ede C++, fixes sphinx-doc/sphinx#2456.
Rename node attributes to only use lower case,
because Docutils wants it that way.
2016-04-19 17:33:52 +09:00
Takeshi KOMIYA
9b24fc2b94 Merge pull request #2462 from jfbu/anticipatefutureluatex
Load compatibility patch for LuaTeX 0.85+
2016-04-19 10:55:22 +09:00
jfbu
5c823a770c Load compatibility patch for LuaTeX 0.85+
See http://ctan.org/pkg/luatex85 for more info. Old packages relying on
pdf naming of primitives will break under LuaTeX 0.85+, which will be
generally available starting with TeXLive 2016 release.

	modified:   sphinx/texinputs/sphinx.sty
2016-04-18 12:37:15 +02:00
Takayuki SHIMIZUKAWA
a5acb01c0f Merge pull request #2458 from sphinx-doc/travis-verbose
verbose output for travis testing
2016-04-18 18:52:07 +09:00
shimizukawa
7eb15acd30 verbose output for travis testing 2016-04-18 16:44:35 +09:00