Integrations & API Reference
Build technical reference resources, catalog API integrations, map folder trees, and reference other guides.
1. GitHub Integration Cards
Linx Books provides static, lightweight components for displaying GitHub repositories and organizations.
GitHub Repository Card (github-repo)
GitHub Organization Card (github-org)
2. API Endpoints
Linx Books provides a compact, documentation-focused layout for showcasing API routes and endpoints.
GET Request (No Auth)
POST Request (With Auth Token)
DELETE Request (Required Auth)
3. Referenced Docs Component
Linx Books provides a premium, interactive component to link to other internal documentation pages or books. The metadata (title, description, and thumbnail) is resolved automatically at build-time.
Dynamic Lookup Example (Group Landing Page)
Dynamic Lookup Example (Document Page)
Manual Overrides Example
Heading Lookup via Path Hash
Links directly to a heading anchor. The component automatically looks up the heading to append the correct scroll ID and suffixes the title:
If the hash does not exist in the target document, it is ignored and navigates to the document base path safely
Heading Target Lookup Rules
[!NOTE] Heading Target Lookup Rules:
- Path-based Anchors: You target a heading solely by appending a URL hash anchor to the path (e.g.
path: /path#heading-slug).- Punctuation & Case Tolerance: The component slugifies both target strings, automatically ignoring dots (like
12.), spaces, case differences, and special characters.- Substring Matching: Supports partial lookups. E.g., appending
#commandor#3-commandwill both successfully resolve the heading3. Command.- Failsafe Fallback: If a heading target does not exist or matches nothing on the target page, the hash parameter is ignored, and the link defaults to the document base path safely.
4. Directory & File Structure
Interactive tree-structure visualizer component supporting custom file icons, directory collapsibility, inline descriptions, and clipboard copying of the unicode tree layout.
ASCII/Text Mode Example
Paste standard ASCII or spaces directory tree output. Annotations can be added inline using comments (#, //, or <--):
YAML Items Mode Example
For custom type specification and structures, define a standard nested items list of nodes: