Skip to content

Commit

Permalink
Add tooltips to documentation cross-references
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallaecio committed Nov 21, 2019
1 parent 332b7e8 commit d0e72d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'hoverxref.extension',
'notfound.extension',
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
Expand Down Expand Up @@ -288,7 +289,7 @@
}


# --- Nitpicking options ------------------------------------------------------
# -- Nitpicking options -------------------------------------------------------

nitpicky = True
nitpick_ignore = [
Expand All @@ -297,3 +298,8 @@
('py:class', 'cssselect.xpath.XPathExpr'),
('py:class', 'lxml.etree.XMLParser'),
]


# -- sphinx-hoverxref options -------------------------------------------------

hoverxref_auto_ref = True
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx
sphinx-hoverxref
sphinx-notfound-page
sphinx_rtd_theme

0 comments on commit d0e72d9

Please sign in to comment.