summaryrefslogtreecommitdiff
path: root/sphinx/config.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+3
|\ \ | |/
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+3
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Make console and warning messages translatableTakeshi KOMIYA2018-03-031-14/+14
| |
* | Replace ``l_()`` by ``_()``Takeshi KOMIYA2018-02-251-7/+7
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-02-181-3/+2
|\ \ | |/
| * Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-3/+2
| |
* | Merge branch '1.7-release'Takeshi KOMIYA2018-01-311-2/+4
|\ \ | |/
| * Fix #4522: epub: document is not rebuilt even if config changedTakeshi KOMIYA2018-01-311-2/+4
| |
* | Merge branch '1.7-release'Takeshi KOMIYA2018-01-311-2/+2
|\ \ | |/
| * Use flake8-import-orderTakeshi KOMIYA2018-01-281-1/+1
| |
* | Merge branch 'master' into register_author_as_confvalTakeshi KOMIYA2018-01-311-5/+27
|\ \
| * | Fix all files are treated as reST if old styled source_suffix usedTakeshi KOMIYA2018-01-251-4/+7
| | |
| * | :confval:`source_suffix` allows a mapping fileext to file typesTakeshi KOMIYA2018-01-251-5/+24
| | |
* | | Add :confval:`author` as a configuration valueTakeshi KOMIYA2018-01-291-0/+1
|/ /
* | Merge pull request #4465 from tk0miya/improve_configTakeshi KOMIYA2018-01-211-4/+28
|\ \ | | | | | | Improve config
| * | Fix mypy violationsTakeshi KOMIYA2018-01-211-2/+2
| | |
| * | refactor: move source_suffix migrator to event handlerTakeshi KOMIYA2018-01-201-2/+19
| | |
| * | Add ``sphinx.config.Any`` to represent the config value accepts any type of ↵Takeshi KOMIYA2018-01-201-2/+9
| |/ | | | | | | values
* | doc: Move sphinx.config API docs to codeStephen Finucane2018-01-201-2/+9
|/ | | | | | | Once again, we make things a little smarter by using Python domain roles. Signed-off-by: Stephen Finucane <stephen@that.guru>
* add link to manpages in HTML builderAntoine Beaupré2018-01-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | It is useful to have the HTML documentation builder actually link to real rendered versions of HTML manpages in its output. That way people can click on manpages to get the full documentation. There are a few services offering this online, so we do not explicitly enable one by default, but the Debian manpages repository has a lot of the manpages pre-rendered, so it is used as an example in the documentation. The parsing work is done by a transformer class that parses manpage objects and extract name/section elements. Those then can be used by writers to cross-reference to actual sites. An implementation is done in the two HTML writers, but could also apply to ePUB/PDF writers as well in the future. This is not enabled by default: the `manpages_url` configuration item needs to be enabled to point to the chosen site. The `page`, `section` and `path` parameters are expanded through Python string formatting in the URL on output. Unit tests are fairly limited, but should cover most common use-cases.
* Merge branch 'stable'Takeshi KOMIYA2018-01-071-0/+5
|\
| * Move SphinxSmartQuotes transform to SphinxStandaloneReaderjfbu2018-01-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #4142 closes #4357 closes #4359 refs: #3967 Adds ``smartquotes``, ``smartquotes_action``, ``smartquotes_excludes`` configuration variables. - if ``smartquotes`` is set to False, then Smart Quotes transform is not applied even if a Docutils configuration file activates it, - the current default of ``smartquotes_excludes`` deactivates Smart Quotes for Japanese language, and also for the ``man`` and ``text`` builders. However, currently ``make text html`` deactivates Smart Quotes for ``html`` too, and ``make html text`` activates them for ``text`` too, because the picked environment is shared and already transformed. - now Smart Quotes get applied also when source documents are in Markdown or other formats.
* | Merge commit '4277eb13315d5649401190df86874b3832ddfa3e'Takeshi KOMIYA2018-01-071-0/+4
|\ \ | |/
| * Show traceback if conf.py raises an exception (refs: #4369)Takeshi KOMIYA2018-01-031-0/+4
| |
* | Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-12-161-1/+1
|\ \ | |/
| * Fix mypy violationsTakeshi KOMIYA2017-12-161-1/+1
| |
| * Revert "Add :confval:`smart_quotes` to disable smart quotes through ↵Takeshi KOMIYA2017-11-011-1/+0
| | | | | | | | | | | | ``conf.py`` (refs: #4142)" This reverts commit bfd39c12b272a494bcf2f6e7477076f5f6b00d2f.
| * Add :confval:`smart_quotes` to disable smart quotes through ``conf.py`` ↵Takeshi KOMIYA2017-10-271-0/+1
| | | | | | | | (refs: #4142)
* | sphinx.config.ENUM allows to validate items of lists or tuplesTakeshi KOMIYA2017-10-291-3/+6
|/
* Fix #3833: command line messages are translated unintentionallyTakeshi KOMIYA2017-06-251-8/+9
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-03-221-1/+1
|\ \ | |/
| * Fix docstringTakeshi KOMIYA2017-03-181-1/+1
| |
* | Initialize i18n module earlierTakeshi KOMIYA2017-03-091-10/+12
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-3/+3
| |
* | Reduce DeprecationWarnings for regexpTakeshi KOMIYA2017-02-171-1/+2
| |
* | Remove unused "type: ignore"Takeshi KOMIYA2017-02-061-4/+3
| |
* | Fix #3353: Fix NameErrorTakeshi KOMIYA2017-01-201-0/+3
| |
* | Fix mypy violationsTakeshi KOMIYA2017-01-191-5/+5
| |
* | Add __iter__(), add() and filter() to Config classTakeshi KOMIYA2017-01-171-1/+19
| |
* | Drop deprecated options for html builderTakeshi KOMIYA2017-01-051-4/+1
| |
* | Use loggersTakeshi KOMIYA2017-01-021-4/+4
| |
* | Use sphinx.util.logging instead app.warn()Takeshi KOMIYA2017-01-021-17/+20
| |
* | Merge branch '1.5-release'Takeshi KOMIYA2016-11-231-0/+3
|\ \ | |/
| * Revert "Add ``config-inited`` event"Takeshi KOMIYA2016-11-201-9/+0
| | | | | | | | This reverts commit 9569c6dbff8e9bb2cc032ec4bc7ebdd50c4b570e.
| * Merge pull request #3156 from tk0miya/3095_tls_cacertsTakeshi KOMIYA2016-11-201-0/+3
| |\ | | | | | | Fix #3095: Add tls_verify and tls_cacerts to support self-signed servers
| | * Fix #3095: Add tls_verify and tls_cacerts to support self-signed serversTakeshi KOMIYA2016-11-171-0/+3
| | |