Commit Graph

8032 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
jfbu
607f0cb3c3 Merge branch 'stable' 2017-02-18 11:03:28 +01:00
jfbu
b8d8519c88 Update CHANGES for PR#3430 2017-02-18 10:46:10 +01:00
Jean-François B
b0a5ec1644 Merge pull request #3430 from jfbu/fixfontspecxetexclash
add deprecation helper to LaTeX style file (and fixes #3428)
2017-02-18 10:41:53 +01:00
jfbu
651827946a Update CHANGES and docs for PR#3413 2017-02-17 23:30:01 +01:00
jfbu
3c77408044 add deprecation helper to LaTeX style file (and fixes #3428) 2017-02-17 20:00:16 +01:00
Jean-François B
32817f9efa Merge pull request #3413 from jfbu/literalincludelines
If ``:start-after:`` is used, make ``:lines:`` relative (close: #3412)
2017-02-17 09:00:40 +01:00
Takeshi KOMIYA
79b7c468a9 Fix #3427: autodoc: memory addresses are not stripped on Windows 2017-02-17 12:21:04 +09:00
Takeshi KOMIYA
24fd651bbb Merge pull request #3414 from tk0miya/refactor_epub_builder
Refactor epub builder
2017-02-17 02:27:07 +09:00
Takeshi KOMIYA
7f032b5abe Merge pull request #3396 from tk0miya/singlehtml_rename_key_of_secnumbers
Rename key of toc_secnumbers for singlehtml
2017-02-17 02:26:10 +09:00
Takeshi KOMIYA
a937bf6e9d Merge pull request #3417 from tk0miya/reduce_DeprecationWarning_for_regexp
Reduce DeprecationWarnings for regexp
2017-02-17 02:24:26 +09:00
Takeshi KOMIYA
74a0e3589b test: Filter ImportWarning from pytest_cov 2017-02-17 02:01:04 +09:00
Takeshi KOMIYA
e1da72b59c Reduce DeprecationWarnings for regexp 2017-02-17 02:01:04 +09:00
Takeshi KOMIYA
387588a9d8 Fix #3410: return code in :confval:release breaks html search 2017-02-15 18:16:35 +09:00
Takeshi KOMIYA
c4fc611338 Merge branch 'master' of github.com:sphinx-doc/sphinx 2017-02-15 02:01:38 +09:00
Takeshi KOMIYA
baa065f706 option directive also allows all punctuations for the option name (refs: #3366) 2017-02-15 02:01:01 +09:00