Commit Graph

2642 Commits

Author SHA1 Message Date
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
Takeshi KOMIYA
f46c91b652 Merge branch 'stable' 2017-11-02 00:49:10 +09:00
Takeshi KOMIYA
79df05b36d Revert "Add :confval:smart_quotes to disable smart quotes through `conf.py` (refs: #4142)"
This reverts commit bfd39c12b2.
2017-11-01 22:43:40 +09:00
Takeshi KOMIYA
29c62c64f5 Fix #4206: latex: reST label between paragraphs loses paragraph break 2017-11-01 14:33:22 +09:00
Takeshi KOMIYA
bbe3f8fe0c Update CHANGES 2017-10-31 10:52:47 +09:00
Takeshi KOMIYA
c44e041469 Merge pull request #4197 from dlech/kbd
Closes #3160: Use <kbd> tag for :kbd: role in html writers
2017-10-31 10:44:35 +09:00
Takeshi KOMIYA
9ac68edced Merge pull request #4178 from tk0miya/deprecate_string_for_html_sidebars
a single string value for ``html_sidebars`` will be deprecated in 2.0
2017-10-31 10:37:04 +09:00
David Lechner
831f89a687 Closes #3160: Use <kbd> tag for :kbd: role in html writers 2017-10-30 10:23:55 -05:00
Takeshi KOMIYA
83c266aa2e using a string value for `html_sidebars` will be removed in 2.0 2017-10-30 13:41:57 +09:00
Takeshi KOMIYA
bfd39c12b2 Add :confval:smart_quotes to disable smart quotes through `conf.py` (refs: #4142) 2017-10-27 00:45:06 +09:00
lucdanton
9aac2420d3 C++: remove function concepts. 2017-10-26 08:15:09 +02:00
Takeshi KOMIYA
47049ce5f6 Merge branch 'master' into improve_theme_sidebars 2017-10-25 23:53:44 +09:00
Takeshi KOMIYA
e45b03dd50 Update CHANGES for PR #4181 2017-10-25 23:51:41 +09:00
Takeshi KOMIYA
7e7b389eed Merge branch 'stable' 2017-10-23 12:23:58 +09:00
Takeshi KOMIYA
314831d332 Bump version 2017-10-23 12:22:42 +09:00
Takeshi KOMIYA
33fd46b2a5 Bump to 1.6.5 final 2017-10-23 12:19:56 +09:00
Takeshi KOMIYA
cfadf17379 Fix #4132: Failed to convert reST parser error to warning 2017-10-22 20:34:07 +09:00
jfbu
5e86c1c934 Fix #4090: extra LaTeX macros via `latex_additional_files` 2017-10-22 13:24:03 +02:00
jfbu
90e3425ed7 Fix #4149: Documentation: Help choosing latex_engine 2017-10-22 11:45:28 +02:00
Takeshi KOMIYA
b78f3090a0 HTML themes can set up default sidebars through `theme.conf` 2017-10-22 15:14:02 +09:00
Takeshi KOMIYA
ffad4f08c7 Fix #3739: `:module:` option is ignored at content of pyobjects 2017-10-21 21:37:44 +09:00