diff --git a/debian/proxmox-backup-docs.links b/debian/proxmox-backup-docs.links index 6837733b..719dd555 100644 --- a/debian/proxmox-backup-docs.links +++ b/debian/proxmox-backup-docs.links @@ -1 +1,2 @@ /usr/share/doc/proxmox-backup/proxmox-backup.pdf /usr/share/doc/proxmox-backup/html/proxmox-backup.pdf +/usr/share/javascript/extjs /usr/share/doc/proxmox-backup/html/prune-simulator/extjs diff --git a/docs/Makefile b/docs/Makefile index 471930c8..49b85240 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -14,6 +14,10 @@ MANUAL_PAGES := \ proxmox-backup-client.1 \ proxmox-backup-manager.1 +PRUNE_SIMULATOR_FILES := \ + prune-simulator/index.html \ + prune-simulator/documentation.html \ + prune-simulator/prune-simulator.js # Sphinx documentation setup SPHINXOPTS = @@ -74,10 +78,11 @@ onlinehelpinfo: @echo "Build finished. OnlineHelpInfo.js is in $(BUILDDIR)/scanrefs." .PHONY: html -html: ${GENERATED_SYNOPSIS} images/proxmox-logo.svg custom.css conf.py +html: ${GENERATED_SYNOPSIS} images/proxmox-logo.svg custom.css conf.py ${PRUNE_SIMULATOR_FILES} $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html - cp images/proxmox-logo.svg $(BUILDDIR)/html/_static/ - cp custom.css $(BUILDDIR)/html/_static/ + install -m 0644 custom.css images/proxmox-logo.svg $(BUILDDIR)/html/_static/ + install -dm 0755 $(BUILDDIR)/html/prune-simulator + install -m 0644 ${PRUNE_SIMULATOR_FILES} $(BUILDDIR)/html/prune-simulator @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." diff --git a/docs/conf.py b/docs/conf.py index 3c444699..92a9ecb3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -171,6 +171,7 @@ html_theme_options = { 'extra_nav_links': { 'Proxmox Homepage': 'https://proxmox.com', 'PDF': 'proxmox-backup.pdf', + 'Prune Simulator' : 'prune-simulator/index.html', }, 'sidebar_width': '320px',