Commit 331db8cc authored by LysandreJik's avatar LysandreJik
Browse files

Added viewcode plugin for source code visualization within the static website.

parent 83fb311e
.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;
} }
\ No newline at end of file
...@@ -104,6 +104,18 @@ a { ...@@ -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 = [ ...@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment