Commit Graph

8163 Commits

Author SHA1 Message Date
Takeshi KOMIYA
341986c03a Fix #3453: remove doc/_build/ forcely on make clean on Sphinx repos 2017-02-25 14:45:49 +09:00
Takeshi KOMIYA
4e8c622abe Fix Search button is misaligned in nature and pyramid theme (refs: #3418) 2017-02-25 11:56:39 +09:00
Takeshi KOMIYA
3a5cc26be0 Merge pull request #3454 from shibukawa/fix/epub-validation-error
fix epub validation error at content.opf
2017-02-25 11:44:50 +09:00
Takeshi KOMIYA
edfcafad78 Merge pull request #3456 from stephenfin/feat/sphinx-setuptools-integration
Add documentation on setuptools interaction
2017-02-25 11:43:44 +09:00
Stephen Finucane
6de6e81b0c setup.cfg: Enable 'warning-is-error'
Dog food this feature. Validated with the following (broken) change:

    --- a/doc/contents.rst
    +++ b/doc/contents.rst
    @@ -18,6 +18,9 @@ Sphinx documentation contents
        intl
        theming
        setuptools
    +
    +   .. This is broken!!!
    +
        templating
        latex
        markdown

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-02-24 13:41:46 -05:00
Stephen Finucane
020e77b794 tox: Add 'docs' target
This is easier than creating a virtualenv, installing deps and running
make. It also makes explicit use of the setuptool integration that is
now documented.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-02-24 13:41:46 -05:00
Stephen Finucane
29da4f9444 doc: Add guide on setuptool/distutils integration
While this feature is somewhat documented in the API guide, there's
nothing about this option in the main user guide. Given the lack of
blogs and articles talking about this feature, along with the amount of
projects that are only using the same copy-paste '[build_sphinx]'
definition, I imagine this is an issue.

Make the feature a little more accessible by adding a section to the
main user guide that details (a) the fact the feature exists, (b) why
you'd want to use it, and (c) how you can use it.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-02-24 13:41:34 -05:00
Yoshiki Shibukawa
c50a7f33d6 fix epub validation error at content.opf 2017-02-25 02:01:56 +09:00
jfbu
f0df6cff9b clarify description of tabulary (no "rescaling" of contents) 2017-02-24 15:48:00 +01:00
Takeshi KOMIYA
63470a8578 Merge pull request #3452 from shibukawa/fix/epub-validation-error
fix #3450: &nbsp is appeared in EPUB docs
2017-02-24 21:44:45 +09:00
Yoshiki Shibukawa
99b27c0c00 fix #3450: &nbsp is appeared in EPUB docs 2017-02-24 20:04:00 +09:00
jfbu
b83dfdebf2 Merge branch 'stable' 2017-02-23 19:49:19 +01:00
jfbu
4985330468 move a definition to top of LaTeX file, as it may be used sooner
(macro is needed by ``\sphinxdepreactionwarning`` which may in future
be used at location of the various ``\RequirePackage``, definition of
``\spx@ifundefined`` was too far down)
2017-02-23 19:45:13 +01:00
Takeshi KOMIYA
20510ef272 Merge branch 'stable' 2017-02-24 02:12:25 +09:00
Takeshi KOMIYA
13a48d330c Fix #3438: update timestamp certainly to ensure test condition 2017-02-24 02:12:09 +09:00
jfbu
e3fb7d2828 Fix #3445: (latex) make `\\usepackage[utf8x]{inputenc}` usable 2017-02-22 12:36:50 +01:00
Jean-François B
b352927b37 Merge pull request #3162 from jfbu/fixreturnFrenchtranslation
Modify French translation of ``return``
2017-02-22 10:08:08 +01:00
Takeshi KOMIYA
675b5f4237 literalinclude directive allows combination of :pyobject: and :lines: 2017-02-22 00:29:24 +09:00
Takeshi KOMIYA
3eb5b2960a Merge branch 'master' into refactor_literalinclude 2017-02-22 00:18:31 +09:00
Takeshi KOMIYA
89cf56da1c Merge branch 'master' of github.com:sphinx-doc/sphinx 2017-02-22 00:15:36 +09:00
jfbu
b34b041ea7 Update CHANGES for PR#3422 2017-02-21 09:54:08 +01:00
Jean-François B
71d0f5069f Merge pull request #3422 from jfbu/latex-tablefootnotes
make footnotes from table bodies hyperlinked in PDF output
2017-02-21 09:37:35 +01:00
Takeshi KOMIYA
4d9165a883 Merge branch 'stable' 2017-02-21 16:12:06 +09:00
Takeshi KOMIYA
ce03ba8deb Merge pull request #3434 from tk0miya/3349_fix_IndexBuilder.load
Fix #3349: Result of ``IndexBuilder.load()`` is broken
2017-02-21 15:54:09 +09:00
Takeshi KOMIYA
ce79553b89 Merge pull request #3436 from tk0miya/do_type_check_on_travis
Do type check on travis
2017-02-21 15:53:01 +09:00
Takeshi KOMIYA
d616e434b7 Fix mypy violations 2017-02-21 14:40:01 +09:00
Takeshi KOMIYA
509d3a8f2a Merge branch 'master' into do_type_check_on_travis 2017-02-21 14:28:58 +09:00
Takeshi KOMIYA
acf36ac9c2 Fix mypy violations 2017-02-21 14:17:19 +09:00
Takeshi KOMIYA
b2d8803545 Upgrade to newest mypy package 2017-02-21 14:05:18 +09:00
Takeshi KOMIYA
dfe893a894 Merge branch 'master' into do_type_check_on_travis 2017-02-21 14:00:28 +09:00
Takeshi KOMIYA
361328757d Fix mypy violations 2017-02-21 13:58:53 +09:00
Takeshi KOMIYA
5bfdc6ae4f Show warning if :lines: and :emphasize-lines: get out of range 2017-02-21 13:27:37 +09:00
Takeshi KOMIYA
15266bca5c travis: Reorder tests 2017-02-21 11:25:13 +09:00
Takeshi KOMIYA
d83dbcdae5 Do type-check on Travis CI 2017-02-21 11:25:12 +09:00
Takeshi KOMIYA
196f283555 Fix mypy violations 2017-02-21 01:16:09 +09:00
Takeshi KOMIYA
f21cfa7117 Fix mypy violations 2017-02-21 01:08:59 +09:00
Takeshi KOMIYA
7a776c8e64 Fix mypy violations 2017-02-21 00:36:07 +09:00
Takeshi KOMIYA
19d2d56e36 Fix IndexBuilder.prune() and load() supports _filenames field 2017-02-21 00:17:38 +09:00
Takeshi KOMIYA
8c3ceec294 Fix IndexBuilder.prune() takes docnames as a argument 2017-02-20 23:49:31 +09:00
Takeshi KOMIYA
1f973caf06 Fix #3349: Result of `IndexBuilder.load()` is broken 2017-02-20 16:33:37 +09:00
jfbu
5bb8bd8930 update test_build_latex.py test of footnote in longtable caption 2017-02-18 16:48:46 +01:00
jfbu
99315fa8e0 update root footnote test 2017-02-18 16:26:00 +01:00
Takeshi KOMIYA
8ba6c6556e Merge branch 'master' into refactor_literalinclude 2017-02-18 22:44:41 +09:00
Takeshi KOMIYA
6b29792994 Fix typo 2017-02-18 22:43:27 +09:00
jfbu
e39d58a530 LaTeX writer: symmetrize footnote restrictions for tables
Memo 1: footnotes from captions are inserted by this commit via
table templates, so it is easy to put caption at foot of table
rather than at head, if wanted.

Memo 2: footnotes from table header need restriction due to
longtable only. But one can not tell in advance if table will be
rendered by longtable or not, hence one must restrict always.
2017-02-18 12:38:59 +01:00
jfbu
9a8e36568d (latex) hyperlinked footnotes from table bodies
Memo: footnotehyper-sphinx LaTeX package incorporates here some fixes
from upstream footnotehyper 0.99. At Sphinx 1.6 il will for simplicity
copy all of upstream footnotehyper 0.99. Then old footnote.sty LaTeX
package is not a dependency of Sphinx anymore.
2017-02-18 12:36:28 +01:00
jfbu
3a090886b0 update docs about :confval:latex_keep_old_macro_names 2017-02-18 12:07:44 +01:00
jfbu
43fd43932d deprecate :confval:latex_keep_old_macro_names 2017-02-18 11:55:42 +01:00
jfbu
36e9e98bb6 fix flake8 violation 2017-02-18 11:54:29 +01:00
jfbu
638ac12260 use `\sphinxdeprecationwarning syntax for notice` in sphinx.sty
thus use by a LaTeX writer extension or a user of deprecated ``notice``
environment triggers a warning at end of log, avoiding repetitions.
2017-02-18 11:10:14 +01:00