nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/html: bootstrap use optional annotation
[nit.git]
/
src
/
doc
/
html_templates
/
html_templates.nit
diff --git
a/src/doc/html_templates/html_templates.nit
b/src/doc/html_templates/html_templates.nit
index
a7a5b9a
..
9f8390e
100644
(file)
--- a/
src/doc/html_templates/html_templates.nit
+++ b/
src/doc/html_templates/html_templates.nit
@@
-334,6
+334,8
@@
end
redef class DocSection
super BSComponent
redef class DocSection
super BSComponent
+ redef fun css_classes do return new Array[String]
+
redef fun rendering do
if is_hidden then
addn "<a id=\"{html_id}\"></a>"
redef fun rendering do
if is_hidden then
addn "<a id=\"{html_id}\"></a>"
@@
-349,6
+351,8
@@
end
redef class DocArticle
super BSComponent
redef class DocArticle
super BSComponent
+ redef fun css_classes do return new Array[String]
+
redef fun rendering do
if is_hidden then return
addn "<article{render_css_classes} id=\"{html_id}\">"
redef fun rendering do
if is_hidden then return
addn "<article{render_css_classes} id=\"{html_id}\">"