Permalink
Browse files

Docs: remove old HTML docs (sorry Dave)

The have been replaced by the docs in ocaml/doc.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  • Loading branch information...
robhoes committed Nov 22, 2011
1 parent bfbd9a2 commit 1518b8c9ff84b1bc405180af84312b0bf287fbb0
View
@@ -48,7 +48,7 @@ lib-uninstall:
omake DESTDIR=$(DESTDIR) lib-uninstall
.PHONY: sdk-install
-sdk-install:
+sdk-install: doc
omake sdk-install
.PHONY: clean
View
@@ -147,7 +147,6 @@ OCAML_PHASE3_NOXEN = \
ocaml/cdrommon/cdrommon \
ocaml/xapi/binpack \
ocaml/idl/datamodel \
- ocaml/idl/html_build \
ocaml/db_process/xapi-db-process \
ocaml/vncproxy/vncproxy \
ocaml/xapi/rrddump \
View
@@ -1,10 +1,5 @@
.SUBDIRS: ocaml_backend lua js_backend
-JQUERY=jquery-1.1.3.1.pack.js
-JQUERY_DISTFILE = $(CARBON_DISTFILES)/javascript/jquery/$(JQUERY)
-JQUERYTREEVIEWZIP = jquery.treeview.zip
-JQUERYTREEVIEWZIP_DISTFILE = $(CARBON_DISTFILES)/javascript/jquery/treeview/jquery.treeview.zip
-
PSTOPDF = $(shell bash -c "which pstopdf 2>/dev/null || which ps2pdf 2>/dev/null || which ps2pdf14 2>/dev/null || echo false")
OCAMLINCLUDES = ocaml_backend ../database
@@ -25,7 +20,7 @@ OCamlLibrary(datamodel, datamodel constants datamodel_utils datamodel_types api_
# -----------------------------------------------------------------------
DATAMODEL = datamodel
-DATAMODEL_FILES = constants datamodel_types api_errors api_messages dm_api datamodel datamodel_utils dtd_backend latex_backend dot_backend html_backend html_imagemap html_common html_main html_autogen html_types ocaml_backend/ref ../database/string_marshall_helper
+DATAMODEL_FILES = constants datamodel_types api_errors api_messages dm_api datamodel datamodel_utils dtd_backend latex_backend dot_backend ocaml_backend/ref ../database/string_marshall_helper
SHARED_TEX = coversheet.tex presentation.tex vm-lifecycle.tex wire-protocol.tex
SHARED_EPS = vm_lifecycle.eps
@@ -38,38 +33,11 @@ DOCDIR = $(ROOT)/ocaml/autogen/doc
OCamlProgram($(DATAMODEL), $(DATAMODEL_FILES) datamodel_main)
OCamlDocProgram(datamodel, $(DATAMODEL_FILES))
-OCamlProgram(html_build, $(DATAMODEL_FILES) html_build html_common html_types)
-
-.PHONY: xenapi-html-doc xenenterpriseapi-html-doc api-html-doc sdk-classes
-api-html-doc: xenapi-html-doc xenenterpriseapi-html-doc
-
-# XXX replace xenapi-html-doc and xenenterpriseapi-html-doc with implicit
-# targets instead of hardcoding
-
-#$(JQUERY) :
-# cp $(JQUERY_DISTFILE) .
-#
-#$(JQUERYTREEVIEWZIP) :
-# cp $(JQUERYTREEVIEWZIP_DISTFILE) .
-
-sdk-classes: sdk-classes.dot
- dot -Tps2 -Kneato -Goverlap=false sdk-classes.dot > sdk-classes.ps
- dot -Tgif -Kneato -Goverlap=false sdk-classes.dot > sdk-classes.gif
-
-xenapi-html-doc: datamodel xenapi-datamodel-graph.dot xenapi-datamodel-graph.gif xenapi-datamodel-graph.map
- mkdir -p $(DOCDIR)/model/oss
- cp xenapi-datamodel-graph.{map,gif} $(DOCDIR)/model/oss
- cp api.css userguide.css $(DOCDIR)/model/oss
- cp xensource_logo.png check.png $(DOCDIR)/model/oss
- ./datamodel -html $(DOCDIR)/model/oss
-
-xenenterpriseapi-html-doc: datamodel #xenapi-datamodel-graph.dot xenenterpriseapi-datamodel-graph.gif xenenterpriseapi-datamodel-graph.map
- mkdir -p $(DOCDIR)/model/xe
- cp xenenterpriseapi-datamodel-graph.map $(DOCDIR)/model/xe
- cp xenenterpriseapi-datamodel-graph.gif $(DOCDIR)/model/xe
- cp api.css userguide.css $(DOCDIR)/model/xe
- cp xensource_logo.png xensource_toplogo.gif check.png $(DOCDIR)/model/xe
- ./datamodel -closed -html $(DOCDIR)/model/xe
+
+#.PHONY: sdk-classes
+#sdk-classes: sdk-classes.dot
+# dot -Tps2 -Kneato -Goverlap=false sdk-classes.dot > sdk-classes.ps
+# dot -Tgif -Kneato -Goverlap=false sdk-classes.dot > sdk-classes.gif
xenapi-datamodel-graph.dot: datamodel
./datamodel -dot >$@
@@ -115,9 +83,6 @@ clean:
rm -rf *.cmi *.cma *.cmxa *.a *.cmo *.cmx *.o *.opt *.aux *.log *.fig *.run datamodel
rm -rf *.ps *.pdf *.dvi *.annot
rm -rf *datamodel.tex datamodel-dtd.xml datamodel-coversheet.tex
- rm -rf /tmp/docs
- rm -rf $(SDKWWW)/docs/html
- rm -f html_build js_backend/main
sdk-README.txt : sdk-README.html
lynx -dump sdk-README.html > sdk-README.txt
View
Binary file not shown.
@@ -23,21 +23,19 @@ let _ =
let dot_mode = ref false
and latex_mode = ref false
and dtd_mode = ref false
- and html_mode = ref false
and closed = ref false (* shows release_closed *)
and all = ref false (* shows release_impl as well *)
and dirname = ref "" in
Arg.parse [ "-dot", Arg.Set dot_mode, "output dot graph";
"-latex", Arg.Set latex_mode, "output latex document";
- "-html", Arg.Set html_mode, "output HTML files to directory";
"-dtd", Arg.Set dtd_mode, "output XML DTD";
"-closed", Arg.Set closed, "output all OSS + closed API functions but not including internal ones";
"-all", Arg.Set all, "output all API functions, including internal ones"
]
(fun x -> dirname := x)
"compile XenSource API datamodel specification";
- let all_modes = [ !dot_mode; !latex_mode; !dtd_mode; !html_mode ] in
+ let all_modes = [ !dot_mode; !latex_mode; !dtd_mode ] in
let num_modes_set = List.length (List.filter (fun x->x) all_modes) in
@@ -84,9 +82,4 @@ let _ =
(fun _ -> true)
api in
List.iter print_endline (Dtd_backend.of_objs api);
- end;
-
- if !html_mode then begin
- Html_main.all ~title:(if !all then "Citrix XenServer Management API" else "Xen API")
- ("xen" ^ (if !all || !closed then "enterprise" else "") ^ "api-datamodel-graph") api
end
View
@@ -1,99 +0,0 @@
-html, body {
- height: 100%;
- margin-top: 0;
- margin-right: 0;
- margin-bottom: 0;
- padding: 0;
-}
-
-body{
- font-family: Verdana, helvetica, arial, sans-serif;
- background: #ffffff;
- color: #000000;
-}
-
-h1 {
- color: #c1602f;
-/* margin-top:4px; */
- margin-bottom:4px;
-
-}
-
-div.main {
- margin-top: 4px;
-}
-
-img {
- border: 0;
-}
-
-img.totheright {
- float: right;
- margin: 0;
- padding: 0;
-}
-div.banner {
- height: 69px;
- margin: 0;
- padding: 0;
-}
-div.bar {
- background: #000000;
- height: 30px;
- color: #ffffff;
- padding-left: 20px;
- padding-top:6px;
- font-weight: bold;
-}
-
-h1.banner {
- padding: 10px;
- margin:0;
- padding-left:20px;
- color: #000000;
-}
-#bar a {
- text-decoration:none;
- color: #ffffff;
-}
-
-a:hover {
- color: #d1805f;
-}
-a {
- color: #c1602f;
- font-weight: bold;
-}
-
-td.tableheader {
- background-color: #c1602f;
- color: white;
- font-weight: bold;
- width: 100%;
- padding: 4px;
-}
-td.tableheader_sub {
- background-color: #ffbc9b;
- color: black;
- padding: 4px;
-}
-div.tableheader {
- background-color: #c1602f;
- color: white;
- font-weight: bold;
- width: 100%;
- padding: 4px;
-}
-
-table {
- width: 100%;
-}
-
-.title{
- font: 250% "Verdana", "Helvetica", "sans-serif";
- vertical-align: middle;
-}
-
-span.type, span.id, span.key {
- font-family: Courier, "Courier New", monospace;
-}
@@ -1,39 +0,0 @@
-html, body {height:100%; margin: 0; padding: 0; }
-
-html>body {
- font-size: 16px;
- font-size: 68.75%;
-} /* Reset Base Font Size */
-
-body {
- font-family: Verdana, helvetica, arial, sans-serif;
- font-size: 68.75%;
- background: #fff;
- color: #333;
- padding-left: 20px;
-} /* Reset Font Size */
-
-.treeview, .treeview ul {
- padding: 0;
- margin: 0;
- list-style: none;
-}
-
-.treeview li {
- margin: 0;
- padding: 3px 0pt 3px 16px;
-}
-
-ul.dir li { padding: 2px 0 0 16px; }
-
-.treeview li { background: url(images/tv-item.gif) 0 0 no-repeat; }
-.treeview .collapsable { background-image: url(images/tv-collapsable.gif); }
-.treeview .expandable { background-image: url(images/tv-expandable.gif); }
-.treeview .last { background-image: url(images/tv-item-last.gif); }
-.treeview .lastCollapsable { background-image: url(images/tv-collapsable-last.gif); }
-.treeview .lastExpandable { background-image: url(images/tv-expandable-last.gif); }
-
-#treecontrol { margin: 1em 0; }
-
-div.left_pane { float: left; width: 200px; padding:10px; border-width: 1px; border-right: soldi #aaa }
-div.main_pane { float: left }
@@ -1,11 +0,0 @@
-$(document).ready(function(){
- $("#browser").Treeview({
- collapsed: true
-/*
- speed: "fast",
- collapsed: true,
- unique: true,
- store: true
-*/
- });
-});
@@ -1,12 +0,0 @@
-<html>
-
-<frameset rows="105px,*" noresize="noresize" frameborder="0" framespacing="0" border="0" scrolling="no">
-<frame src="header.html">
-
- <frameset cols="25%,75%" frameborder="1" border="4" framespacing="4" scrolling="auto">
- <frame src="tree.html">
- <frame src="classes.html" name="detail">
- </frameset>
-
-</frameset>
-</html>
View
@@ -1,17 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="api.css" type="text/css" media="projection, screen"/>
-<style type="text/css">
-html, body {height:100%; margin: 0; padding: 0; }
-</style>
-</head>
-<body>
-<div class="banner">
- <img class="totheright" src="images/background_image.jpg"></img>
- <h1 class="banner">Citrix XenServer Management API</h1>
-</div>
-<div class="bar" id="bar">
-<a href="../../" target="_parent">SDK</a> | API
-</div>
-</body>
-</html>
Binary file not shown.
@@ -1,19 +0,0 @@
-<p>
-
-<p>
-VCPUs can be pinned with a setting like:
-</p>
-mask=1,2,3
-<p>
-The VM will run on physical CPUs 1 2 and 3.
-</p>
-
-<p>
-Scheduling can be altered with settings like:
-</p>
-weight=100
-cap=100
-<p>
-</p>
-
-</p>
@@ -1,26 +0,0 @@
-
-<p>
-
-
-<p>This page explains some of the conventions used in this documention.</p>
-
-<h1>Objects, fields and messages</h1>
-<p>Objects have both <i>fields</i> and <i>messages.</i> Messages are either <i>implicit</i> or <i>explicit</i> where an implicit message is one of:</p>
-<ul>
-<li> a constructor (usually called &quot;create&quot;);</li>
-<li> a destructor (usually called &quot;destroy&quot;);</li>
-<li> &quot;get_by_name_label&quot;;</li>
-<li> &quot;get_by_uuid&quot;</li>
-<li> &quot;get_record&quot;; and</li>
-<li> &quot;get_all&quot;.</li>
-</ul>
-<p>Explicit messages include all the rest, more class-specific messages (e.g. &quot;VM.start&quot;, &quot;VM.clone&quot;)</p>
-<p>Every field has at least one <i>accessor</i> depending both on its type and whether it is read-only or read-write. Accessors for a field named &quot;X&quot; would be a proper subset of:</p>
-<ul>
-<li> set_X: change the value of field X (only if it is read-write);</li>
-<li> get_X: retrieve the value of field X;</li>
-<li> add_to_X: add a key/value pair (only if field has type set or map); and</li>
-<li> remove_from_X: remove a key (only if a field has type set or map).</li>
-</ul>
-
-</p>
Oops, something went wrong.

0 comments on commit 1518b8c

Please sign in to comment.