[docs] change to furo theme

This commit is contained in:
Tim Stack 2023-09-03 21:50:11 -07:00
parent 37eb9cfa36
commit 463853efd9
3 changed files with 4 additions and 33 deletions

View File

@ -1,3 +1,4 @@
furo
sphinx>=4.3.0
sphinx-copybutton
sphinx-jsonschema

View File

@ -22,36 +22,7 @@ table.query-results p {
font-size: 0.9em !important;
}
DL DT:target, :target > H2, :target > H3, span:target + H2, span:target + H3 {
border: 0 !important;
border-bottom: 1px solid #d3d381 !important;
background: #ffc !important;
/* padding: 1em !important;*/
}
DL DT {
border: 0 !important;
background: inherit !important;
border-bottom: 1px solid #c3c0ee !important;
/* display: block !important; */
}
kbd {
padding: 0.1em 0.6em;
border: 1px solid #ccc;
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
background-color: #f7f7f7;
color: #333;
-moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
-webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
display: inline-block;
margin: 0 0.1em 0.1em 0.1em;
text-shadow: 0 1px 0 #fff;
line-height: 1.4;
white-space: nowrap;
border-bottom: 1px solid #333 !important;
}

View File

@ -229,7 +229,6 @@ lexers['custsqlite'] = CustSqliteLexer(startinline=True)
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.coverage',
"sphinx_rtd_theme",
'sphinx_copybutton',
'sphinx-jsonschema',
'sphinx-prompt',
@ -299,7 +298,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'sphinx_rtd_theme'
html_theme = 'furo'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@ -312,7 +311,7 @@ html_theme_options = {
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
# html_title = None
html_title = f"lnav v{release}"
# A shorter title for the navigation bar. Default is the same as html_title.
# html_short_title = None