Completed
Push — master ( c693b1...07bd4f )
by P.R.
01:27
created

CaptionHtmlFormatter

Complexity

Total Complexity 0

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
c 1
b 0
f 0
dl 0
loc 4
ccs 1
cts 1
cp 1
1
"""
2
SDoc
3
4
Copyright 2016 Set Based IT Consultancy
5
6
Licence MIT
7
"""
8
# ---------------------------------------------------------------------------------------------------------------------
9 1
from sdoc.helper.Html import Html
0 ignored issues
show
Unused Code introduced by
Unused Html imported from sdoc.helper.Html
Loading history...
10 1
from sdoc.sdoc2.NodeStore import NodeStore
11 1
from sdoc.sdoc2.formatter.html.HtmlFormatter import HtmlFormatter
12
13
14 1
class CaptionHtmlFormatter(HtmlFormatter):
15
    """
16
    HtmlFormatter stub generating HTML code for captions.
17
    """
18
19
# ----------------------------------------------------------------------------------------------------------------------
20
NodeStore.register_formatter('caption', 'html', CaptionHtmlFormatter)
21