doc: add figure caption top margin

also rename Fig. to Figure and add colon between Figure and the text:

(Figure X : Something) instead of (Fig. X Something)

Still one space to many, but better than no colon or margin at all

fixes #121
This commit is contained in:
Laurens Valk
2019-03-01 16:51:46 +01:00
parent 4e9e26753a
commit 7165d69517
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -3,3 +3,9 @@ div.disclaimer {
font-size: 10px;
font-style: italic;
}
div.figure p.caption {
padding-top: 0.8em;
}
span.caption-number:after {
content: ": ";
}
+6
View File
@@ -97,6 +97,12 @@ todo_include_todos = True
# Figure numbering
numfig = True
numfig_format = {
'figure': 'Figure %s',
'table': 'Table %s',
'code-block': 'Listing %s',
'section': 'Section %s'
}
# -- Autodoc options ------------------------------------------------------