File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 3333 "sphinx.ext.intersphinx" ,
3434 "sphinx.ext.viewcode" ,
3535 "sphinx_inline_tabs" ,
36+ "hoverxref.extension" ,
3637]
38+
3739intersphinx_mapping = {
3840 "python" : ("https://docs.python.org/zh-cn/3" , None ),
3941 "requests" : ("https://docs.python-requests.org/zh_CN/latest" , None ),
4042 "PIL" : ("https://pillow.readthedocs.io/en/stable" , None ),
4143}
44+ hoverxref_auto_ref = True
45+ hoverxref_intersphinx = [
46+ "python" ,
47+ "requests" ,
48+ "PIL" ,
49+ ]
4250
4351# Add any paths that contain templates here, relative to this directory.
4452templates_path = ["_templates" ]
Original file line number Diff line number Diff line change 11furo
22sphinx
3+ sphinx-hoverxref
34sphinx-inline-tabs
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ long_description_content_type = text/markdown
99url = https://github.com/piterator-org/pyluogu
1010project_urls =
1111 Bug Tracker = https://github.com/piterator-org/pyluogu/issues
12+ Documentation = https://pyluogu.readthedocs.io/
1213classifiers =
1314 Programming Language :: Python :: 3
1415 License :: OSI Approved :: MIT License
Original file line number Diff line number Diff line change 1414 black
1515 flake8
1616commands =
17- flake8 src tests
18- black src tests
17+ flake8
18+ black --check .
1919
2020[testenv:docs]
2121allowlist_externals = make
You can’t perform that action at this time.
0 commit comments