docs: add Toolkit.js to prune simulator
from proxmox-widget-toolkit-dev and not as normal dependency, else we would have to ship widget-toolkit on the wiki Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
62f10a01db
commit
442d6da8fb
|
@ -96,6 +96,7 @@ Build-Depends: debhelper (>= 12),
|
|||
graphviz <!nodoc>,
|
||||
latexmk <!nodoc>,
|
||||
patchelf,
|
||||
proxmox-widget-toolkit-dev <!nodoc>,
|
||||
pve-eslint (>= 7.18.0-1),
|
||||
python3-docutils,
|
||||
python3-pygments,
|
||||
|
|
|
@ -17,6 +17,7 @@ build_depends = [
|
|||
"graphviz <!nodoc>",
|
||||
"latexmk <!nodoc>",
|
||||
"patchelf",
|
||||
"proxmox-widget-toolkit-dev <!nodoc>",
|
||||
"pve-eslint (>= 7.18.0-1)",
|
||||
"python3-docutils",
|
||||
"python3-pygments",
|
||||
|
|
|
@ -46,6 +46,10 @@ PRUNE_SIMULATOR_FILES := \
|
|||
prune-simulator/clear-trigger.png \
|
||||
prune-simulator/prune-simulator.js
|
||||
|
||||
PRUNE_SIMULATOR_JS_SOURCE := \
|
||||
/usr/share/javascript/proxmox-widget-toolkit-dev/Toolkit.js \
|
||||
prune-simulator/prune-simulator_source.js
|
||||
|
||||
LTO_BARCODE_FILES := \
|
||||
lto-barcode/index.html \
|
||||
lto-barcode/code39.js \
|
||||
|
@ -199,6 +203,10 @@ api-viewer/apidata.js: ${COMPILEDIR}/docgen
|
|||
api-viewer/apidoc.js: api-viewer/apidata.js api-viewer/PBSAPI.js
|
||||
cat api-viewer/apidata.js api-viewer/PBSAPI.js >$@
|
||||
|
||||
prune-simulator/prune-simulator.js: ${PRUNE_SIMULATOR_JS_SOURCE}
|
||||
cat ${PRUNE_SIMULATOR_JS_SOURCE} >$@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
.PHONY: html
|
||||
html: ${GENERATED_SYNOPSIS} images/proxmox-logo.svg custom.css conf.py ${PRUNE_SIMULATOR_FILES} ${LTO_BARCODE_FILES} ${API_VIEWER_SOURCES}
|
||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// FIXME: HACK! Makes scrolling in number spinner work again. fixed in ExtJS >= 6.1
|
||||
if (Ext.isFirefox) {
|
||||
Ext.$eventNameMap.DOMMouseScroll = 'DOMMouseScroll';
|
||||
}
|
||||
// for Toolkit.js
|
||||
function gettxt(val) { return val; };
|
||||
|
||||
Ext.onReady(function() {
|
||||
const NOW = new Date();
|
Loading…
Reference in New Issue