summaryrefslogtreecommitdiff
path: root/sphinx/writers/html5.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Decl styling, move static classes to addnodes from HTML5 writerJakob Lykke Andersen2021-04-121-2/+2
|
* Decl styling, move desc dynamic classes to domain base classJakob Lykke Andersen2021-04-121-6/+8
|
* Decl styling, docs and restructuringJakob Lykke Andersen2021-04-121-6/+16
|
* Merge pull request #9053 from tk0miya/title_node_for_toctree_captionTakeshi KOMIYA2021-04-091-1/+6
|\ | | | | Fix #8870: Use title node for the caption of toctree
| * Fix #8870: Use title node for the caption of toctreeTakeshi KOMIYA2021-04-091-1/+6
| | | | | | | | | | Since docutils-0.17, the caption node should not use for the non-figure nodes. Therefore, this replaces it by the title node.
* | refactor: Use PEP-526 based variable annotation (sphinx.writers)Takeshi KOMIYA2021-03-131-3/+3
| |
* | Merge branch '3.x' into master_with_merged_3.xjfbu2021-02-021-0/+2
|\ \ | |/
| * Merge branch '3.x' into 8446_escape_spaces_inside_desc_signaturesTakeshi KOMIYA2021-02-011-20/+22
| |\
| * | 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-11/+13
|\ \ \ | |/ /
| * | Close #6550: html: Allow to use HTML permalink textsTakeshi KOMIYA2021-01-241-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+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-2/+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-3/+2
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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-10/+3
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-04-061-1/+4
|\ \ | |/
| * Fix html: a width of table was ignored on HTML builder (ref: #6564)Takeshi KOMIYA2020-03-291-1/+4
| |
* | 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
| | |
* | | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-1/+0
| | |
* | | Deprecate codes for docutils-0.13 or 0.14Takeshi KOMIYA2020-03-071-16/+17
| | |
* | | 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
|\ \ | |/ |/|
| * Fix #7112: html: SVG image is not layouted as float even if alignedTakeshi KOMIYA2020-02-091-6/+2
| |
* | 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-8/+15
|\ \ | |/
| * Merge branch '2.0' into 6632Takeshi KOMIYA2019-12-141-249/+128
| |\
| * | Fix mypy and flake8 violationsTakeshi KOMIYA2019-12-141-2/+2
| | |