summaryrefslogtreecommitdiff
path: root/sphinx/io.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch '1.7'Takeshi KOMIYA2018-03-181-3/+3
|\ \ | |/
| * Fix mypy violationsTakeshi KOMIYA2018-03-141-1/+1
| |
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Make console and warning messages translatableTakeshi KOMIYA2018-03-031-1/+2
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-02-181-3/+3
|\ \ | |/
| * Fix mypy violationsTakeshi KOMIYA2018-02-141-1/+1
| |
| * Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
| |
* | Merge branch '1.7-release'Takeshi KOMIYA2018-02-111-3/+4
|\ \ | |/
| * io: Choose FileInput using ``supported`` attribute (refs: #4564)Takeshi KOMIYA2018-02-101-3/+5
| |
* | Update type annotationsTakeshi KOMIYA2018-02-041-0/+2
| |
* | Merge branch '1.7-release'Takeshi KOMIYA2018-01-311-3/+3
|\ \ | |/
| * Use flake8-import-orderTakeshi KOMIYA2018-01-281-3/+3
| |
* | Fix mypy violationTakeshi KOMIYA2018-01-251-1/+1
| |
* | Move get_filetype() to sphinx.ioTakeshi KOMIYA2018-01-251-3/+18
| |
* | doc: Use :event: roleTakeshi KOMIYA2018-01-201-1/+1
|/
* Drop unused method; LoggingReporter.set_source()Takeshi KOMIYA2018-01-201-1/+0
|
* Process smart_quotes for translated text tooTakeshi KOMIYA2018-01-151-1/+1
|
* Remove duplicated transform entryTakeshi KOMIYA2018-01-151-3/+2
|
* Merge branch 'master' into refactor_smartquotes2Takeshi KOMIYA2018-01-151-2/+3
|\
| * add link to manpages in HTML builderAntoine Beaupré2018-01-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix mypy violationTakeshi KOMIYA2018-01-151-1/+1
| |
* | Make SphinxSmartQuotes more inteligentTakeshi KOMIYA2018-01-101-8/+1
| |
* | Allow SphinxTransform on read-phaseTakeshi KOMIYA2018-01-101-1/+14
|/
* Fix SphinxStandaloneReader.__init__() method has been duplicatedTakeshi KOMIYA2018-01-081-4/+1
|
* Merge branch 'stable'Takeshi KOMIYA2018-01-071-1/+11
|\
| * Move SphinxSmartQuotes transform to SphinxStandaloneReaderjfbu2018-01-051-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | Fix missing metainfo for sphinx.ioJakob Lykke Andersen2017-12-281-0/+6
| |
* | Fix mypy violationsTakeshi KOMIYA2017-12-151-1/+1
| |
* | Move Transform manager to registryTakeshi KOMIYA2017-12-141-2/+8
| |
* | Update docstringsTakeshi KOMIYA2017-12-141-6/+42
| |
* | Fix SphinxRSTFileInput should expand tabsTakeshi KOMIYA2017-12-131-3/+4
| |
* | Add test_io.pyTakeshi KOMIYA2017-12-121-8/+47
| |
* | Add LoggingReporter.from_reporter() constructorTakeshi KOMIYA2017-12-121-3/+1
| |
* | Refactor sphinx.io; separate FileInput class for each file typeTakeshi KOMIYA2017-12-121-13/+28
| |
* | refactor sphinx.io; SphinxFileInput can expect that app argument is always ↵Takeshi KOMIYA2017-12-121-4/+5
| | | | | | | | available
* | Refactor sphinx.io; dependent parser detection from SphinxFileInputTakeshi KOMIYA2017-12-121-10/+3
| |
* | Refactor sphinx.io; independ parser generation from reader classTakeshi KOMIYA2017-12-121-37/+4
| |
* | Fix mypy violationsTakeshi KOMIYA2017-11-111-1/+1
| |
* | Move env.warn_and_replace() to SphinxInput classTakeshi KOMIYA2017-10-311-0/+25
| |
* | Refactor parsing by docutilsTakeshi KOMIYA2017-10-311-1/+20
| |
* | Refactor publishmentTakeshi KOMIYA2017-10-311-0/+5
| |
* | remove unnecessary else clauses in for loopSrinivas Reddy Thatiparthy2017-08-191-2/+1
|/
* Add Sphinx own parser (refs: #3816)Takeshi KOMIYA2017-05-281-0/+3
|
* Rename SphinxFactory class to SphinxComponentRegistryTakeshi KOMIYA2017-04-231-1/+1
|
* Move source_parsers manager to SphinxFactoryTakeshi KOMIYA2017-04-221-3/+2
|
* Merge branch 'master' into 3558_emit_warnings_for_unreferenced_footnotesTakeshi KOMIYA2017-04-181-1/+1
|\
| * Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
| |\
| | * Year++Takeshi KOMIYA2017-03-261-1/+1
| | |