summaryrefslogtreecommitdiff
path: root/sphinx/application.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge pull request #4594 from tk0miya/4564_rst_prolog_not_workingTakeshi KOMIYA2018-02-221-4/+16
| |\ \ | | | | | | | | Change interface of add_source_parser() and add add_source_suffix()
| | * | Change interface of add_source_parser() and add add_source_suffix()Takeshi KOMIYA2018-02-211-4/+16
| | | |
| * | | Merge pull request #4625 from tk0miya/add_app.phaseTakeshi KOMIYA2018-02-201-0/+3
| |\ \ \ | | |/ / | |/| | Add app.phase to let components know the current build phase
| | * | Add app.phase to let components know the current build phaseTakeshi KOMIYA2018-02-171-0/+3
| | | |
* | | | Add simple wrapper to register nodesTakeshi KOMIYA2018-02-211-4/+4
| | | |
* | | | Show deprecation warning in directive_helper()Takeshi KOMIYA2018-02-211-5/+4
| | | |
* | | | refactor: transplant node handlers for writer on instantiation of translatorTakeshi KOMIYA2018-02-201-35/+3
| | | | | | | | | | | | | | | | | | | | For now, node handlers are registered as class methods of translator classes. After this change, they are registered as instance method.
* | | | refactor: Store enumerable_nodes to registryTakeshi KOMIYA2018-02-201-11/+11
| | | |
* | | | refactor: Store latex packages to registryTakeshi KOMIYA2018-02-201-3/+1
|/ / /
* | | Merge branch '1.7'Takeshi KOMIYA2018-02-181-5/+5
|\ \ \ | |/ / |/| / | |/
| * Fix mypy violationsTakeshi KOMIYA2018-02-141-1/+1
| |
| * Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
| |
* | Fix indentationTakeshi KOMIYA2018-02-121-1/+1
| |
* | Fix #4596: TypeError: issubclass() arg 1 must be a classTakeshi KOMIYA2018-02-121-1/+2
| |
* | Fix condition for deprecation warningTakeshi KOMIYA2018-02-101-1/+1
| |
* | Merge branch '1.7-release'Takeshi KOMIYA2018-02-101-4/+9
|\ \ | |/
| * More translation-friendly messagescocoatomo2018-02-071-6/+9
| |
| * Make the log message more translation-friendlycocoatomo2018-02-071-2/+4
| |
* | Drop function based directive supportTakeshi KOMIYA2018-02-071-3/+8
| |
* | Deprecate: app.import_object()Takeshi KOMIYA2018-02-061-3/+9
| |
* | Refactor app._init_env() not to load env even if dump not foundTakeshi KOMIYA2018-02-061-7/+4
| |
* | Reimplement needs_extensions checker as a config-init handlerTakeshi KOMIYA2018-01-311-4/+1
| |
* | Merge branch '1.7-release'Takeshi KOMIYA2018-01-311-11/+10
|\ \ | |/
| * Use flake8-import-orderTakeshi KOMIYA2018-01-281-9/+8
| |
* | Merge branch 'master' into integrate_source_suffix_and_source_parsersTakeshi KOMIYA2018-01-311-2/+4
|\ \
| * \ Merge pull request #4486 from tk0miya/4460_env_version_of_extensionsTakeshi KOMIYA2018-01-281-0/+3
| |\ \ | | | | | | | | Close #4460: extensions should return the version of data structure as metadata
| | * | Close #4460: extensions should return the version of data structure as metadataTakeshi KOMIYA2018-01-251-0/+3
| | | |
| * | | Drop a hack for py31Takeshi KOMIYA2018-01-251-2/+1
| |/ /
* | | Integrate source_suffix and source_parsers (refs: #4474)Takeshi KOMIYA2018-01-251-8/+1
| | |
* | | :confval:`source_suffix` allows a mapping fileext to file typesTakeshi KOMIYA2018-01-251-1/+1
| | |
* | | Deprecate config value: source_parsersTakeshi KOMIYA2018-01-251-2/+1
|/ /
* | doc: Add 'deprecated' directive to docstringsStephen Finucane2018-01-211-7/+33
| | | | | | | | | | | | This helps emphasize the deprecated nature of these directives. Signed-off-by: Stephen Finucane <stephen@that.guru>
* | doc: Move 'sphinx.application' API docs to codeStephen Finucane2018-01-211-5/+416
| | | | | | | | | | | | This allows us to do something like 'help(sphinx.application)' in code. Signed-off-by: Stephen Finucane <stephen@that.guru>
* | Merge pull request #4465 from tk0miya/improve_configTakeshi KOMIYA2018-01-211-0/+2
|\ \ | | | | | | Improve config
| * | Emit config-inited just after config.init_values()Takeshi KOMIYA2018-01-211-1/+1
| | |
| * | refactor: move source_suffix migrator to event handlerTakeshi KOMIYA2018-01-201-0/+1
| | |
| * | Add config-inited eventTakeshi KOMIYA2018-01-201-0/+1
| |/
* | app: Centralize directory validationStephen Finucane2018-01-201-4/+20
|/ | | | | | | | | | This allows us to avoid duplication of code and ensure validation happens regardless of who's initializing the class. We introduce a new exception - ApplicationError - to indicate these kinds of issues. This subclasses SphinxError, meaning we don't need to modify our exception handling code. Signed-off-by: Stephen Finucane <stephen@that.guru>
* builders: Add 'Builder.epilog' optionStephen Finucane2018-01-111-0/+7
| | | | | | | | | | | | This allows builders to emit a final epilog message containing information such as where resulting files can be found. This is only emitted if the build was successful. This allows us to remove this content from the 'make_mode' tool and the legacy 'Makefile' and 'make.bat' templates. There's room for more dramatic simplification of the former, but this will come later. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Merge branch 'master' into refactor_autodocTakeshi KOMIYA2018-01-081-6/+6
|\
| * Merge branch 'master' into refactor_AutoDirectiveTakeshi KOMIYA2018-01-081-29/+40
| |\
| | * Fix creating build directory for unknown build targetMURAOKA Yusuke2018-01-071-4/+4
| | |
| * | autodoc: refactor AutoDirectiveTakeshi KOMIYA2017-12-171-1/+2
| | |
* | | Fix typoTakeshi KOMIYA2018-01-071-1/+1
| | |
* | | Deprecate AutoDirective._special_attrgettersTakeshi KOMIYA2018-01-011-5/+4
| | |
* | | Deprecate sphinx.ext.autodoc.add_documenter() and AutoDirective._registerTakeshi KOMIYA2018-01-011-3/+3
| |/ |/|
* | Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\ \
| * | A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| | |
* | | Add app.is_parallel_allowed()Takeshi KOMIYA2017-12-301-1/+29
| | |
* | | Merge branch 'master' into refactor_registryTakeshi KOMIYA2017-12-211-2/+2
|\ \ \