Commit Graph

8547 Commits

Author SHA1 Message Date
Takeshi KOMIYA
159bcd905a Merge pull request #3573 from chrisckchang/patch-1
Fix grammar in docs
2017-03-21 09:59:04 +09:00
Christopher Chang
9af298dcfa Update domains.rst 2017-03-20 15:42:17 -07:00
Christopher Chang
3f2c3790ce fixed a grammatical mistake 2017-03-20 14:13:49 -07:00
Anthony Johnson
fb3953698b
Remove JS domain module feature for null module names 2017-03-20 13:38:23 -07:00
Anthony Johnson
5d8b49d221
Cleanup on docs and test 2017-03-20 12:17:58 -07:00
Takeshi KOMIYA
7343b92de5 Update deprecation message for env.currmodule and env.currclass 2017-03-20 15:02:43 +09:00
Takeshi KOMIYA
de523ff6fa Update CHANGES 2017-03-20 14:55:30 +09:00
Takeshi KOMIYA
d3c475793d Fix mypy violations 2017-03-20 10:39:47 +09:00
Takeshi KOMIYA
81c0fef4bb Update warning message 2017-03-20 10:37:57 +09:00
Takeshi KOMIYA
f175dc1b22 Add Builder.use_message_catalog flag 2017-03-20 08:54:36 +09:00
Takeshi KOMIYA
b192b3271a Add Builder#get_asset_paths() to make less-coupling 2017-03-20 01:20:19 +09:00
Takeshi KOMIYA
cd3f48bb76 Create an instance of builder before initialize env 2017-03-19 23:16:37 +09:00
jfbu
d4d106e7b7 Update CHANGES for PR #3550 2017-03-18 23:26:33 +01:00
Jean-François B
4fb01cae8c Merge pull request #3550 from jfbu/fixcolorsetup
Streamline obsolete color set-up in LaTeX style file
2017-03-18 23:15:57 +01:00
jfbu
daca6293a0 Typo in a comment 2017-03-18 22:42:31 +01:00
jfbu
00ac58ff1e Revert "Remove parskip space above logo image on PDF title page"
This reverts commit 4712faf907.
2017-03-18 22:38:00 +01:00
Takeshi KOMIYA
01cb3a75c7 Fix #3558: Emit warnings if footnotes and citations are not referenced 2017-03-18 21:03:16 +09:00
Takeshi KOMIYA
75bc85d70d Fix docstring 2017-03-18 18:31:16 +09:00
Takeshi KOMIYA
aa6dfb8b41 Merge branch 'stable' 2017-03-18 18:25:50 +09:00
Takeshi KOMIYA
2dae11aa68 Fix #3552: linkcheck raises UnboundLocalError 2017-03-18 18:17:59 +09:00
jfbu
ada9aa6b94 Markup in CONTRIBUTING.rst 2017-03-18 09:49:18 +01:00
Takeshi KOMIYA
a0e1eb6544 Update CHANGES for PR #3520 2017-03-18 17:38:50 +09:00
Takeshi KOMIYA
a67c7855aa Merge pull request #3520 from agjohnson/fix-domain-py-nesting
Fix Python domain nesting
2017-03-18 17:33:56 +09:00
jfbu
2b929dc27e Fix syntax coloring in CONTRIBUTING.rst 2017-03-18 09:25:48 +01:00
Tormod Landet
a9243276cc Mention style-checks and type-checks in devguide 2017-03-18 09:15:00 +01:00
Takeshi KOMIYA
0df0a11cfa Add testcode for sphinx.pycode 2017-03-18 15:00:28 +09:00
Takeshi KOMIYA
2445b70848 Merge pull request #3560 from TormodLandet/document-style-check
Mention style-checks and type-checks in the devguide
2017-03-18 14:58:53 +09:00
jfbu
39bce2f90a Remove documentation of `\sphinxquotedblleft` from next minor release
Indeed, the macros will perhaps be removed already at 1.6, (PR #3562),
hence it is better not to document them at 1.5.4.
2017-03-16 23:01:12 +01:00
Jean-François B
0d85348454 Merge pull request #3563 from mitya57/fix-invalid-escape
tests: Fix invalid escape sequence
2017-03-16 19:23:51 +01:00
Dmitry Shachnev
1d12165a12 tests: Fix invalid escape sequence
This fixes this warning:
tests/test_build_latex.py:958: DeprecationWarning: invalid escape sequence \s
2017-03-16 20:22:58 +03:00
Tormod Landet
f6661fb0f3 Mention style-checks and type-checks in devguide 2017-03-16 09:35:11 +01:00
Anthony Johnson
2795889310 Review feedback, cleanup, and docs 2017-03-15 23:14:32 -07:00
Anthony Johnson
4a61366ff1 Some cleanup 2017-03-15 23:13:08 -07:00
Anthony Johnson
3ba60ffd5d Add nesting, module directive, and method directive to JavaScript domain
* Adds nesting to the JavaScript domain, to allow for nesting of elements
* Adds the ``js:module`` directive, which behaves similarly to the Python
  directive
* Adds the ``js:method`` directive, an alias to ``js:function``
* Adds roles for ``js:mod`` and ``js:meth``
* Updates tests to passing cases
* Adds docs for new features
2017-03-15 22:27:48 -07:00
Takeshi KOMIYA
7a3f35e014 Merge pull request #3554 from jdemeyer/allow_no_ssl
Allow running Sphinx without ssl
2017-03-16 10:44:59 +09:00
Takeshi KOMIYA
c1a6377caa Merge pull request #3555 from mitya57/stable
test_markup: Make verify functions test both HTML and LaTeX outputs
2017-03-16 10:28:48 +09:00
Jeroen Demeyer
f314245aa5 Allow running Sphinx without ssl 2017-03-15 10:48:03 +01:00
Dmitry Shachnev
1717a95a77 Fix a test failure which was uncovered by the previous change
In PR #3527 the LaTeX output for quotes has changed, but the test was
not updated.
2017-03-15 11:29:50 +03:00
Rob Ruana
b7efbfe615 Fix #3174: [Napoleon] Defers autodoc-skip-member to other extensions if Napoleon doesn't care if the member is skipped 2017-03-14 18:53:27 -07:00
Takeshi KOMIYA
b7cada236f Merge pull request #3556 from rayl/nitpicky-5a7eb99e4
Fix possible bug in commit 5a7eb99e4
2017-03-15 10:39:15 +09:00
Ray Lehtiniemi
d4af39ff7d Fix possible bug in commit 5a7eb99e4
Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
2017-03-14 17:27:56 -06:00
Dmitry Shachnev
6e0467ca77 test_markup: Make verify functions test both HTML and LaTeX outputs
Previously it would return after performing the HTML check, without
running the LaTeX one.
2017-03-14 22:34:51 +03:00
jfbu
4712faf907 Remove parskip space above logo image on PDF title page 2017-03-13 09:40:51 +01:00
jfbu
4b8295d981 If no logo, do insert blank line between rule and title on PDF titlepage 2017-03-13 09:09:49 +01:00
jfbu
65f9be9311 Remove legacy accidental blank line between top rule and logo in PDF
Probably for accidental reasons, pdflatex and lualatex (but not platex
and xelatex) were configured with a blank line above the logo on title
page, below the top rule. This commit removes it.
2017-03-13 08:32:11 +01:00
jfbu
4b2fff4e5e Streamline obsolete color set-up in LaTeX style file
The file ``pdfcolor.tex`` included in tex distributions is for Plain
pdfTeX, not for LaTeX use. Loading it complicates task of supporting
multiple TeX engines. If needed all corresponding colour names are
better available from passing to ``color`` or ``xcolor`` the
``dvipsnames`` option. It is better to leave responsability of using
this option to Sphinx user, if needed. The macros for setting the color
defined by ``pdfcolor.tex`` were never documented to Sphinx user, and
they can not be used from reST apart from ``.. raw:: latex`` directive,
they are for Plain TeX without use of ``color`` package. Thus, this
commit drops loading this file and the complicated conditionals around
it (``\ifsphinxpdfoutput``), which are also used in the class files
``sphinxmanual.cls``, ``sphinxhowto.cls``.

Also, this fixes issue #2693.
2017-03-13 08:10:56 +01:00
jfbu
73b8cf44cf Revert "Amend merged PR#2736 to maintain strict stability of pdf title page"
This reverts commit 7db8141238.

As discussed at

<https://github.com/sphinx-doc/sphinx/pull/2736#issuecomment-230140016>

platex and xelatex engines led to a slightly different title page layout
missing a blank line underneath the top rule (above the logo) compared
to pdflatex and lualatex. This was probably accidental.
2017-03-13 08:07:46 +01:00
Takeshi KOMIYA
dc61f68e14 Fix travis error 2017-03-13 13:12:58 +09:00
Takeshi KOMIYA
cb93dbf8aa Fix failure on assemble_doctree() (refs: #3534) 2017-03-13 11:35:45 +09:00
Takeshi KOMIYA
75c7c80299 Fix collectors does not returns ext-metadata 2017-03-13 10:46:07 +09:00