summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Collapse single line docstringsAdam Turner2022-02-201-2/+1
| | |
| * | Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
| | |
| * | Fix module docstring indentationAdam Turner2022-02-201-2/+2
| | |
| * | Fix module docstring first lineAdam Turner2022-02-201-2/+1
| | |
| * | Remove module titles in docstringsAdam Turner2022-02-191-3/+0
| |/
* | Merge branch '4.x'Takeshi KOMIYA2022-02-191-10/+55
|\ \ | |/
| * test: Follow the new HTML structure of docutils-0.18Takeshi KOMIYA2022-01-131-10/+55
| | | | | | | | | | Since docutils-0.18, the HTML structure for citations and footnotes has been changed. This modifies our testcase to follow the new HTML structure.
* | Merge branch '4.x'Takeshi KOMIYA2022-01-161-1/+1
|\ \ | |/
| * use 'callable' to check if object is callable (B004)Daniel Eades2022-01-101-1/+1
| |
* | Change "Permalink to this {headline -> heading}"Pradyun Gedam2022-01-021-1/+1
|/ | | | | "heading" is a better word to use in this tooltip, since it better matches the use case.
* Merge branch '4.3.x' into 4.xTakeshi KOMIYA2022-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2022-01-011-1/+1
| |
* | Close #10013: html: Allow to change the loading method of JavaScriptTakeshi KOMIYA2021-12-251-0/+14
|/
* Update RFC base urlMatt Ficke2021-11-161-2/+2
| | | | | | | | | The tools.ietf.org subdomain is being wound down and services are moving to datatracker.ietf.org. Links to RFC documents using the old subdomain are being redirected to datatracker; this updates the configured `rfc_base_url` to point to the current subdomain. Discussion: https://mailarchive.ietf.org/arch/msg/ietf/0n-6EXEmkTp3Uv_vj-5Vnm3o0bo/
* Replace distutils.versions.LooseVersion by packaging.version.VersionTakeshi KOMIYA2021-11-071-5/+6
| | | | | | | Distutils module are now deprecated and will be removed in Python 3.12. This replaces it by packaging module and reduces the dependency to it. refs: #9820
* Add test for encoding local file links with special charactersJohannes Aalto2021-09-241-0/+6
| | | | | | | | | | | | | Add test to make sure Sphinx uses proper URL encoding for special characters in file names. Use test_html_download() since it test_html5_output() doesn't quite seem to have easy pattern to verify the contents of href attribute. Issue #3097 Signed-off-by: Johannes Aalto <ext-johannes.aalto@vaisala.com>
* Fix handling of local paths in html_logo/html_favicon directorives in conf.pySimon Hausmann2021-07-131-0/+9
| | | | | | | | Merge request #9381 broke support for local logos/favicons as it retained the paths that are passed to the template engine. That's wrong as the actual path will be in _static/. This should fix #9438
* Merge pull request #9225 from doerwalter/typehint-htmlTakeshi KOMIYA2021-07-111-0/+8
|\ | | | | Add HTML markup to method/function return typehint
| * Remove configuration option html_signaturereturn_icon.Walter Doerwald2021-06-141-10/+1
| |
| * Add tests for html_signaturereturn_icon.Walter Doerwald2021-05-221-0/+17
| |
* | Add unit test for remote logo and fav iconSimon Hausmann2021-06-281-0/+10
|/
* Decl styling, fix html testJakob Lykke Andersen2021-04-121-4/+4
|
* Fix CI: NameError for missing docutils variable in test_build_htmlTakeshi KOMIYA2021-04-041-1/+1
|
* Merge branch '3.x'Takeshi KOMIYA2021-04-041-117/+71
|\
| * test: Update testcase for docutils-0.17 (<figure> and <figcaption>)Takeshi KOMIYA2021-04-031-117/+71
| | | | | | | | | | | | Since v0.17, docutils starts to use <figure> and <figcaption> for figure and its caption on HTML output. This modifies the expected value of our testcases to support it.
* | Merge branch '3.x'Takeshi KOMIYA2021-02-171-1/+8
|\ \ | |/
| * Adapt our tests to Pygments 2.8.0jfbu2021-02-141-1/+8
| |
* | Merge branch '3.x' into master_with_merged_3.xjfbu2021-02-021-4/+6
|\ \ | |/
| * Merge branch '3.x' into 8446_escape_spaces_inside_desc_signaturesTakeshi KOMIYA2021-02-011-5/+89
| |\
| * | Fix #8446: html: consecutive spaces are displayed as single spaceTakeshi KOMIYA2020-11-221-4/+6
| | | | | | | | | | | | | | | | | | 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/+1
|\ \ \ | | |/ | |/|
| * | Close #1638: html: Add permalink icons to glossary termsTakeshi KOMIYA2021-01-241-0/+1
| | |
* | | Merge branch '3.x'Takeshi KOMIYA2021-01-241-0/+20
|\ \ \ | |/ /
| * | Close #6550: html: Allow to use HTML permalink textsTakeshi KOMIYA2021-01-241-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 branch '3.x'Takeshi KOMIYA2021-01-161-0/+34
|\ \ \ | |/ /
| * | Close #207: Now highlight_language supports multiple languagesTakeshi KOMIYA2021-01-111-0/+34
| | | | | | | | | | | | | | | | | | 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.
* | | Merge branch '3.x'Takeshi KOMIYA2021-01-081-4/+4
|\ \ \ | |/ /
| * | doc: Add explanation for the priority attribute of html_*_filesTakeshi KOMIYA2021-01-031-4/+4
| | |
* | | refactor: Move CSS tags in basic/layout.html to ``css_files`` variableTakeshi KOMIYA2021-01-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make CSS customizable, all CSS files in basic/layout.html has their priority: 200. Therefore, extensions and users can insert their own custom CSS files before or just after them. As a side effect, the CSS tags in basic/layout.html are removed. These CSS files will be rendered via `css_files` template variable. refs: #8634, c5f03980107e123210fb602f4c31f5ae950e2af4
* | | Merge branch '3.x'Takeshi KOMIYA2021-01-031-0/+29
|\ \ \ | |/ /
| * | Close #8634: html: Allow to change the order of JS/CSSTakeshi KOMIYA2021-01-021-0/+29
| | | | | | | | | | | | | | | `Sphinx.add_js_file()` and `Sphinx.add_css_file()` take `priority` argument to change the order of JS/CSS files.
* | | 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-12-141-4/+4
|\ \ \ | |/ /
| * | Fix #8360: Update warning message for numrefTakeshi KOMIYA2020-11-231-4/+4
| |/
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-2/+1
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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' into masterTakeshi KOMIYA2020-10-281-1/+1
|\ \ | |/
| * refactor: Remove rst_epilog from test-root/conf.pyTakeshi KOMIYA2020-10-061-1/+1
| | | | | | | | | | | | | | | | | | I found test-root defines rst_epilog in its conf.py. It causes side-effects to many test cases in Sphinx's testing because test-root is widely used. This removes the configuration from test-root not to cause side-effects to our testings. Note: We already have test cases for rst_epilog in test_util_rst.
* | Merge branch '3.x' into masterTakeshi KOMIYA2020-10-031-0/+5
|\ \ | |/