summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix our test failed with pygments-2.7.0Takeshi KOMIYA2020-09-131-1/+7
| | | | | Since pygments-2.7.0, it has changed the style of output HTML. That makes our test broken. This fixes it to pass with new pygments.
* test: Remove search link from test-rootTakeshi KOMIYA2020-07-181-1/+0
| | | | To make EPUB output valid, remove a search link from test-root.
* Close #7849: html: Add html_codeblock_linenos_styleTakeshi KOMIYA2020-07-111-0/+18
|
* Let option directive support args in the form of foo[=bar]Luke Lau2020-06-031-0/+2
| | | | | | | This slightly tweaks the regex so that command line flags of the form foo[=N] are properly split up. This is useful for any programs that can take `--foo` as a flag on its own as well as with an extra argument `--foo=12`.
* Rename fips_safe_md5 to md5Lars Hupfeldt2020-05-051-3/+3
|
* Introduce fips_safe_md5, see issue #7611Lars Hupfeldt2020-05-051-4/+3
|
* Fix #7301: capital characters are not allowed for node_idTakeshi KOMIYA2020-03-291-9/+9
|
* Fix #7301: Allow . and _ for node_idTakeshi KOMIYA2020-03-221-11/+11
| | | | | | | | | | | | In development of 3.0, Sphinx starts to obey to the rule of "Identifier Normalization" of docutils. This extends it to allow dots(".") and underscores("_") for node identifier. It allows Sphinx to generate node identifier from source string as possible as it is (bacause dots and underscores are usually used in many programming langauges). This change will keep not to break hyperlinks as possible.
* C, initial rewriteJakob Lykke Andersen2020-03-151-5/+5
|
* Merge pull request #7142 from septatrix/html-auxiliary-pygments-styleTakeshi KOMIYA2020-03-151-0/+5
|\ | | | | Add option for auxiliary pygments styles
| * Remove html_pygments_dark_style optionSeptatrix2020-03-141-13/+3
| |
| * Add tests for pygments_dark_style optionsSeptatrix2020-03-141-0/+15
| |
* | Merge pull request #6990 from tk0miya/function_signatureTakeshi KOMIYA2020-03-141-1/+2
|\ \ | | | | | | py domain: Allow to make a style for arguments of functions and methods
| * | py domain: Allow to make a style for arguments of functions and methods ↵Takeshi KOMIYA2020-03-141-1/+2
| |/ | | | | | | (refs: #6417)
* | c domain: Generate node_id for objects in the right wayTakeshi KOMIYA2020-03-091-5/+5
|/
* py domain: Generate node_id for objects in the right wayTakeshi KOMIYA2020-03-071-9/+9
|
* std domain: Generate node_id for productionlists in the right wayTakeshi KOMIYA2020-03-061-2/+2
|
* std domain: Generate node_id for generic objects in the right wayTakeshi KOMIYA2020-03-021-1/+1
|
* Stop to use Path.text()Takeshi KOMIYA2020-02-231-1/+1
|
* Merge branch '7144_styling_desc_by_domainname' into 3.xTakeshi KOMIYA2020-02-221-3/+3
|\
| * Close #7144: Add CSS class indicating its domain for each desc nodeTakeshi KOMIYA2020-02-161-3/+3
| |
* | Fix #3106: domain: Register hyperlink target for index page automaticallyTakeshi KOMIYA2020-02-221-1/+8
| |
* | Close #7032: html_scaled_image_link is disabled for individual imageTakeshi KOMIYA2020-02-181-0/+19
|/
* test: encoding="utf-8" is no longer needed on reading textTakeshi KOMIYA2020-02-011-9/+9
|
* test: Use read_text() and read_bytes()Takeshi KOMIYA2020-02-011-19/+19
|
* Fixes from reviewJakob Lykke Andersen2020-01-251-2/+2
|
* Implement scoping for productionlistJakob Lykke Andersen2020-01-221-2/+2
| | | | Fixes sphinx-doc/sphinx#3077
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Add IndexDomainTakeshi KOMIYA2019-12-221-1/+1
|
* Remove redundant type="text/javascript" from <script> elementsJon Dufresne2019-12-151-2/+2
| | | | | | | | | | | | | | | In HTML5, <script> elements default to MIME type text/javascript. The HTML5 living standard and MDN recommend against including the attribute. From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type > The HTML5 specification urges authors to omit the attribute rather > than provide a redundant MIME type. From https://html.spec.whatwg.org/#the-script-element > Authors should omit the type attribute instead of redundantly setting > it.
* refactor test: check_xpath()Takeshi KOMIYA2019-12-141-10/+7
|
* Remove meaningless spacesTakeshi KOMIYA2019-12-141-2/+1
|
* Fix annotationsYves Chevallier2019-08-081-31/+54
|
* Merge pull request #6449 from tk0miya/6444_non_existing_urlsTakeshi KOMIYA2019-06-191-5/+5
|\ | | | | Fix #6444: test: replace example.com by existing page
| * Fix #6444: test: replace example.com by existing pageTakeshi KOMIYA2019-06-051-5/+5
| |
* | Close #1464: html: warn html_static_path is inside outdirTakeshi KOMIYA2019-06-181-0/+27
|/
* Test that downloads with the same filename are still handled correctlyDmitry Shachnev2019-06-031-0/+7
|
* Make generated download links reproducibleDmitry Shachnev2019-06-031-1/+1
| | | | | | Without this change the hexdigest generated in DownloadFiles.add_file() depends on source_dir, while just the path fragment relative to it is sufficient.
* Add a label to search input for accessability purposes.Omer Katz2019-05-121-3/+3
|
* Fix #4550: html: Centering tables by default using CSSTakeshi KOMIYA2019-05-061-57/+57
|
* Fix AssertionError is raised for custom citation_reference node (refs: #6147)Takeshi KOMIYA2019-03-091-2/+2
| | | | | AssertionError is raised when custom ``citation_reference`` node having classes attribute refers missing citation (refs: #6147)
* Fix #6096: html: Anchor links are not added to figuresTakeshi KOMIYA2019-02-241-0/+9
|
* HTML builder outputs HTML5 by defaultTakeshi KOMIYA2019-02-111-137/+187
|
* Close #4550: All tables and figures without ``align`` option are displayed ↵Takeshi KOMIYA2019-02-081-60/+60
| | | | to center
* Merge pull request #5985 from tk0miya/refactor_test_build_htmlTakeshi KOMIYA2019-02-041-6/+2
|\ | | | | refactor: test_build_html.py
| * refactor: test_build_html.pyTakeshi KOMIYA2019-01-261-6/+2
| |
* | Merge branch '1.8'Takeshi KOMIYA2019-02-031-0/+9
|\ \ | |/ |/|
| * Separate testcase for html_style to single case from rootTakeshi KOMIYA2019-02-031-0/+9
| |
* | Separate jsmath to sphinxcontrib packageTakeshi KOMIYA2019-01-131-3/+3
| |
* | encoding keyword for path.text() and path.write_text() is no longer neededTakeshi KOMIYA2019-01-031-2/+2
| |