add support for todo

This commit is contained in:
Pliable Pixels 2019-10-24 13:56:56 -04:00
parent a30902e3d3
commit e1108bda0b
No known key found for this signature in database
GPG Key ID: 58DAFD814CE7A36F
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,11 @@
img { img {
border: 1px solid black !important; border: 1px solid black !important;
} }
.admonition-todo {
border-top: 2px solid red;
border-bottom: 2px solid red;
border-left: 2px solid red;
border-right: 2px solid red;
background-color: #ff6347 !important;
}

View File

@ -31,7 +31,7 @@ def setup(app):
# Add any Sphinx extension module names here, as strings. They can be # Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
extensions = [] extensions = ['sphinx.ext.todo']
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
@ -265,3 +265,6 @@ texinfo_documents = [
# If true, do not generate a @detailmenu in the "Top" node's menu. # If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False #texinfo_no_detailmenu = False
# Display todos by setting to True
todo_include_todos = True