summaryrefslogtreecommitdiff
path: root/tests/test_markup.py
Commit message (Collapse)AuthorAgeFilesLines
* Prefer ``@pytest.fixture()``Adam Turner2023-02-181-9/+9
|
* Fix COM812Adam Turner2023-02-181-4/+4
|
* Add test for multi-word key names (``kbd`` role) (#10765)John Gardner2022-12-301-0/+8
|
* Factor out HTML 4 translator (#11051)Adam Turner2022-12-301-7/+7
| | | Move the HTML 4 translator into a private module.
* Increase minimum Docutils to 0.17Adam Turner2022-09-271-3/+0
|
* Increase static typing strictness (#10530)Adam Turner2022-06-161-2/+1
|
* Use docutils.__version_info__ directlyAdam Turner2022-04-221-1/+2
|
* Catch `DeprecationWarning` for `docutils.frontend.OptionParser`Adam Turner2022-04-221-3/+8
|
* Include trailing / in PEP URL to avoid 301 redirectHugo van Kemenade2022-03-241-4/+4
|
* test: Fix test_markup does not use default settings for docutilsTakeshi KOMIYA2022-03-191-21/+20
|
* environment: Update default value for pep_base_urlMichal Čihař2022-03-161-4/+4
| | | | | | This matches docutils change in https://sourceforge.net/p/docutils/code/9045/ Fixes #10253
* 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
|
* The latest docutils converts :pep: role to the "https" URL (again)Takeshi KOMIYA2022-02-131-7/+8
| | | | docutils-0.19 (unreleased) generates "https" URL from :pep: role.
* The latest docutils converts :pep: role to the "https" URLTakeshi KOMIYA2022-02-061-6/+7
| | | | docutils-0.19 (unreleased) generates "https" URL from :pep: role.
* test: Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-031-1/+1
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Update RFC base urlMatt Ficke2021-11-161-5/+5
| | | | | | | | | 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/
* Fix suppression of needed whiteline, encapsulate into \sphinxAtStartParjfbu2021-01-291-21/+21
| | | | Define it to do nothing with lualatex engine
* Fix #8780: long words in narrow columns may not be hyphenatedjfbu2021-01-291-21/+33
| | | | This is done by adding '\hskip0pt\relax\n' whenever a paragraph starts.
* Close #1638: html: Add permalink icons to glossary termsTakeshi KOMIYA2021-01-241-2/+6
|
* Fix #8714: html: kbd role with "Caps Lock" rendered incorrectlyTakeshi KOMIYA2021-01-221-0/+7
| | | | | `:kbd:` role has to support keys in consist of multiple words (ex. caps lock, num lock, etc.)
* Merge branch '3.4.x' into 3.xTakeshi 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
* | Fix test: missing compound class for kbd tagTakeshi KOMIYA2020-12-311-1/+1
| |
* | Merge pull request #8620 from tk0miya/8619_compound_kbdTakeshi KOMIYA2020-12-311-2/+2
|\ \ | | | | | | Close #8619: html: kbd role generates customizable HTML tags for compound keys
| * | Close #8619: html: kbd role generates customizable HTML tags for compound keysTakeshi KOMIYA2020-12-301-2/+2
| |/
* | Fix #8618: html: incorrect HTML for single compound-kdb separatorsTakeshi KOMIYA2020-12-301-0/+18
|/
* refactor: Fix flake8 violations under tests/ directoryTakeshi KOMIYA2020-11-151-1/+0
|
* Sort imports with isortFrançois Freitag2020-11-111-5/+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.
* Fix #7610: incorrectly renders consecutive backslashesTakeshi KOMIYA2020-05-071-2/+18
|
* Merge pull request #7605 from tk0miya/refactor_testsTakeshi KOMIYA2020-05-041-1/+3
|\ | | | | Refactor tests
| * refactor: Pass a theme instance to LaTeXTranslatorTakeshi KOMIYA2020-05-031-1/+3
| |
* | Close #7530: html: Support nested <kbd> elementsTakeshi KOMIYA2020-05-021-0/+28
|/
* Add LaTeX styling hook for :kbd: roleJesse Tan2020-01-091-0/+7
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* LaTeX: avoid quotes and TeX ligature replacements in PDF outputjfbu2019-12-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refs: #6890 The comma character is not TeX-escaped because it is frequent in general text and escaping it would make the LaTeX output larger for only dealing with the problem of the LaTeX-ligature of ,, into a single character. And one there is problem with the commas in options to Verbatim from PygmentsBridge. The hyphen character is escaped (not in ids and URIs!) to \sphinxhyphen{} for both Unicode and non-Unicode engines. This is needed to work around hyperref transforming -- and --- from section titles into EN DASH resp. EM DASH in PDF bookmarks. https://github.com/latex3/hyperref/issues/112 Note to expert LaTeX users: if Sphinx latex user with xelatex has - turned off Smart Quotes for some reason, - but does want TeX ligatures and thus overrode Sphinx latex_elements['fontenc'] default (since #6888) to this effect, then this should be added to LaTeX preamble: \def\sphinxhyphen#1{-}% (\protected is now not needed) \let\sphinxhyphenforbookmarks\sphinxhyphen
* Fix #6738: latex: literal_block does not support raw unicode charactersTakeshi KOMIYA2019-11-161-0/+18
|
* Fix #6444: test: replace example.com by existing pageTakeshi KOMIYA2019-06-051-2/+2
|
* test: Use get_doctree() to load doctree filesTakeshi KOMIYA2019-02-171-10/+9
|
* Add testcase for XRefRole classTakeshi KOMIYA2019-02-161-4/+63
|
* Add testcase for download roleTakeshi KOMIYA2019-02-161-0/+20
|
* Replace :file: and :samp: roles by class based implementationTakeshi KOMIYA2019-02-161-18/+30
|
* Replace :guilabel: and :menuselection: roles by class based implementationTakeshi KOMIYA2019-02-161-0/+7
|
* Fix :pep: and :rfc: roles are brokenTakeshi KOMIYA2019-02-161-0/+44
|
* Fix #5906: LaTeX Builder is not initialized correctly on test_markupTakeshi KOMIYA2019-01-081-2/+1
|
* refactor: Move \figurename to sphinxmessage.styTakeshi KOMIYA2019-01-041-0/+1
|