summaryrefslogtreecommitdiff
path: root/sphinx/writers/html5.py
Commit message (Collapse)AuthorAgeFilesLines
...
* add link to manpages in HTML builderAntoine Beaupré2018-01-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | 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 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | Closes #3160: Use <kbd> tag for :kbd: role in html writersDavid Lechner2017-10-301-5/+12
|/
* Remove bulk_text_processors methods, they are no longer neededDmitry Shachnev2017-04-251-6/+0
|
* Remove the custom smartypants codeDmitry Shachnev2017-04-251-94/+0
| | | | | | | | | | Instead rely on docutils’ ‘smart_quotes’ option which is available since docutils 0.10. This adds support for internationalization: our code supported only English quotes, while docutils code supports 27 different languages. Closes #498, #580, #3345, #3472.
* Also change depart_admonition calls for html5 builderTravis A. Everett2017-03-041-7/+7
|
* fix #1733: fix span tags for ids is in table tag (for html5 validation)Yoshiki Shibukawa2017-03-031-22/+16
|
* Add experimental HTML5 writerYoshiki Shibukawa2017-03-021-0/+929