Commit Graph

32 Commits

Author SHA1 Message Date
Stoiko Ivanov
0362f73fe9 run make update
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-06-09 16:31:01 +00:00
Dominik Csapak
4413eb7106 build api-viewer from proxmox-widget-toolkit-dev
build-depends on the new proxmox-widget-toolkit-dev package

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-06-09 16:31:01 +00:00
Thomas Lamprecht
d8212759ec update schema/static information
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-28 17:07:20 +02:00
Thomas Lamprecht
c5ccf1abe2 run make update
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-18 11:14:37 +01:00
Thomas Lamprecht
ab2b846bc1 run make update for static/schema definitions
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-18 19:18:29 +01:00
Thomas Lamprecht
549cfb68b7 update static/schema data
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-23 18:20:54 +02:00
Thomas Lamprecht
6bd70b953a update static
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-02-13 18:08:22 +01:00
Thomas Lamprecht
622d092d4b api-viewer: port over search, expand/collapse all & deeplink from PVE
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-02-13 18:06:30 +01:00
Thomas Lamprecht
ab3ca2634d api-viewer: whitespace, indentation and typo fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-02-13 17:53:57 +01:00
Thomas Lamprecht
d210277a60 update static schema/synopsis definitions
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-20 11:33:25 +01:00
Thomas Lamprecht
6a73cfb05a run make update for new schema and synopsis definition
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-08-23 12:13:17 +02:00
Stoiko Ivanov
8686c16175 change api-viewer title to PMG
noted while testing the use of our extjs-package instead of cloudflare cdn
(ddc224d888).

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-08-21 16:50:29 +02:00
Thomas Lamprecht
27173cd7e3 api-viewer: properly HTML encode properties
and fix missing closing </pre> tag

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-08-17 12:53:19 +02:00
Thomas Lamprecht
ddc224d888 api-viewer: use our extjs package instead of the cloudflare cdn
The loading of an external hosted ExtJS is from a time where we did
not have a extra ExtJS package as it still was in the pve-manager
one, which was not desired to be installed on a non-pmg machine.
Add a dependency on libjs-extjs and a link from api-viewer/extjs to
the installation directory of the ExtJS package, this allows to reuse
ExtJS on PMG node hosted docs and on the hosted docs from proxmox.com
at the same time.

Adapted from the Proxmox VE version[0] of this change.

[0]: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff;h=e56030c4d7c3bd0de1ebc109d528fb6b7bef05a3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-08-17 12:48:25 +02:00
Thomas Lamprecht
241ac83c45 run 'make update'
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-08-17 11:52:00 +02:00
Dietmar Maurer
445686c99d update apidata.js 2018-09-11 08:39:38 +02:00
Thomas Lamprecht
9d8cb5439a api-viewer: show full return info if available
if we have extended information available about what a API call
returns the show it.

Just stringify the items and/or properties object and put it in <pre>
tags.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-22 13:52:05 +01:00
Dietmar Maurer
f225b3b469 update generated docs 2018-03-22 12:02:45 +01:00
Dietmar Maurer
b81b1f9520 update generated docs 2018-01-31 14:02:21 +01:00
Dietmar Maurer
c061d61d0f update api schema 2018-01-18 10:47:09 +01:00
Dietmar Maurer
4a46ced610 update generated docs 2018-01-17 13:16:46 +01:00
Dietmar Maurer
274b47fc29 add mising -synopsis.adoc files 2018-01-02 13:27:12 +01:00
Thomas Lamprecht
1a268897fa api-viewer: adapt and add flex for parameter coolumns
Allow to use space better on higher resolutions.

Names, Defaults and Types can be read comfortably without the need of
resizing the colum width manually each time.

Cleanup trailing whithespace in the surrounding area.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-12-22 08:34:52 +01:00
Thomas Lamprecht
92a42334cd api-viewer: also show the 'default' schema column
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-12-22 08:34:25 +01:00
Dietmar Maurer
bb6e6e0d59 bump version to 5.0-6, update generated API schema 2017-11-14 08:18:38 +01:00
Dietmar Maurer
732d76e17a update generated API schema 2017-10-24 08:49:28 +02:00
Dietmar Maurer
9fda36b0a5 update generated docs 2017-09-26 13:18:46 +02:00
Dietmar Maurer
d7cd791b91 add pmgreport, update generated docs 2017-08-21 09:28:35 +02:00
Dietmar Maurer
a55e94a6f5 update generated docs 2017-04-03 15:26:03 +02:00
Dietmar Maurer
f245a28c2b update auto-generated docs 2017-03-08 16:53:40 +01:00
Dietmar Maurer
eff914dcf2 update api data 2017-02-28 08:09:08 +01:00
Dietmar Maurer
410dc2c9c4 Initial commit 2017-02-22 07:15:00 +01:00