// Populate the sidebar
//
// This is a script, and not included directly in the page, to control the total size of the book.
// The TOC contains an entry for each page, so if each page includes a copy of the TOC,
// the total size of the page becomes O(n**2).
class MDBookSidebarScrollbox extends HTMLElement {
constructor() {
super();
}
connectedCallback() {
this.innerHTML = '
- Home
- 1. Installation Guide
- 2. Installation Validation Guide
- 3. Getting Started
- 4. Quick Start Cheatsheet
- 5. Setup Quick Start
- 6. Setup System Guide
- 7. Quick Start (Full)
- 8. Prerequisites
- 9. Installation Steps
- 10. First Deployment
- 11. Verification
- 12. Platform Service Configuration
- 13. Overview
- 14. Architecture
- 15. RAG System
- 16. MCP Integration
- 17. Configuration Guide
- 18. Security Policies
- 19. Troubleshooting with AI
- 20. Cost Management
- 21. Natural Language Configuration
- 22. Configuration Generation
- 23. AI-Assisted Forms
- 24. AI Agents
- 25. System Overview
- 26. Architecture Overview
- 27. Design Principles
- 28. Integration Patterns
- 29. Orchestrator Integration Model
- 30. Multi-Repo Architecture
- 31. Multi-Repo Strategy
- 32. Database and Config Architecture
- 33. Ecosystem Integration
- 34. Package and Loader System
- 35. Config Loading Architecture
- 36. Nickel Executable Examples
- 37. Orchestrator Info
- 38. Orchestrator Auth Integration
- 39. Repo Dist Analysis
- 40. TypeDialog Nickel Integration
- 41. ADR-001: Project Structure
- 42. ADR-002: Distribution Strategy
- 43. ADR-003: Workspace Isolation
- 44. ADR-004: Hybrid Architecture
- 45. ADR-005: Extension Framework
- 46. ADR-006: Provisioning CLI Refactoring
- 47. ADR-007: KMS Simplification
- 48. ADR-008: Cedar Authorization
- 49. ADR-009: Security System Complete
- 50. ADR-010: Configuration Format Strategy
- 51. ADR-011: Nickel Migration
- 52. ADR-012: Nushell Nickel Plugin CLI Wrapper
- 53. ADR-013: Typdialog Web UI Backend Integration
- 54. ADR-014: SecretumVault Integration
- 55. ADR-015: AI Integration Architecture
- 56. Overview
- 57. AI Integration (Planned)
- 58. Native Plugins (Partial)
- 59. Nickel Workflows (Planned)
- 60. REST API
- 61. WebSocket
- 62. Extensions
- 63. SDKs
- 64. Integration Examples
- 65. Provider API
- 66. NuShell API
- 67. Path Resolution
- 68. Infrastructure-Specific Extensions
- 69. Command Handler Guide
- 70. Workflow
- 71. Integration
- 72. Build System
- 73. Distribution Process
- 74. Implementation Guide
- 75. Project Structure
- 76. Ctrl-C Implementation Notes
- 77. Auth Metadata Guide
- 78. KMS Simplification
- 79. Glossary
- 80. MCP Server
- 81. TypeDialog Platform Config Guide
- 82. Overview
- 83. Extension Development
- 84. Extension Registry
- 85. Quick Provider Guide
- 86. Provider Agnostic Architecture
- 87. Provider Development Guide
- 88. Provider Distribution Guide
- 89. Provider Comparison Matrix
- 90. TaskServ Quick Guide
- 91. TaskServ Categorization
- 92. Platform Deployment Guide
- 93. Service Management Guide
- 94. Monitoring & Alerting Setup
- 95. CoreDNS Guide
- 96. Production Readiness Checklist
- 97. Break Glass Training Guide
- 98. Cedar Policies Production Guide
- 99. MFA Admin Setup Guide
- 100. Orchestrator
- 101. Orchestrator System
- 102. Control Center
- 103. Installer
- 104. Installer System
- 105. Provisioning Server
- 106. Infrastructure Management
- 107. Infrastructure from Code Guide
- 108. Batch Workflow System
- 109. Batch Workflow Multi-Provider Examples
- 110. CLI Architecture
- 111. Configuration System
- 112. CLI Reference
- 113. Dynamic Secrets Guide
- 114. Mode System Guide
- 115. Config Rendering Guide
- 116. Configuration
- 117. Workspace Setup
- 118. Workspace Guide
- 119. Workspace Switching Guide
- 120. Workspace Switching System
- 121. Workspace Config Architecture
- 122. Workspace Config Commands
- 123. Workspace Enforcement Guide
- 124. Workspace Infra Reference
- 125. Authentication Layer Guide
- 126. Config Encryption Guide
- 127. Security System
- 128. RustyVault KMS Guide
- 129. SecretumVault KMS Guide
- 130. SSH Temporal Keys User Guide
- 131. Plugin Integration Guide
- 132. NuShell Plugins Guide
- 133. NuShell Plugins System
- 134. Plugin Usage Guide
- 135. Secrets Management Guide
- 136. KMS Service
- 137. Gitea Integration Guide
- 138. Service Mesh Ingress Guide
- 139. OCI Registry Guide
- 140. Integrations Quick Start
- 141. Secrets Service Layer Complete
- 142. OCI Registry Platform
- 143. Test Environment Guide
- 144. Test Environment System
- 145. TaskServ Validation Guide
- 146. Troubleshooting Guide
- 147. From Scratch
- 148. Update Infrastructure
- 149. Customize Infrastructure
- 150. Infrastructure Setup
- 151. Extension Development Quickstart
- 152. Guide System
- 153. Workspace Generation Quick Reference
- 154. Multi-Provider Deployment Guide
- 155. Multi-Provider Networking with VPN
- 156. DigitalOcean Provider Guide
- 157. Hetzner Provider Guide
- 158. Multi-Provider Web App Workspace
- 159. Multi-Region High Availability Workspace
- 160. Cost-Optimized Multi-Provider Workspace
- 161. Master Index
- 162. Platform Operations Cheatsheet
- 163. General Commands
- 164. JustFile Recipes
- 165. OCI Registry
- 166. Sudo Password Handling
- 167. Config Validation
';
// Set the current, active page, and reveal it if it's hidden
let current_page = document.location.href.toString().split("#")[0].split("?")[0];
if (current_page.endsWith("/")) {
current_page += "index.html";
}
var links = Array.prototype.slice.call(this.querySelectorAll("a"));
var l = links.length;
for (var i = 0; i < l; ++i) {
var link = links[i];
var href = link.getAttribute("href");
if (href && !href.startsWith("#") && !/^(?:[a-z+]+:)?\/\//.test(href)) {
link.href = path_to_root + href;
}
// The "index" page is supposed to alias the first chapter in the book.
if (link.href === current_page || (i === 0 && path_to_root === "" && current_page.endsWith("/index.html"))) {
link.classList.add("active");
var parent = link.parentElement;
if (parent && parent.classList.contains("chapter-item")) {
parent.classList.add("expanded");
}
while (parent) {
if (parent.tagName === "LI" && parent.previousElementSibling) {
if (parent.previousElementSibling.classList.contains("chapter-item")) {
parent.previousElementSibling.classList.add("expanded");
}
}
parent = parent.parentElement;
}
}
}
// Track and set sidebar scroll position
this.addEventListener('click', function(e) {
if (e.target.tagName === 'A') {
sessionStorage.setItem('sidebar-scroll', this.scrollTop);
}
}, { passive: true });
var sidebarScrollTop = sessionStorage.getItem('sidebar-scroll');
sessionStorage.removeItem('sidebar-scroll');
if (sidebarScrollTop) {
// preserve sidebar scroll position when navigating via links within sidebar
this.scrollTop = sidebarScrollTop;
} else {
// scroll sidebar to current active section when navigating via "next/previous chapter" buttons
var activeSection = document.querySelector('#sidebar .active');
if (activeSection) {
activeSection.scrollIntoView({ block: 'center' });
}
}
// Toggle buttons
var sidebarAnchorToggles = document.querySelectorAll('#sidebar a.toggle');
function toggleSection(ev) {
ev.currentTarget.parentElement.classList.toggle('expanded');
}
Array.from(sidebarAnchorToggles).forEach(function (el) {
el.addEventListener('click', toggleSection);
});
}
}
window.customElements.define("mdbook-sidebar-scrollbox", MDBookSidebarScrollbox);