Commit 6b23ecf6 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update views/plugin_dbui/documentations_lists to include all plugins (dbui, event, ...).

parent ec65da87
......@@ -111,51 +111,66 @@
rwrite(LI(a, _class="dbui-p"))
pass
}}
</ul>
<ul>
{{
#.....................................................................
#
# dbui reference manual (python)
#
a = A("plugin_dbui reference manual",
_href="https://marprod.in2p3.fr/plugin_dbui_book",
_target="_blank")
rwrite(LI(a, _class="dbui-p"))
if path_exists(path_html_api) or path_exists(path_html_jsduck):
rwrite(BR())
pass
#.....................................................................
#
# dbui python api
# home made plugin (dbui, event, ....)
#
path_dbui_api = plugin.dbui_html_api
if path_exists(path_dbui_api):
stdplgs = ["plugin_ace", "plugin_extjs", "plugin_mathjax"]
a = A("plugin_dbui Python API",
callback=URL("static", f(path_dbui_api)),
_target="_blank")
for el in os.listdir(os.path.join(apath, "static")):
if el.startswith("plugin") and el not in stdplgs:
rwrite(LI(a, _class="dbui-p"))
pass
#
# reference manual
#
path = "static/%s/docs/reference/index.html" % el
if path_exists(path):
#.....................................................................
#
# dbui JavaScript api
#
path_dbui_jsduck = plugin.dbui_html_jsduck
if path_exists(path_dbui_jsduck):
a = A("%s Reference Manual" % el,
callback=URL("static", f(path)),
_target="_blank")
a = A("plugin_dbui JavaScript API",
callback=URL("static", f(path_dbui_jsduck)),
_target="_blank")
rwrite(LI(a, _class="dbui-p"))
pass
rwrite(LI(a, _class="dbui-p"))
#
# python api
#
path = "static/%s/docs/api/index.html" % el
if path_exists(path):
a = A("%s Python API" % el,
callback=URL("static", f(path)),
_target="_blank")
rwrite(LI(a, _class="dbui-p"))
pass
#
# javaScript api
#
path = "static/%s/docs/jsduck/index.html" % el
if path_exists(path):
a = A("%s JavaScript API" % el,
callback=URL("static", f(path)),
_target="_blank")
rwrite(LI(a, _class="dbui-p"))
pass
#
# spacer
#
rwrite(BR())
pass
pass
}}
</ul>
<ul>
{{
#.....................................................................
#
# web2py reference manual (Python)
......@@ -185,10 +200,12 @@
_target="_blank")
rwrite(LI(a, _class="dbui-p"))
}}
</ul>
<ul>
{{
#
# spacer
#
rwrite(BR())
#.....................................................................
#
# Sphinx (Python)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment