summaryrefslogtreecommitdiff
path: root/sphinx/writers/html.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix #8446: html: consecutive spaces are displayed as single spaceTakeshi KOMIYA2020-11-221-0/+2
| | | | | | | | | | | | | | | | | | In HTML, consecutive spaces are considered as single space by HTML browsers. To represent them as is, we have to escape them on rendering them into HTML. This starts to escape the whole of desc_signature node.
* | | Merge branch '3.x'Takeshi KOMIYA2021-01-281-0/+4
|\ \ \ | | |/ | |/|
| * | Close #1638: html: Add permalink icons to glossary termsTakeshi KOMIYA2021-01-241-0/+4
| | |
* | | Merge branch '3.x'Takeshi KOMIYA2021-01-241-9/+13
|\ \ \ | |/ /
| * | Close #6550: html: Allow to use HTML permalink textsTakeshi KOMIYA2021-01-241-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new configuration variables: `html_permalinks` and `html_permalinks_icon`. This refines the settings around HTML permalinks. * html_add_permalinks * Deprecated. * html_permalinks * Enable or disable permalinks feature. * html_permalinks_icon * Change the icon for permalinks
* | | Merge pull request #8690 from tk0miya/4550_align_defaultTakeshi KOMIYA2021-01-181-0/+11
|\ \ \ | | | | | | | | Fix #4550: The align attribute of figure nodes becomes None by default
| * | | Fix #4550: The align attribute of figure nodes becomes None by defaultTakeshi KOMIYA2021-01-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | To keep compatibility with the standard doctree model of docutils, this stops to use 'default' value as a default value of the align attribute for figure and table nodes.
* | | | Merge branch '3.x'Takeshi KOMIYA2021-01-161-8/+4
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Close #207: Now highlight_language supports multiple languagesTakeshi KOMIYA2021-01-111-5/+1
| | | | | | | | | | | | | | | | | | This changes the structure of `highlight_options` to a dictionary that maps language names to option dictionary. It allows to setting pygments options for multiple languages at once.
| * | Fix #8671: highlight_options is not workingTakeshi KOMIYA2021-01-111-1/+1
| | | | | | | | | | | | | | | | | | Sadly HTML and LaTeX writers compares the highlight languages using `is` operator. As a result, it has not worked even if languages are same. This replaces the comparison operator by `==`.
| * | refactor: Access config object from self directly in writersTakeshi KOMIYA2021-01-101-5/+5
| | |
* | | Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\ \ \ | |/ /
| * | A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| |/ | | | | | | | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-4/+4
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
* | Merge branch '3.x'Takeshi KOMIYA2020-08-141-1/+1
|\ \ | |/
| * Use node as locationYves Chevallier2020-08-121-1/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-07-111-0/+3
|\ \ | |/
| * Close #7849: html: Add html_codeblock_linenos_styleTakeshi KOMIYA2020-07-111-0/+3
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-11/+2
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-03-231-3/+16
|\ \ | |/
| * Fix #7357: html: Resizing SVG image fails with ValueErrorTakeshi KOMIYA2020-03-221-3/+16
| |
| * Merge branch 'drop_desc_signature_first' into 3.xTakeshi KOMIYA2020-02-221-4/+0
| |\
* | | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-3/+2
| | |
* | | Merge pull request #7117 from tk0miya/drop_desc_signature_firstTakeshi KOMIYA2020-02-221-4/+0
|\ \ \ | |/ / |/| / | |/ Deprecate desc_signature['first']
| * Deprecate desc_signature['first']Takeshi KOMIYA2020-02-091-4/+0
| |
* | Merge branch '2.0'Takeshi KOMIYA2020-02-091-6/+2
|\ \ | |/ |/|
| * fixTakeshi KOMIYA2020-02-091-6/+2
| |
| * Fix #7112: html: SVG image is not layouted as float even if alignedTakeshi KOMIYA2020-02-091-1/+1
| |
* | Merge branch '2.0'Takeshi KOMIYA2020-01-081-14/+21
|\ \ | |/
| * Fix #6696: html: scale option of image/figure directive not working for SVGTakeshi KOMIYA2020-01-031-14/+21
| | | | | | | | Note: imagesize-1.2.0 or above is required
* | Merge branch '2.0'Takeshi KOMIYA2020-01-011-3/+3
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
| * mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-2/+2
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-221-1/+1
|\ \ | |/
| * Replace `a and b or c` by the more legible `b if a or c`.Antony Lee2019-12-211-1/+1
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-161-7/+13
|\ \ | |/
| * Fix mypy violationTakeshi KOMIYA2019-12-141-0/+2
| |
| * Merge branch '2.0' into 6632Takeshi KOMIYA2019-12-141-263/+135
| |\
| * | html4: Wrap <span> around sectnum in HTML titlesTakeshi KOMIYA2019-12-141-8/+13
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-11-301-253/+130
|\ \ \ | | |/ | |/|
| * | Migrate to py3 style type annotation: sphinx.writers.htmlTakeshi KOMIYA2019-11-261-261/+134
| |/
* | Merge commit '54d5fcfaebc3364044761d30c0fed6bd4d3052c3'Takeshi KOMIYA2019-06-021-1/+1
|\ \ | |/
| * Add :force: option to code directivesTakeshi KOMIYA2019-06-011-1/+1
| |
* | Drop features and APIs deprecated in 1.8Takeshi KOMIYA2019-03-301-32/+1
|/
* Fix #6096: html: Anchor links are not added to figuresTakeshi KOMIYA2019-02-241-3/+1
|
* Fix HTML: Invalid HTML5 file is generated for glossary (refs: #4611)Takeshi KOMIYA2019-01-031-0/+42
| | | | | Note: It was caused by a glossary having multiple terms for one description.
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Replace escape sequence '\u00B6' with literal '¶'Jon Dufresne2018-12-201-1/+1
| | | | | | | | More obvious to the reader.