Commit Graph

7804 Commits

Author SHA1 Message Date
Takeshi KOMIYA
c57e47e042 Year++ 2017-03-26 11:49:34 +09:00
Takeshi KOMIYA
a92f406739 Merge pull request #3581 from eric-wieser/patch-1
Fix issues with trailing underscores in heading names
2017-03-25 22:16:42 +09:00
Eric Wieser
a7397a21fe Test whether the escaping is correct by looking at the plaintext
Otherwise we're just testing that the headers are produced with format_header
2017-03-24 09:53:01 +00:00
Eric Wieser
18d2e2e48b Move apidoc tests to subfolder, rather than polluting main test 2017-03-24 09:51:50 +00:00
Eric Wieser
3e7bee5836 Fix issues with trailing underscores in heading names
Fixes #1451, using the approach in 8d96c90fc6
2017-03-23 12:40:14 +00:00
jfbu
895014cd71 Fix use of \pdfinfo (refs #3551, #3567)
Although the data in ``\pdfinfo`` as set-up in ``sphinxmanual.cls`` was
ignored, some LaTeX commands (e.g. ``\large``) in the ``latex_documents``
title item could cause failed PDF builds.

This commit removes the anyhow ignored ``\pdfinfo`` usage, and indicates
in commented-out lines how to use ``\hypersetup``, which may be done in
master branch, or possibly in stable branch, if some consensus emerges
about how to represent ``\and`` in the ``/Author`` field. It seems the
PDF Document Information Dictionary does not seem to provide any
universal multi-lingual way to indicate multiple authors.
2017-03-23 11:06:48 +01:00
jfbu
89431bf833 Fix accidental use of `language='ja'` in docs (at 41bb388) 2017-03-23 11:03:38 +01:00
Takeshi KOMIYA
161e3da3f3 Update CHANGES for PR #3577 2017-03-22 09:36:00 +09:00
Takeshi KOMIYA
cfc3e36ee5 Merge pull request #3577 from singingwolfboy/intersphinx-debug
Fix intersphinx debug tool
2017-03-22 09:35:00 +09:00
David Baumgold
3317796739 Fix intersphinx debug tool
and add automated tests
2017-03-21 15:00:32 -04:00
jfbu
aa03441ee9 Fix TeX coding bug in latex writer (closes #3575) 2017-03-21 13:21:46 +01:00
jfbu
a0a0e6cab0 Fix typo 2017-03-21 09:23:35 +01:00
jfbu
68ac715565 Update domains.rst 2017-03-21 08:26:11 +01:00
jfbu
41bb38877f Update docs (domains.rst) 2017-03-21 08:24:35 +01:00
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
Takeshi KOMIYA
75bc85d70d Fix docstring 2017-03-18 18:31:16 +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
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
Anthony Johnson
2795889310 Review feedback, cleanup, and docs 2017-03-15 23:14:32 -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
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
Jean-François B
741acb04e9 Merge pull request #3544 from jfbu/reorderlatexmacros
Reorder macros in LaTeX style file for easier maintenance
2017-03-12 12:51:06 +01:00
jfbu
b176957729 Remove superfluous `\long` from text styling macro definitions
All LaTeX commands such as \textbf, \emph, \underline.. are "short",
thus there was no need of ``\long`` prefix. Regarding
``\sphinxoptional`` which was defined via ``\newcommand``, the ``\long``
is there for full backwards compatibility, but a priori the argument
will always be a "short" one (i.e. not containing empty line or ``\par``
token.)
2017-03-12 10:57:26 +01:00
jfbu
a62ea77a2d Reorder macros in LaTeX style file for easier maintenance 2017-03-12 10:55:02 +01:00
Jakob Lykke Andersen
acf5f94940 C++, fix parsing error of non-type template arg
Fixes sphinx-doc/sphinx#3542
2017-03-12 15:03:20 +09:00
Jakob Lykke Andersen
a98414355a Merge pull request #3528 from jakobandersen/field-pending-xref-annotation
Callback on domains to annotate xrefs created from docfields.
2017-03-12 12:32:45 +09:00
Jakob Lykke Andersen
2f931be89b Merge branch 'stable' into field-pending-xref-annotation 2017-03-12 12:04:47 +09:00
jfbu
4a6e5863f4 Update CHANGES for PR #3538 2017-03-11 16:58:32 +01:00
Jean-François B
3128a4327d More robust hyperlink macros in LaTeX output (refs #3317, #3340, #3533) (#3538)
More robust hyperlink macros in LaTeX output (refs #3317, #3340, #3533)
2017-03-11 16:53:53 +01:00
Jakob Lykke Andersen
9249db2472 Make docfield xref changes backwards compatible 2017-03-11 18:56:13 +09:00
jfbu
448dc08924 Update CHANGES for PR #3527 2017-03-10 09:29:36 +01:00
Jean-François B
94e9d3e28b Merge pull request #3527 from jfbu/fixdoublequotes
Protect TeX double quotes ligatures in inline literals (refs #3507)
2017-03-10 09:24:23 +01:00
jfbu
990f51d680 Update latex docs 2017-03-10 08:42:37 +01:00
Jakob Lykke Andersen
9ca5d990f6 Add callback on domains for xrefs from fields.
Fixes sphinx-doc/sphinx#2607.
Fixes sphinx-doc/sphinx#2665.
2017-03-08 20:35:44 +09:00
jfbu
71e1642749 Protect TeX double quotes ligatures in inline literals (refs #3507) 2017-03-07 22:20:11 +01:00
Jakob Lykke Andersen
38b38d8aff Make flake8 stop complaining. 2017-03-07 20:47:53 +09:00
Jakob Lykke Andersen
bc527c533e C++, better error messages for 'func' and 'any' refs.
Followup to sphinx-dox/sphinx#2952.
On error try to get reparse without parens to get the correct message.
2017-03-07 20:28:04 +09:00
Anthony Johnson
b0875d63fc
Fix Python domain nesting
Moved #3465 here, to address this in `stable` instead.

This fixes a problem with the Python domain object nesting. Because only one
object name was stored in `ref_context`, and reset to `None` in `after_content`,
nesting broke if you put anything after a nested class:

```rst
.. py:class:: Parent

    .. py:method:: foo()

        This wouldn't resolve: :py:meth:`bar`

    .. py:class:: Child

        In the `after_content` method, the object is reset to `None`, so
        anything after this in the same nesting is considered to be top level
        instead.

    .. py:method:: bar()

        This is top level, as the domain thinks the surrounding object is `None`
```

This depends on #3519 and can be rebased after that is merged into stable

Fixes #3065
Refs #3067
2017-03-06 19:04:19 -08:00
Takeshi KOMIYA
e060f65bc5 Merge pull request #3519 from agjohnson/add-domain-tests
Add tests for xrefs on Python and JavaScript domains
2017-03-07 11:20:32 +09:00