Merge pull request #4503 from Gallaecio/hoverxref-configuration

Fix the hoverxref configuration
This commit is contained in:
Mikhail Korobov 2020-04-16 18:19:46 +05:00 committed by GitHub
commit fe7043a648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -295,8 +295,6 @@ intersphinx_mapping = {
# ------------------------------------
hoverxref_auto_ref = True
hoverxref_project = "scrapy"
hoverxref_version = release
hoverxref_role_types = {
"class": "tooltip",
"confval": "tooltip",

View File

@ -74,11 +74,15 @@ deps =
changedir = docs
deps =
-rdocs/requirements.txt
setenv =
READTHEDOCS_PROJECT=scrapy
READTHEDOCS_VERSION=master
[testenv:docs]
basepython = python3
changedir = {[docs]changedir}
deps = {[docs]deps}
setenv = {[docs]setenv}
commands =
sphinx-build -W -b html . {envtmpdir}/html
@ -86,6 +90,7 @@ commands =
basepython = python3
changedir = {[docs]changedir}
deps = {[docs]deps}
setenv = {[docs]setenv}
commands =
sphinx-build -b coverage . {envtmpdir}/coverage
@ -93,6 +98,7 @@ commands =
basepython = python3
changedir = {[docs]changedir}
deps = {[docs]deps}
setenv = {[docs]setenv}
commands =
sphinx-build -W -b linkcheck . {envtmpdir}/linkcheck