Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
9b561a7c
Commit
9b561a7c
authored
Dec 21, 2014
by
Damien George
Browse files
docs: Add custom CSS file, with code for admonition.
parent
4b60b45b
Changes
3
Hide whitespace changes
Inline
Side-by-side
docs/conf.py
View file @
9b561a7c
...
...
@@ -38,7 +38,7 @@ extensions = [
]
# Add any paths that contain templates here, relative to this directory.
#
templates_path = ['templates']
templates_path
=
[
'templates'
]
# The suffix of source filenames.
source_suffix
=
'.rst'
...
...
@@ -144,7 +144,7 @@ else:
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
#
html_static_path = ['static']
html_static_path
=
[
'static'
]
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
...
...
docs/static/customstyle.css
0 → 100644
View file @
9b561a7c
/* custom CSS for Micro Python docs
*/
.admonition-difference-to-cpython
{
border
:
1px
solid
black
;
}
.admonition-difference-to-cpython
.admonition-title
{
margin
:
4px
;
}
docs/templates/layout.html
0 → 100644
View file @
9b561a7c
{% extends "!layout.html" %}
{% set css_files = css_files + ["_static/customstyle.css"] %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment