]> git.proxmox.com Git - pve-docs.git/commitdiff
add missing apidoc.htm
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 29 Apr 2016 10:27:09 +0000 (12:27 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 29 Apr 2016 10:27:09 +0000 (12:27 +0200)
use .htm instead of .html to prevent removal with "make clean"

Makefile
apidoc.htm [new file with mode: 0644]

index 60c1d93b7a0e3825d731411e6d0e54fb5f5111d4..d7e3f3aadb360e6addda5a5d36da41e2dfc6e1ec 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -185,7 +185,7 @@ DOC_DEB_FILES=                                      \
        pve-admin-guide.epub    \
        index.html
 
-${DOC_DEB}: index.adoc ${PVE_ADMIN_GUIDE_SOURCES} apidoc.js apidoc.html
+${DOC_DEB}: index.adoc ${PVE_ADMIN_GUIDE_SOURCES} apidoc.js apidoc.htm
        $(MAKE) NOVIEW=1 pve-admin-guide.pdf pve-admin-guide.html pve-admin-guide.epub
        $(MAKE) NOVIEW=1 $(addsuffix .1.html, ${COMMAND_LIST}) $(addsuffix .8.html, ${SERVICE_LIST}) $(addsuffix .5.html, ${CONFIG_LIST})
        asciidoc -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}" index.adoc
@@ -200,7 +200,7 @@ ${DOC_DEB}: index.adoc ${PVE_ADMIN_GUIDE_SOURCES} apidoc.js apidoc.html
        install -m 0644 index.html build/usr/share/${DOC_PACKAGE}
        # install api doc viewer
        mkdir build/usr/share/${DOC_PACKAGE}/pve2-api-doc
-       install -m 0644 apidoc.html build/usr/share/${DOC_PACKAGE}/pve2-api-doc/index.html
+       install -m 0644 apidoc.htm build/usr/share/${DOC_PACKAGE}/pve2-api-doc/index.html
        install -m 0644 apidoc.js build/usr/share/${DOC_PACKAGE}/pve2-api-doc/
        cd build; dpkg-buildpackage -rfakeroot -b -us -uc
        lintian ${DOC_DEB}
diff --git a/apidoc.htm b/apidoc.htm
new file mode 100644 (file)
index 0000000..63a0fde
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Proxmox VE API Documentation</title>
+    <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-4.0.2/resources/css/ext-all.css" />
+
+    <script type="text/javascript" src="http://extjs.cachefly.net/ext-4.0.2/ext-all-debug.js"></script>
+    <script type="text/javascript" src="apidoc.js"></script>
+    
+</head>
+<body>
+</body>
+</html>