1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-26 03:10:00 -05:00

Updating latest python vmc doc (4c618b3)

This commit is contained in:
GITLAB_USER_NAME 2020-03-23 10:49:50 +00:00
parent 9ca4b23a72
commit c04a051712
25 changed files with 57 additions and 51 deletions

View File

@ -1,5 +1,5 @@
.. vmc documentation master file, created by .. vmc documentation master file, created by
sphinx-quickstart on Tue Feb 11 10:54:23 2020. sphinx-quickstart on Mon Mar 23 10:49:15 2020.
You can adapt this file completely to your liking, but it should at least You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive. contain the root `toctree` directive.

View File

@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = { var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '1.23.0', VERSION: '1.24.0',
LANGUAGE: 'en', LANGUAGE: 'en',
COLLAPSE_INDEX: false, COLLAPSE_INDEX: false,
BUILDER: 'html', BUILDER: 'html',

View File

@ -63,6 +63,11 @@ var Search = {
htmlElement.innerHTML = htmlString; htmlElement.innerHTML = htmlString;
$(htmlElement).find('.headerlink').remove(); $(htmlElement).find('.headerlink').remove();
docContent = $(htmlElement).find('[role=main]')[0]; docContent = $(htmlElement).find('[role=main]')[0];
if(docContent === undefined) {
console.warn("Content block not found. Sphinx search tries to obtain it " +
"via '[role=main]'. Could you check your theme or template.");
return "";
}
return docContent.textContent || docContent.innerText; return docContent.textContent || docContent.innerText;
}, },
@ -245,6 +250,7 @@ var Search = {
if (results.length) { if (results.length) {
var item = results.pop(); var item = results.pop();
var listItem = $('<li style="display:none"></li>'); var listItem = $('<li style="display:none"></li>');
var requestUrl = "";
if (DOCUMENTATION_OPTIONS.BUILDER === 'dirhtml') { if (DOCUMENTATION_OPTIONS.BUILDER === 'dirhtml') {
// dirhtml builder // dirhtml builder
var dirname = item[0] + '/'; var dirname = item[0] + '/';
@ -253,15 +259,15 @@ var Search = {
} else if (dirname == 'index/') { } else if (dirname == 'index/') {
dirname = ''; dirname = '';
} }
listItem.append($('<a/>').attr('href', requestUrl = DOCUMENTATION_OPTIONS.URL_ROOT + dirname;
DOCUMENTATION_OPTIONS.URL_ROOT + dirname +
highlightstring + item[2]).html(item[1]));
} else { } else {
// normal html builders // normal html builders
listItem.append($('<a/>').attr('href', requestUrl = DOCUMENTATION_OPTIONS.URL_ROOT + item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX;
item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX +
highlightstring + item[2]).html(item[1]));
} }
listItem.append($('<a/>').attr('href',
requestUrl +
highlightstring + item[2]).html(item[1]));
if (item[3]) { if (item[3]) {
listItem.append($('<span> (' + item[3] + ')</span>')); listItem.append($('<span> (' + item[3] + ')</span>'));
Search.output.append(listItem); Search.output.append(listItem);
@ -269,7 +275,7 @@ var Search = {
displayNextItem(); displayNextItem();
}); });
} else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) { } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
$.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX, $.ajax({url: requestUrl,
dataType: "text", dataType: "text",
complete: function(jqxhr, textstatus) { complete: function(jqxhr, textstatus) {
var data = jqxhr.responseText; var data = jqxhr.responseText;

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com package &mdash; vmc 1.23.0 documentation</title> <title>com package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs.sddcs.clusters package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs.sddcs.clusters package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs.sddcs package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs.sddcs package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs.sddcs.networks.cgws package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs.sddcs.networks.cgws package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs.sddcs.networks.edges.firewall package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs.sddcs.networks.edges.firewall package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs.sddcs.networks.edges package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs.sddcs.networks.edges package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs.sddcs.networks.edges.l2vpn package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs.sddcs.networks.edges.l2vpn package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs.sddcs.networks.edges.nat package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs.sddcs.networks.edges.nat package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs.sddcs.networks.edges.statistics package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs.sddcs.networks.edges.statistics package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vmc.orgs.sddcs.networks package &mdash; vmc 1.23.0 documentation</title> <title>com.vmware.vmc.orgs.sddcs.networks package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Interface definition language to python mapping for enumerated types &mdash; vmc 1.23.0 documentation</title> <title>Interface definition language to python mapping for enumerated types &mdash; vmc 1.24.0 documentation</title>
@ -58,7 +58,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -9,7 +9,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Index &mdash; vmc 1.23.0 documentation</title> <title>Index &mdash; vmc 1.24.0 documentation</title>
@ -59,7 +59,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to vmcs documentation! &mdash; vmc 1.23.0 documentation</title> <title>Welcome to vmcs documentation! &mdash; vmc 1.24.0 documentation</title>
@ -59,7 +59,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

Binary file not shown.

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Python Module Index &mdash; vmc 1.23.0 documentation</title> <title>Python Module Index &mdash; vmc 1.24.0 documentation</title>
@ -61,7 +61,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Search &mdash; vmc 1.23.0 documentation</title> <title>Search &mdash; vmc 1.24.0 documentation</title>
@ -59,7 +59,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>vmware package &mdash; vmc 1.23.0 documentation</title> <title>vmware package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>vmware.vapi package &mdash; vmc 1.23.0 documentation</title> <title>vmware.vapi package &mdash; vmc 1.24.0 documentation</title>
@ -60,7 +60,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>vmware.vapi.vmc package &mdash; vmc 1.23.0 documentation</title> <title>vmware.vapi.vmc package &mdash; vmc 1.24.0 documentation</title>
@ -59,7 +59,7 @@
<div class="version"> <div class="version">
1.23.0 1.24.0
</div> </div>