Commit Graph

9076 Commits

Author SHA1 Message Date
Takeshi KOMIYA
f21fe6f24f Revert "tox: Enable 'skipsdist'"
This reverts commit 69f39e44d9.
2018-01-01 23:03:15 +09:00
Stephen Finucane
69f39e44d9 tox: Enable 'skipsdist'
Given that we install Sphinx as part of the dependencies, there's no
reason to do it twice. Skip that step.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-01 18:47:12 +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
0b247ff1f7
Merge pull request #4364 from tk0miya/happy_new_year
A happy new year! (stable)
2018-01-01 10:40:03 +09:00
Takeshi KOMIYA
2426cedb8b A happy new year! 2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
fce7f38b71
Merge pull request #4217 from Smattr/4a164170-33e9-4df3-aad2-a13af37b6b43
Fix #4214: Two todolist directives break sphinx-1.6.5
2017-12-31 21:05:38 +09:00
Takeshi KOMIYA
1cae50f748
Merge branch 'stable' into 4a164170-33e9-4df3-aad2-a13af37b6b43 2017-12-31 20:43:16 +09:00
jfbu
0059c05a85 Rename smartquotable to notsmartquotable for intelligibility 2017-12-30 11:03:43 +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
8c72f98c78 Update CHANGES for PR #4316 2017-12-20 22:45:22 +01:00
Jean-François B
fa20b7af5c
Merge pull request #4316 from jfbu/4315_toplevel_sectioning
4315 toplevel sectioning
2017-12-20 21:46:03 +01:00
jfbu
1ee2c2fb95 Re-use some existing test with extras 2017-12-20 21:30:05 +01:00
Takeshi KOMIYA
771e122980
Merge pull request #4329 from pvcraven/patch-1
Add "Arcade" library documentation to examples
2017-12-20 14:32:58 +09:00
Paul V Craven
3fe218e759
Update arcade.academy link
Update http://arcade.academy link to use http instead of https.
2017-12-19 21:14:36 -06:00
Paul V Craven
221aa470fa
Add "Arcade" library documentation to examples 2017-12-19 17:28:28 -06:00
jfbu
72bffcf0f4 Add precision to docs of latex_toplevel_sectioning 2017-12-18 11:20:07 +01:00
jfbu
245876c6e7 Add test for latex_toplevel_sectioning 2017-12-18 08:27:59 +01:00
jfbu
af46ed16b0 Fixes #4315: latex_toplevel_sectioning induced \chapter in article class 2017-12-18 08:09:47 +01:00
jfbu
46b1896228 Again rewording docs about numfig_secnum_depth 2017-12-17 17:56:03 +01:00
jfbu
ba1368072f Typo place holder --> placeholder 2017-12-16 11:51:00 +01:00
jfbu
a9602e4597 Improve numref docs 2017-12-16 11:46:33 +01:00
Takeshi KOMIYA
02d3f071d3
Merge pull request #4282 from mgorny/makedirs-race2
Use ensuredir() instead of os.makedirs() to fix race conditions
2017-12-16 19:33:51 +09:00
jfbu
f780f92d1b Mention `:numbered:` needed in numfig_secnum_depth docs 2017-12-16 11:32:40 +01:00
jfbu
070fbb97e5 Add markup and clarify numfig_secnum_depth docs 2017-12-16 11:05:33 +01: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
7cabd6cbb0 Fix mypy violations 2017-12-16 14:52:20 +09:00
jfbu
b131c33af5 Fix markup in doc/ext/math.rst 2017-12-15 22:54:52 +01:00
Takeshi KOMIYA
698a0c7741
Merge pull request #4302 from tk0miya/diet_test-root
Diet testcases
2017-12-15 22:28:30 +09: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
Takeshi KOMIYA
49e1fbe0df Update CHANGES for PR #4273 2017-12-14 22:09:43 +09:00
Takeshi KOMIYA
638018cea0
Merge pull request #4273 from stephenfin/bug/1421
Fix #1421: Respect the quiet flag in sphinx-quickstart
2017-12-14 22:08:56 +09:00
jfbu
64bb48ad2d Fix some French English encountered in sphinx.sty's comments ... 2017-12-13 22:29:56 +01:00
Stephen Finucane
974b1be218 Fix #1421: Respect the quiet flag in sphinx-quickstart
Calling 'sphinx-quickstart --quiet' should not print anything to stdout.
Resolve this.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-13 19:39:29 +00:00
Takeshi KOMIYA
ce85b48a0e
Merge pull request #4286 from tk0miya/4279_multiproc_and_logging
Fix #4279: Sphinx crashes with pickling error when run with multiple …
2017-12-13 23:55:33 +09:00
Takeshi KOMIYA
cdb9fee40a
Merge branch 'stable' into 4279_multiproc_and_logging 2017-12-13 23:05:20 +09:00
Takeshi KOMIYA
53bb1f03a6
Merge branch 'stable' into 4279_multiproc_and_logging 2017-12-13 22:51:12 +09:00
jfbu
8de0abd1b6 Make PDF highlighting work as expected also in absence of `:linenos:`
Method at 347f15ca2 was overly complicated, due to not enough
understanding of LaTeX package fancyvrb's innards.
2017-12-13 11:12:18 +01:00
Takeshi KOMIYA
d4243a10fe Fix mypy violation 2017-12-12 23:28:30 +09:00
Takeshi KOMIYA
7f3a7c3b81
Merge pull request #4291 from mitya57/reproducibility
Fix for reproducibility of htmlhelp and qthelp builds
2017-12-12 23:22:02 +09:00
jfbu
b5e50d652c Update LaTeX style file's version date 2017-12-12 10:59:25 +01:00
jfbu
faadbef757 Expose some sphinx.sty LaTeX internals for customizability (refs: #4285) 2017-12-12 10:57:49 +01:00
jfbu
43e6f1aa96 Fix VerbatimHighlightColor key declared non-sphinx-prefixed colour name 2017-12-11 23:09:19 +01:00
Dmitry Shachnev
1502fbda61 Fix for reproducibility of htmlhelp and qthelp builds
Make sure the generated list of files is sorted.
This is similar to what was applied to EPub builder in 0b7c73a981.
2017-12-12 00:12:45 +03:00
jfbu
f95464baf3 Update CHANGES for PR #4285 2017-12-11 22:10:53 +01:00