Eric Wieser
804891c4a1
BUG: Fix autosummary of members with a trailing underscore
2017-03-26 12:54:03 +01: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
David Baumgold
3317796739
Fix intersphinx debug tool
...
and add automated tests
2017-03-21 15:00:32 -04: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
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
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
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
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
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
Anthony Johnson
3502336b13
Add tests for xrefs on Python and JavaScript domains
...
These are just the passing test cases for the domains currently. I am going to
patch up issues with nesting on both domains to start, so these are the test
cases I'll be testing against. I'll see about addressing the other core
domains, or at very least the cpp domain, with similar tests if this looks
okay.
So far, these tests only test against methods/functions for the basic nesting
structure. More complete tests will test additional domain roles.
Refs #662
2017-03-05 16:00:25 -08:00
Yoshiki Shibukawa
3502831214
replace internal copy of ElementTree with standard library's ElementTree
2017-03-01 12:01:40 +09:00
Dmitry Shachnev
73cd4b038a
Add tests for the previous two changes
2017-02-27 15:48:26 +03:00
Takeshi KOMIYA
64041636d6
Merge pull request #3455 from shibukawa/fix-again/epub-nbsp-issue
...
Fix   is appeared in EPUB docs #3450 again
2017-02-26 15:46:33 +09:00
Takeshi KOMIYA
1d0083edc5
Fix #3421 : Could not translate a caption of tables
2017-02-26 13:47:53 +09:00
Yoshiki Shibukawa
1cce97ad5c
Fix   is appeared in EPUB docs #3450 again
2017-02-26 00:29:25 +09:00
Takeshi KOMIYA
13a48d330c
Fix #3438 : update timestamp certainly to ensure test condition
2017-02-24 02:12:09 +09:00
Takeshi KOMIYA
19d2d56e36
Fix IndexBuilder.prune() and load() supports _filenames field
2017-02-21 00:17:38 +09:00
Takeshi KOMIYA
1f973caf06
Fix #3349 : Result of `IndexBuilder.load()` is broken
2017-02-20 16:33:37 +09:00
Takeshi KOMIYA
b9bba672ed
Fix #3366 : option directive does not allow punctuations
2017-02-15 01:42:08 +09:00
Takeshi KOMIYA
929e67ffca
Fix parselinenos() could not parse left half open range (cf. "-4")
2017-02-12 00:09:04 +09:00
Takeshi KOMIYA
8f4379ef91
Add testcase for parselinenos
2017-02-12 00:05:27 +09:00
Takeshi KOMIYA
1a2488610d
Fix #3370 : the caption of code-block is not picked up for translation
2017-01-26 01:57:22 +09:00
Takeshi KOMIYA
cf2061dfad
Fix flake8 violations
2017-01-26 01:13:17 +09:00
Takeshi KOMIYA
bfcb92f6fd
Fix #3285 : autosummary: asterisks are escaped twice
2017-01-21 15:50:41 +09:00
Takeshi KOMIYA
067044211e
Fix #3158 : too much space after captions in PDF output
2017-01-15 22:02:15 +09:00
Jakob Lykke Andersen
ccd6bf4a0c
C++, fix refs to operator() functions.
...
Fixes sphinx-doc/sphinx#2952 .
2017-01-15 14:36:29 +09:00
shimizukawa
a11218151f
fix nits
2017-01-13 00:24:10 +09:00
shimizukawa
2254da3782
refs #3329 : emit warnings if po file is invalid and can't read it. Also writing mo too.
2017-01-13 00:11:35 +09:00
shimizukawa
b5530629a9
pytest: update by reviewing
...
* remove 'specific_srcdir' feature
* simplify 'shared_result' feature
* rename 'AppWrapper' into 'SphinxTestAppWrapperForSkipBuilding'
2017-01-09 17:41:47 +09:00
shimizukawa
561abdd164
pytest optimizatoin:
...
- remote using deprecated decorators
- remove gen_with_app
- remove yield testing
- remove pytest warnings
- refactoring
2017-01-08 15:14:38 +09:00
shimizukawa
89e1df0bba
pytest: nits
2017-01-06 23:10:52 +09:00
shimizukawa
baaef9146d
pytest: remove deprecated with_app decorator functions
2017-01-06 01:14:47 +09:00
shimizukawa
b3c207dd49
fix
2017-01-06 00:50:02 +09:00
shimizukawa
f962ad67d2
pytest: remove deprecated raises and raises_msg assert functions
2017-01-06 00:46:42 +09:00
shimizukawa
f566f003f3
pytest: nits
2017-01-06 00:26:31 +09:00
shimizukawa
d0a33dd785
pytest: remove deprecated with_tempdir decorator
2017-01-06 00:26:01 +09:00
shimizukawa
380dd23d9f
pytest: remove repr_as testing feature that avoids long annoying log for test generator feature on nose. In contrast, pytest does not produce such output. So repr_as is not needed anymore. refs #1785
2017-01-05 23:43:16 +09:00
shimizukawa
ad6d731ecf
pytest: remove unused testing feature for a while.
2017-01-05 23:36:36 +09:00
shimizukawa
5b7d237db3
pytest migration
2017-01-04 00:59:30 +09:00
Takeshi KOMIYA
01736bb397
Fix test_latex failed if stylefiles not found (refs: #3264 )
2016-12-24 19:30:32 +09:00
Takeshi KOMIYA
3b9aee43a2
Fix #185 : References to section title including raw node has broken
2016-12-17 17:29:03 +09:00
Takeshi KOMIYA
9fc53cecf7
Reduce deprecation warnings (refs: #3192 )
2016-12-15 17:15:49 +09:00
shimizukawa
5fc8d3db91
Fix : #2469 : Ignore updates of catalog files for gettext builder. Thanks to Hiroshi Ohkubo.
2016-12-12 23:28:00 +09:00
Jean-François B
0b1130a7cb
Merge pull request #3206 from jfbu/fixlatexhyperlink
...
Fix #3200 : 1.5 LaTeX: xref inside desc_name not allowed
2016-12-11 14:50:44 +01:00
shimizukawa
124938c9ae
Merge branch '1.5-release' into stable
2016-12-10 11:56:22 +09:00
Rob Ruana
f4716ed3a3
[Napoleon] adds xref test data for pull request #3168
2016-12-09 14:13:29 -08:00