summaryrefslogtreecommitdiff
path: root/docutils/test/functional/tests/footnotes_html5.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop default settings from individual functional test files.milde2022-11-161-32/+10
| | | | | | | | | Define common defaults for all functional tests in `test_functional.py`. Only specify settings that differ from the default/fallback value in the individual test files. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9249 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Inline ``_default`` in functional testsaa-turner2022-10-271-0/+14
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9180 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Inline ``_standalone_rst_defaults`` in functional testsaa-turner2022-10-271-3/+7
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9179 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add encoding arguments when opening files.milde2022-06-151-1/+2
| | | | | | | | | | | | | Specify intended incoding, when possible. Avoids `EncodingWarning` in PEP 597 and nasty surprises if the default encoding is not what the user expects. Keep encoding unspecified where this may be an API change. Based on patch by Adam Turner. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9072 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: add self-link after section headings (feature request #28).milde2021-07-051-0/+1
| | | | | | | | | | | | The "section_self_link" setting triggers this behaviour. As it is currently only implemented for HTML5, the setting is defined for this writer only. The self-link "invisible" by default. The provided stylesheet "responsive.css" gives an example how it can be made visible when hovering over the section heading. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8788 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: small tweaksmilde2021-07-051-1/+2
| | | | | | | | | | | | | Move space character between section number and heading into "sectnum" span. Simplify code in _html_base.py. responsive.css: highlight target of current URL, show an arrow when hovering over section heading to hint at the target of toc-backlinks. Test setting `--toc_backlinks=top` and the "responsive.css" stylesheet. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8787 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: ResourceWarning: unclosed file python3.8 (partial bug 377)grubert2019-08-201-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8327 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix tests after renaming html5 writer.milde2016-08-191-0/+14
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7970 929543f6-e4f2-0310-98a6-ba3bd3dd1d04