Doug Hellmann
83f30712b8
fix ext.apidoc to include "empty" packages that contain modules
...
Commit 2d99648e99 changed the apidoc
extension to ignore packages if the __init__.py file was empty. That
breaks the toctree structure if those packages do contain submodules
and subpackages. This patch adds a check to ensure that empty
__init__.py modules are only skipped if there are no other python
modules in the same directory.
Addresses bug #654
Signed-off-by: Doug Hellmann <doug@doughellmann.com >
2018-01-23 14:21:03 -05:00
Takeshi KOMIYA
e77267dd94
Add tests for smartquotes
2018-01-09 23:37:37 +09:00
Takeshi KOMIYA
850e9a9c5c
Fix links to external option docs with intersphinx (refs: #3769 )
2018-01-02 01:01:29 +09:00
Takeshi KOMIYA
023dad6c66
Merge pull request #4335 from zufallsgenerator/fix-4334-apidoc-toc-inconsistencies
...
Closes #4334 : sphinx-apidoc: References to non-existing files in TOC
2018-01-01 12:03:32 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
1cae50f748
Merge branch 'stable' into 4a164170-33e9-4df3-aad2-a13af37b6b43
2017-12-31 20:43:16 +09:00
Christer Bystrom
2d99648e99
Closes #4334 : sphinx-apidoc: Don't generate references to non-existing files in TOC
2017-12-21 19:06:17 +01:00
jfbu
1ee2c2fb95
Re-use some existing test with extras
2017-12-20 21:30:05 +01:00
jfbu
245876c6e7
Add test for latex_toplevel_sectioning
2017-12-18 08:27:59 +01:00
Takeshi KOMIYA
c250c63daa
test: Skip some builders on test_build_all
2017-12-15 21:15:04 +09:00
Takeshi KOMIYA
2a2ed8915a
diet test-root: Move .mo files to new testroot (for test_html_rebuild_mo)
2017-12-15 21:15:02 +09:00
Takeshi KOMIYA
e3bbffc36e
test: Add test_html_copy_source
2017-12-15 02:35:32 +09:00
Takeshi KOMIYA
a3f04c3397
Refactor test_build_html: Use basic project instead roots
2017-12-15 02:35:32 +09:00
Takeshi KOMIYA
a5b64c98af
diet test-root: Remove html_static_path and html_extra_path (duplicated with test-html_assets)
2017-12-15 02:35:32 +09:00
Takeshi KOMIYA
a8ab1f164b
diet test-root: Move testtheme to test-theming
2017-12-15 02:35:32 +09:00
Takeshi KOMIYA
60f3968ef7
diet test-root: Move ziptheme to test-theming
2017-12-15 02:35:32 +09:00
jfbu
70f8d4ddfc
Support `:emphasize-lines:` in PDF output ( closes #1238 )
2017-12-10 12:37:36 +01:00
Matthew Fernandez
1b664248f4
update todo extension test to test multiple todolists
...
This tests for regression of previous bug #4214 : Two todolist directives break
sphinx-1.6.5.
2017-11-26 20:54:32 -08:00
Matthew Fernandez
9158a5be1b
remove todo_emit_warnings override from a test that doesn't need it
2017-11-26 20:54:06 -08:00
Takeshi KOMIYA
c1555638ae
Merge pull request #2299 from scVENUS/fix_attribute_docstrings_of_imported_class
...
Fix #2298 : automodule fails to document a class attribute.
2017-11-12 01:48:48 +09:00
Takeshi KOMIYA
c4e364ee63
Rename tests directory; roots/test-doctest -> roots/test-ext-doctest
2017-11-02 00:03:29 +09:00
Dmitry Shachnev
eb934cb665
Add a test for the previous change
2017-10-23 23:12:10 +03:00
Takeshi KOMIYA
47c869c89a
Fix flake8 and style-check violations
2017-10-23 23:01:18 +09:00
Takeshi KOMIYA
ffad4f08c7
Fix #3739 : `:module:` option is ignored at content of pyobjects
2017-10-21 21:37:44 +09:00
Takeshi KOMIYA
cd4964249f
Merge branch 'stable' into 1086bfa6-fa4c-485f-bd17-6aa1ca49f851
2017-10-21 13:48:25 +09:00
Takeshi KOMIYA
4448902977
Fix #4169 : Chinese language doesn't trigger Chinese search automatically
2017-10-21 01:42:53 +09:00
Matthew Fernandez
6553b2ed32
add a test that confirms #1020
2017-10-18 18:39:56 -07:00
Matthew Fernandez
08f6f7ba4d
fix comment typo
2017-10-18 18:39:27 -07:00
cocoatomo
35d10033c2
Add (optional) u prefixes for Python 2.7
2017-10-08 01:55:53 +09:00
cocoatomo
73fd3f90bf
Wrap the line too long
2017-10-08 01:29:07 +09:00
cocoatomo
ff88c8b730
Display reference texts of original and translated messages
2017-10-08 00:06:00 +09:00
cocoatomo
1f0c3ce875
Re-arrange WARNING messages about reference inconsistencies
2017-10-07 10:47:59 +09:00
Takeshi KOMIYA
50640b700b
Fix #4070 , #4111 : crashes when the warning message contains format strings (again)
2017-10-05 00:00:48 +09:00
Jakob Lykke Andersen
6d61098058
C++, add test case for sphinx-doc/sphinx#4096
2017-10-03 14:35:10 +02:00
jfbu
db36b42e55
Avoid extra space in PDF after image in parsed-literal (refs: Fix #4085 )
2017-09-27 12:43:28 +02:00
jfbu
dc129e0532
Fix #4085 Failed PDF build from image in parsed-literal
2017-09-27 09:54:18 +02:00
Oliver Sanders
261f74bc7a
Add test for ext.graphviz alignment.
2017-09-24 17:04:25 +09:00
jfbu
d0418f9129
Add test for #4066 latex \index indent fix
2017-09-20 10:30:45 +02:00
jfbu
f453fe7bf0
Fix #4044 (extra row height in PDF output from empty multicell)
2017-09-11 20:18:35 +02:00
Takeshi KOMIYA
a9b5fe3624
Merge branch 'stable' into 3969_allow_private_instance_vars
2017-09-06 23:52:33 +09:00
Jakob Lykke Andersen
29b1d2f906
Merge pull request #3894 from Andne/cpp-typeorconcept
...
Improve support for C++ references with intersphinx
2017-08-31 16:58:45 +02:00
Takeshi KOMIYA
feab97e293
Fix flake8 violation
2017-08-20 00:27:07 +09:00
Takeshi KOMIYA
c96b5b67b1
Fix flake8 violation
2017-08-10 10:36:19 +09:00
Takeshi KOMIYA
13be8e03ba
Fix #3969 : private instance attributes causes AttributeError
2017-07-31 22:49:04 +09:00
Takeshi KOMIYA
d63a678228
Reduce DeprecationWarning
2017-07-31 22:30:48 +09:00
Takeshi KOMIYA
da0fda3b0b
Add tests for default-role
2017-07-31 00:46:26 +09:00
Takeshi KOMIYA
bfd71cd77b
Fix #3926 : Add `autodoc_warningiserror to suppress the behavior of -W` option
2017-07-15 22:04:56 +09:00
Takeshi KOMIYA
dc6a8a5457
test: Fix autosummary testcase
2017-07-02 18:41:03 +09:00
Takeshi KOMIYA
b3e0e29f4c
Fix #3900 : autosummary could not find methods
2017-07-02 18:26:41 +09:00
Yoshiki Shibukawa
f0766ce4cd
fix #3840 : epub_uid should be XML Name
2017-06-30 23:37:32 +09:00