Skip to content

Commit 365751c

Browse files
committed
Add Webhook Plugin to Docs Sidebar
1 parent 2ffecdf commit 365751c

File tree

7 files changed

+629
-2656
lines changed

7 files changed

+629
-2656
lines changed

_includes/docs-sidebar.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ <h3 id="sophia" class="mt-2">Sophia AI</h3>
3333
<li><a href="/docs/cloud/sophia/user-guide">User Guide</a></li>
3434
<li><a href="/docs/cloud/sophia/administrator-guide">Administrator Guide</a></li>
3535
<li><a href="/docs/cloud/sophia/api-documentation">API Documentation</a></li>
36+
<h3 id="webhook" class="mt-2">Webhook Plugin</h3>
37+
<li><a href="/docs/cloud/webhook">Overview</a></li>
38+
<li><a href="/docs/cloud/webhook/getting-started">Getting Started</a></li>
39+
<li><a href="/docs/cloud/webhook/user-guide">User Guide</a></li>
40+
<li><a href="/docs/cloud/webhook/tutorials">Tutorials</a></li>
3641
</ul>
3742

3843
<a data-bs-toggle="collapse" href="#setup" role="button" aria-expanded="false" aria-controls="collapseExample">

_includes/get-restheart.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,17 @@
8787
<div class="collapse show" id="setupContent">
8888
<div class="setup-content-inner">
8989
++++
90+
{% if page.applies_to == "cloud" %}
91+
92+
To run the examples on this page, you need a RESTHeart Cloud service.
93+
94+
Sign up at https://cloud.restheart.com[*cloud.restheart.com*] and create a free API service in minutes.
95+
96+
Set up your root user following the link:/docs/cloud/root-user-setup[Root User Setup guide].
97+
98+
TIP: All code examples on this page will automatically use your configured RESTHeart Cloud credentials.
99+
100+
{% else %}
90101

91102
To run the examples on this page, you need a RESTHeart instance.
92103

@@ -107,6 +118,7 @@ If you prefer local development, follow the link:/docs/setup[Setup Guide] to ins
107118

108119
NOTE: Local instances run at `http://localhost:8080` with default credentials `admin:secret`
109120

121+
{% endif %}
110122
++++
111123
</div>
112124
</div>

0 commit comments

Comments
 (0)