Skip to content

Commit 9af363b

Browse files
committed
Merge pull request #52 from robhoes/apidoc
More XenAPI docs
2 parents 0b20357 + 6892dc6 commit 9af363b

17 files changed

+3219
-13
lines changed

_data/navbar.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,22 @@
1212
- features/VGPU/vgpu.md
1313
- features/snapshots/snapshots.md
1414
- features/backtraces.md
15-
- title: Xen-api
15+
- title: XenAPI
1616
docs:
17+
- xen-api/overview.md
18+
- xen-api/usage.md
19+
- xen-api/http.md
20+
- xen-api/extensions.md
21+
- xen-api/wire-protocol.md
22+
- xen-api/evolution.md
23+
- xen-api/vm-lifecycle.md
24+
- xen-api/udhcp.md
1725
- xen-api/index.html
1826
- title: Xapi
1927
docs:
2028
- xapi/overview.md
2129
- xapi/architecture.md
22-
- xapi/design/XenAPI-evolution.md
2330
- xapi/design/memory-accounting.md
24-
- xapi/design/udhcp.md
2531
- title: Xenopsd
2632
docs:
2733
- xenopsd/overview.md

assets/js/apidoc.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ function class_doc()
327327

328328
html = "";
329329
html += '<div class="lifecycle">' + current_lifecycle_stage(clsdoc.obj_lifecycle) + '</div>';
330-
html += '<h1 class="title" onclick="showhide(document.getElementById(\'class_details\'))" style="cursor: pointer">Class: ' + cls + '</h1>\n';
330+
html += '<h2 class="title" onclick="showhide(document.getElementById(\'class_details\'))" style="cursor: pointer">Class: ' + cls + '</h2>\n';
331331

332332
html += '<div class="description">' + clsdoc.description + '</div>';
333333

@@ -340,19 +340,19 @@ function class_doc()
340340
html += '</table>';
341341
html += '</div>';
342342

343-
html += '<div id="enums" style="display: none"><h2>Enums</h2></div>';
343+
html += '<div id="enums" style="display: none"><h3>Enums</h3></div>';
344344

345345
set_content(html);
346346

347-
html = '<h2>Fields</h2>';
347+
html = '<h3>Fields</h3>';
348348
if (fields.length > 0) {
349349
for (i in fields)
350350
html += make_field(fields[i], i);
351351
}
352352
else
353353
html += '<p>None.</p>';
354354

355-
html += '<h2>Messages</h2>';
355+
html += '<h3>Messages</h3>';
356356
if (messages.length > 0) {
357357
for (i in messages)
358358
html += make_message(messages[i], i);
@@ -401,7 +401,7 @@ function release_doc()
401401
changes.sort(compare_release_notes);
402402

403403
html = "";
404-
html += '<h1 class="title">Release notes: ' + get_release_name(rel) + '</h1>\n';
404+
html += '<h2 class="title">Release notes: ' + get_release_name(rel) + '</h2>\n';
405405

406406
html += '<table><tr><th style="width: 12em">Change</th><th>Element</th><th>Description</th></tr>';
407407

@@ -431,7 +431,7 @@ function class_list()
431431

432432
function release_list()
433433
{
434-
html = '<h2>Release notes</h2>';
434+
html = '<h3>Release notes</h3>';
435435

436436
releases = releases.slice(releases.indexOf(first_release))
437437
for (i in releases) {
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)