summaryrefslogtreecommitdiff
path: root/sphinx/application.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Merge branch 'stable'jfbu2017-12-181-2/+2
| |\ \ \ | | |/ / | | | / | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Use ensuredir() instead of os.makedirs() to fix race conditionsMichał Górny2017-12-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Fix mypy violationsTakeshi KOMIYA2017-12-151-2/+3
| | |
* | | Move post-transform manager to registryTakeshi KOMIYA2017-12-141-3/+1
| | |
* | | Move Transform manager to registryTakeshi KOMIYA2017-12-141-2/+1
| | |
* | | Move logs to registryTakeshi KOMIYA2017-12-141-15/+0
|/ /
* | Refactor sphinx.io; separate FileInput class for each file typeTakeshi KOMIYA2017-12-121-0/+1
| |
* | #3799 use propper pluralization in (dummy) i18n callTimotheus Kampik2017-08-051-3/+3
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-07-151-1/+1
|\ \ | |/
| * Fix flake8 violationTakeshi KOMIYA2017-07-151-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-07-151-1/+1
|\ \ | |/
| * Fix mypy violations (for mypy-0.520)Takeshi KOMIYA2017-07-151-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-07-021-28/+28
|\ \ | |/
| * Fix #3833: command line messages are translated unintentionallyTakeshi KOMIYA2017-06-251-28/+28
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-05-281-1/+2
|\ \ | |/
| * Add Sphinx own parser (refs: #3816)Takeshi KOMIYA2017-05-281-1/+2
| |
| * Fix flake8 violationTakeshi KOMIYA2017-05-281-1/+0
| |
| * Refactor patching docutilsTakeshi KOMIYA2017-05-281-9/+0
| |
| * Fix #3788: Docutils emits warnings for unsupported languagesjfbu2017-05-271-0/+10
| | | | | | | | | | | | | | This monkey-patches docutils.languages.get_language() to suppress Docutils emitted warning when the document settings use a language_code for which Docutils has no ready-made localisation. The language_code is needed for functioning of the smartquotes transform.
* | Merge branch '1.6-release'Takeshi KOMIYA2017-05-131-5/+5
|\ \ | |/
| * Update messagesTakeshi KOMIYA2017-05-121-4/+4
| |
| * Fix invalid format stringTakeshi KOMIYA2017-05-111-1/+1
| |
* | Remove deprecated feature: deprecated APIsTakeshi KOMIYA2017-04-271-63/+4
| |
* | Remove deprecated feature: epub2 builderTakeshi KOMIYA2017-04-271-1/+0
|/
* Merge branch 'master' into add_sphinx_factoryTakeshi KOMIYA2017-04-231-0/+5
|\
| * Fix #3628: Rename sphinx_themes entry point to sphinx.html_themesTakeshi KOMIYA2017-04-221-0/+5
| |
* | Rename SphinxFactory class to SphinxComponentRegistryTakeshi KOMIYA2017-04-231-23/+23
| |
* | Move load_extension() to factoryTakeshi KOMIYA2017-04-221-2/+2
| |
* | Move translators to SphinxFactoryTakeshi KOMIYA2017-04-221-4/+3
| |
* | Move source_parsers manager to SphinxFactoryTakeshi KOMIYA2017-04-221-10/+4
| |
* | Move domain class manager to SphinxFactoryTakeshi KOMIYA2017-04-221-51/+27
| |
* | Move Sphinx._directive_helper() to sphinx.util.docutilsTakeshi KOMIYA2017-04-221-23/+15
| |
* | Add SphinxFactory class to simplify application classTakeshi KOMIYA2017-04-221-29/+11
|/
* Merge branch 'master' into support_remote_imagesTakeshi KOMIYA2017-04-221-9/+11
|\
| * Merge pull request #3505 from shibukawa/feature/refactoring_epub_builderYoshiki Shibukawa2017-04-211-1/+1
| |\ | | | | | | Refactoring EPUB builders: split common codes from EPUB2 builder
| | * Refactoring EPUB builders: split common codes from EPUB2 builderYoshiki Shibukawa2017-04-201-1/+1
| | |
| * | Fix mypy violationsTakeshi KOMIYA2017-04-211-1/+2
| | |
| * | Add HTMLThemeFactory classTakeshi KOMIYA2017-04-201-0/+1
| | |
| * | Add styleesheet classTakeshi KOMIYA2017-04-191-7/+7
| |/ | | | | | | | | To keep compatibility with old themes, an instance of stylesheet behaves as its filename (refs: #1767).
* | Add ImageDownloader transform to support remote images on some buildersTakeshi KOMIYA2017-04-191-0/+1
|/
* Merge pull request #1767 from Jellby/masterTakeshi KOMIYA2017-04-191-7/+10
|\ | | | | Allow setting 'rel' and 'title' attributes for stylesheets.
| * Rewrite and simplify stylesheet handlingJellby2017-04-151-13/+10
| | | | | | | | | | | | | | Thanks to tk0miya's comment, I learnt one can add stuff to template blocks, that allows a much simpler stylesheet configuration, considering that changes at the template level will be more... well, low-level. Hopefully this is now acceptable.
| * Merge remote-tracking branch 'upstream/master'Jellby2017-04-151-179/+107
| |\ | | | | | | | | | | | | Conflicts: tests/test_build_html.py
| * | againJellby2017-03-041-1/+1
| | |
| * | againJellby2017-03-041-1/+1
| | |
| * | againJellby2017-03-041-1/+1
| | |
| * | againJellby2017-03-041-1/+1
| | |
| * | Merge remote-tracking branch 'upstream/master'Jellby2017-03-041-229/+185
| |\ \ | | | | | | | | | | | | | | | | Conflicts: tests/test_build_html.py
| * \ \ Merge remote-tracking branch 'upstream/master'Jellby2016-12-061-44/+105
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sphinx/application.py sphinx/builders/html.py
| * \ \ \ Merge remote-tracking branch 'upstream/master'Jellby2016-09-291-42/+100
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/test_build_html.py