Commit Graph

2762 Commits

Author SHA1 Message Date
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
Jakob Lykke Andersen
0ff217e1b2 C++, fix hyperlinking of nested names 2017-12-01 20:07:35 +01:00
Matthew Fernandez
fd94702eed fix #4214: Two todolist directives break sphinx-1.6.5 2017-11-26 20:54:31 -08:00
Jakob Lykke Andersen
56b520958f C++: properly link class reference to class from inside constructor
Fixes sphinx-doc/sphinx#4099
2017-11-26 22:37:26 +01:00
Jakob Lykke Andersen
466241d43a C++, small cleanup after PR #4189 2017-11-25 14:37:27 +01:00
Jakob Lykke Andersen
697248aec7 Merge branch 'cxx2a-concepts' of git://github.com/mickk-on-cpp/sphinx into mickk-on-cpp-cxx2a-concepts 2017-11-20 22:31:37 +01:00
Takeshi KOMIYA
199256e675 Fix #4226: apidoc: Generate new style makefile (make-mode) 2017-11-12 12:26:51 +09:00
Rob Ruana
9095ee4bc4 Merge branch 'stable' into 4221_napoleon_loads_autodoc_explicitly 2017-11-11 13:29:20 -05:00
Takeshi KOMIYA
baaa0e3640 Merge branch 'stable' 2017-11-12 01:53:28 +09:00
Takeshi KOMIYA
bdebbdf873 Update CHANGES for PR #2299 2017-11-12 01:51:40 +09:00
Takeshi KOMIYA
4abe6cb62e Fix #4221: napoleon depends on autodoc, but users need to load it manually 2017-11-11 21:53:20 +09:00
Takeshi KOMIYA
c3113d2e17 Update CHANGES for PR #4231 2017-11-11 18:30:32 +09:00
Takeshi KOMIYA
2c1ac5243c Update CHANGES for PR #4212 2017-11-11 16:47:59 +09:00
Matthew Woodcraft
6b15c9c1c7 #3998: Add optional section numbering in plain text output
Controlled by new config values: text_add_secnumbers and
text_secnumber_suffix.
2017-11-05 22:51:38 +00:00