Skip to content

Commit

Permalink
Update guide to version 332
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Workflow committed Jan 29, 2025
1 parent 0ae3d4c commit bf2f8bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions guide/latest/cockpit-manifest.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ <h2>cockpit.js: Manifests</h2>
</tr></table></div>
<div class="refsection">
<a name="cockpit-manifest-loading"></a><h2>Loading Manifests</h2>
<p>You can load manifest info by loading the <code class="code">./manifest.json</code> file in
your package. In addition there is a shortcut, by loading the <code class="code">../manifests.json</code>
you can load all the manifests at once.</p>
<p>Lastly load the <code class="code">../manifests.js</code> file to register the manifests at
the <code class="code">cockpit.manifests</code> global variable.</p>
<p>For a convenient access to all page manifests, include
<code class="code">&lt;script src="../manifests.js"&gt;&lt;/script&gt;</code> into your page to register
the manifests at the <code class="code">cockpit.manifests</code> global variable.</p>
<p>You can also load <code class="code">../manifests.json</code> directly in your page, with
<a class="ulink" href="https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch" target="_top"><code class="code">fetch()</code></a>.
</p>
</div>
</div>
<div class="footer"><hr></div>
Expand Down
2 changes: 1 addition & 1 deletion guide/latest/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Cockpit Guide</p></th></tr></table></div>
<div><p class="releaseinfo">Documentation for Cockpit 331
<div><p class="releaseinfo">Documentation for Cockpit 332
--
latest version available at:
<a class="ulink" href="https://cockpit-project.org/guide/latest" target="_top">https://cockpit-project.org/guide/latest/</a></p></div>
Expand Down

0 comments on commit bf2f8bd

Please sign in to comment.