Added viewcode plugin for source code visualization within the static website.
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
.highlight .c1{
|
.highlight .c1, .highlight .sd{
|
||||||
color: #999
|
color: #999
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight .nn, .highlight .k, .highlight .s1, .highlight .nb, .highlight .bp {
|
.highlight .nn, .highlight .k, .highlight .s1, .highlight .nb, .highlight .bp, .highlight .kc {
|
||||||
color: #FB8D68;
|
color: #FB8D68;
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight .kn, .highlight .nv, .highlight .s2 {
|
.highlight .kn, .highlight .nv, .highlight .s2, .highlight .ow {
|
||||||
color: #6670FF;
|
color: #6670FF;
|
||||||
}
|
}
|
||||||
@@ -104,6 +104,18 @@ a {
|
|||||||
background-color: #6670FF;
|
background-color: #6670FF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Source spans */
|
||||||
|
.rst-content .viewcode-link, .rst-content .viewcode-back{
|
||||||
|
color: #6670FF;
|
||||||
|
font-size: 110%;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* FONTS */
|
/* FONTS */
|
||||||
body{
|
body{
|
||||||
font-family: Calibre;
|
font-family: Calibre;
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ extensions = [
|
|||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
'sphinx.ext.coverage',
|
'sphinx.ext.coverage',
|
||||||
'sphinx.ext.napoleon',
|
'sphinx.ext.napoleon',
|
||||||
'recommonmark'
|
'recommonmark',
|
||||||
|
'sphinx.ext.viewcode'
|
||||||
]
|
]
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
|
|||||||
Reference in New Issue
Block a user