mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #2990: linkcheck raises "Can't convert 'bytes' object to str implicitly" error if linkcheck_anchors enabled
This commit is contained in:
committed by
Takeshi KOMIYA
parent
4c7bec6460
commit
42604a1ff6
4
tests/roots/test-linkcheck/conf.py
Normal file
4
tests/roots/test-linkcheck/conf.py
Normal file
@@ -0,0 +1,4 @@
|
||||
master_doc = 'links'
|
||||
source_suffix = '.txt'
|
||||
exclude_patterns = ['_build']
|
||||
linkcheck_anchors = True
|
||||
4
tests/roots/test-linkcheck/links.txt
Normal file
4
tests/roots/test-linkcheck/links.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
This is from CPython documentation.
|
||||
|
||||
* Also, if there is a `default namespace <https://www.w3.org/TR/2006/REC-xml-names-20060816/#defaulting>`__, that full URI gets prepended to all of the non-prefixed tags.
|
||||
* The `SSMEDIAN <https://help.gnome.org/users/gnumeric/stable/gnumeric.html#gnumeric-function-SSMEDIAN>`_ function in the Gnome Gnumeric spreadsheet.
|
||||
Reference in New Issue
Block a user