Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin_dbui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2pext
plugin_dbui
Commits
6b23ecf6
Commit
6b23ecf6
authored
8 years ago
by
LE GAC Renaud
Browse files
Options
Downloads
Patches
Plain Diff
Update views/plugin_dbui/documentations_lists to include all plugins (dbui, event, ...).
parent
ec65da87
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!36
Release 0.9.7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/plugin_dbui/documentations_list.html
+55
-38
55 additions, 38 deletions
views/plugin_dbui/documentations_list.html
with
55 additions
and
38 deletions
views/plugin_dbui/documentations_list.html
+
55
−
38
View file @
6b23ecf6
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment