Commit Graph

2825 Commits

Author SHA1 Message Date
Takeshi KOMIYA
273f834157 Fix #4081: Warnings and errors colored the same when building 2018-01-08 12:29:06 +09:00
Takeshi KOMIYA
7ba54500fc Fix #4183: doctest: `:pyversion:` option also follows PEP-440 specification 2018-01-08 11:59:50 +09:00
shimizukawa
b5edde474d update CHANGES for #4198 2018-01-08 11:18:36 +09:00
Takeshi KOMIYA
e015ce2a0f Update CHANGES for PR #4389 2018-01-08 09:36:35 +09:00
Takeshi KOMIYA
d9ae68b2ee Merge branch 'stable' 2018-01-07 12:16:17 +09:00
Takeshi KOMIYA
e18c49ec59 Merge commit '4277eb13315d5649401190df86874b3832ddfa3e' 2018-01-07 01:13:32 +09:00
Tim Hoffmann
bf29ffb284 #4246: Limit width of text body for all themes 2018-01-06 16:52:12 +01:00
jfbu
0d824dfd41 Update CHANGES for PR #4360 2018-01-05 15:16:23 +01:00
Takeshi KOMIYA
4277eb1331 Merge pull request #4373 from tk0miya/4369_show_traceback_on_exception_from_conf.py
Show traceback if conf.py raises an exception (refs: #4369)
2018-01-05 14:18:43 +09:00
Takeshi KOMIYA
6fa344c951 Show traceback if conf.py raises an exception (refs: #4369) 2018-01-03 20:15:45 +09:00
Takeshi KOMIYA
cb860f0d30 Fix #4091: Private members not documented without :undoc-members: 2018-01-02 01:57:41 +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
4b51ed4aa9 Deprecate AutoDirective._special_attrgetters 2018-01-01 12:13:29 +09:00
Takeshi KOMIYA
5d6413b712 Deprecate sphinx.ext.autodoc.add_documenter() and AutoDirective._register 2018-01-01 12:13: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
e8402bf0ee Merge branch 'stable' 2017-12-31 21:13:34 +09:00
Takeshi KOMIYA
1cae50f748 Merge branch 'stable' into 4a164170-33e9-4df3-aad2-a13af37b6b43 2017-12-31 20:43:16 +09:00
Jakob Lykke Andersen
9766c2f339 C++, support the template disambiguator for dependent names. 2017-12-24 16:31:10 +01:00
jfbu
2e04c2a058 Update CHANGES for PR #4332 2017-12-21 19:33:47 +01: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
5ca9d0578b Update CHANGES for PR #4331 2017-12-21 18:37:45 +01:00
Takeshi KOMIYA
ffa9d48d0e Merge branch 'master' into ignore__all__ 2017-12-22 00:28:26 +09:00
jfbu
24c9103a2c Update CHANGES 2017-12-21 00:19:23 +01:00
jfbu
c7a4283ff7 Update CHANGES for PR #4311 2017-12-21 00:04:40 +01:00
jfbu
ff7e44a511 Merge branch 'stable' 2017-12-20 23:23:31 +01:00
jfbu
8c72f98c78 Update CHANGES for PR #4316 2017-12-20 22:45:22 +01:00
Kevin Keating
e932ff5ad2 Closes #947: autodoc now supports ignore-module-all to ignore a module's __all__ 2017-12-20 15:07:33 -05:00
Takeshi KOMIYA
e2bf2ef11d Merge pull request #4166 from jahn/math_numfig
Number equations across pages and by section (fix #3991, #4080)
2017-12-21 00:39:44 +09:00
Takeshi KOMIYA
7a194f5296 autodoc: Use logging module to emit warnings 2017-12-20 01:40:45 +09:00
jfbu
fcbabcd9b5 Merge branch 'stable'
Conflicts:
	sphinx/apidoc.py
	sphinx/application.py
	sphinx/quickstart.py

	modified:   CHANGES
	modified:   doc/config.rst
	modified:   doc/markup/inline.rst
	modified:   sphinx/application.py
	modified:   sphinx/builders/__init__.py
	modified:   sphinx/cmd/quickstart.py
	modified:   sphinx/ext/apidoc.py
2017-12-18 10:13:49 +01:00
Takeshi KOMIYA
cb5ceeaf99 Merge branch 'master' into refactor_AutoDirective 2017-12-18 00:59:21 +09:00
Takeshi KOMIYA
464f94c238 deprecate formatargspec() and format_annotation() 2017-12-17 15:25:44 +09:00
Takeshi KOMIYA
299b11f26f Replace AutodocReporter by switch_source_input() 2017-12-17 02:13:11 +09:00
Oliver Jahn
44708b03dc Merge branch 'master' into math_numfig 2017-12-16 11:15:07 -05:00
Michał Górny
14af6b429e Use ensuredir() instead of os.makedirs() to fix race conditions
Use the ensuredir() function consistently across Sphinx code to avoid
race conditions e.g. when multiple Sphinx instances attempt to create
the same output directory. The ensuredir() function that was already
present in sphinx.util.osutil correctly catches EEXIST exception that
occurs if the specified directory already exists (i.e. it was created
between the call to os.path.isdir() and os.makedirs() that follows it).

While at it, remove redundant os.path.isdir() calls when they only
guarded the os.makedirs() call, and replace mkdir_p() which had pretty
much the same purpose, except for being prone to race conditions.

I did not modify testing-related code as race conditions mostly affect
real applications and not the test environment.

Fix #4281: Race conditions when creating output directory
2017-12-16 09:50:09 +01:00
Takeshi KOMIYA
ea61464706 Merge branch 'stable' 2017-12-14 23:26:27 +09:00
Takeshi KOMIYA
49e1fbe0df Update CHANGES for PR #4273 2017-12-14 22:09:43 +09:00
Takeshi KOMIYA
53bb1f03a6 Merge branch 'stable' into 4279_multiproc_and_logging 2017-12-13 22:51:12 +09:00
Jakob Lykke Andersen
809388d836 C++, do not add index entries for decls in concepts 2017-12-12 18:04:58 +01:00
Jakob Lykke Andersen
d9006ef5b2 C++, make function params linkable 2017-12-12 18:04:58 +01:00
jfbu
4ca7bfc601 Merge branch 'stable' 2017-12-12 11:00:52 +01:00
jfbu
faadbef757 Expose some sphinx.sty LaTeX internals for customizability (refs: #4285) 2017-12-12 10:57:49 +01:00
jfbu
ad4481eb15 Merge branch 'stable' 2017-12-11 22:54:34 +01:00
jfbu
f95464baf3 Update CHANGES for PR #4285 2017-12-11 22:10:53 +01:00
jfbu
34634d6225 Update CHANGES for PR #4250 2017-12-10 23:31:44 +01:00
Takeshi KOMIYA
38b5dff206 Fix #4279: Sphinx crashes with pickling error when run with multiple processes and remote image 2017-12-10 21:10:56 +09:00
Takeshi KOMIYA
8f28837616 Update CHANGES for PR #4274 2017-12-10 21:08:52 +09:00
jfbu
90ee039e34 Avoid № in CHANGES, as PDF built with language="ja" does not render it 2017-12-06 19:02:11 +01:00
jfbu
21d1025739 Update CHANGES for PR #4268
modified:   CHANGES
2017-12-06 18:43:37 +01:00
Jakob Lykke Andersen
f3b440777b C++, support explicit member instantiations
See michaeljones/breathe#325
2017-12-04 22:38:37 +01:00