mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
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:
@@ -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: ": ";
|
||||
}
|
||||
|
||||
@@ -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 ------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user