# accuknox/help architecture

> Architecture diagram of the GitHub repository accuknox/help, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-04-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/accuknox/help
- Repository: https://github.com/accuknox/help

## Overview

1. **What this repository is**
   - This is a **static documentation site source tree** for the AccuKnox Help Center, not an application backend.
   - The published product is built from Markdown content into a static site hosted externally at `help.accuknox.com`.

2. **Core build/runtime stack**
   - The site is built with **MkDocs** and the **Material for MkDocs** theme.
   - The repo expects **Python 3.9+** and uses MkDocs plugins for cards, macros, redirects, external markdown embedding, breadcrumbs, and theme extensions.

3. **Primary content boundary**
   - Almost all product knowledge lives under `docs/`, organized by documentation domain:
     - `getting-started/` for onboarding, prerequisites, releases, and architecture
     - `how-to/` for procedural guides and integrations setup
     - `integrations/` for CI/CD, SIEM, SSO, ticketing, and API integrations
     - `use-cases/` for product feature walkthroughs and security scenarios
     - `support-matrix/` for compatibility tables
     - `resources/` for troubleshooting, manuals, glossary, and reports
     - `knoxctl/`, `introduction/`, and `faqs.md` for CLI and overview content

4. **Information architecture and navigation**
   - The site structure is centrally defined in `mkdocs.yml`.
   - Navigation is intentionally curated into top-level sections rather than being filesystem-driven.
   - This means the architecture diagram should show **content authored in folders** and **navigation mapped separately** through MkDocs config.

5. **Presentation and theme overrides**
   - The Material theme is customized via `overrides/`.
   - `overrides/main.html` extends the base theme.
   - Partial templates provide:
     - a dismissible release banner
     - light/dark logo switching
     - custom tabs with support/contact links
   - This layer affects page chrome, not content generation.

6. **Static assets layer**
   - Shared UI assets live under `docs/assets/`:
     - images and icons used across pages
     - custom CSS for banner, cards, timeline, gantt, and layout styling
   - Additional JavaScript in `docs/javascripts/extra.js` adds site behavior such as analytics, beta badges, and trailing-slash handling.
   - These assets are part of the rendered site, not separate runtime services.

7. **Generated content pipeline**
   - A meaningful subsystem is the **template-to-card generation flow** for use-case pages.
   - `docs/use-cases/*.template` and resource snippets under `docs/use-cases/res/` are transformed into card-based pages in `docs/use-cases/cards/`.
   - `Makefile` exposes the generation target, and `docs/use-cases/generate-cards.sh` performs the transformation.
   - In an architecture diagram, this is a distinct authoring pipeline feeding the main docs tree.

8. **Content conventions as a quality boundary**
   - Pages use YAML front matter, one H1 per page, and controlled heading depth.
   - Card-based landing pages use the neoteroi cards syntax.
   - These conventions matter because they constrain how content renders and how navigation/TOC appears, which affects the site’s structure.

9. **Documentation domains as product subsystems**
   - The docs map directly to AccuKnox product areas and operational boundaries:
     - CNAPP / CSPM / CWPP / KSPM / ASPM
     - VM security and agent-based/agentless flows
     - cloud provider onboarding for AWS, Azure, and GCP
     - registry, CI/CD, secret scan, DAST, IaC, SSO, and SIEM integrations
   - For diagramming, these are best treated as **logical documentation modules** under one static publishing pipeline.

10. **Build and validation flow**
   - Authors edit Markdown, templates, and assets locally.
   - `mkdocs serve` provides a live-reload local preview.
   - `mkdocs build --strict` produces the production static output and fails on warnings.
   - The output lands in `site/`, which is git-ignored and represents the final deployable artifact.

11. **CI/CD boundary**
   - The repository includes GitHub Actions workflows under `.github/workflows/`, indicating automated validation/building in CI.
   - The most important architectural implication is that the site is intended to be **built from source on every change**, rather than manually assembled or dynamically rendered.

12. **External touchpoints**
   - The only operational external interactions visible from the repo are the public help-center hosting target, the support-ticket link embedded in the UI, and lightweight analytics/tracking behavior in custom JavaScript.
   - There is no evidence here of a backend API, database, or application state service; the architecture is predominantly **authoring -> build -> static publish**.

Main entry points: [`docs`](https://github.com/accuknox/help/tree/main/docs) (docs/), [`mkdocs.yml`](https://github.com/accuknox/help/blob/main/mkdocs.yml) (mkdocs.yml), [`overrides`](https://github.com/accuknox/help/tree/main/overrides) (Theme overrides), [`docs/use-cases/generate-cards.sh`](https://github.com/accuknox/help/blob/main/docs/use-cases/generate-cards.sh) (Card generation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_g1["Build & publish"]
  node_mkdocs["mkdocs.yml<br/>nav/config<br/>[mkdocs.yml]"]
  node_makefile["Makefile<br/>build entry"]
  node_ci["CI workflows<br/>validation/build<br/>[ci.yml]"]
end

subgraph group_g2["Content authoring"]
  node_docsroot["docs/<br/>docs source"]
  node_getting["Getting started<br/>product docs"]
  node_howto["How-to guides<br/>procedural docs"]
  node_integrations["Integrations<br/>integration docs"]
  node_usecases["Use cases<br/>feature docs"]
  node_resources["Resources<br/>reference docs"]
  node_support["Support matrix<br/>compatibility docs"]
  node_knoxctl["Knoxctl<br/>cli docs"]
  node_intro["Introduction<br/>overview docs"]
  node_cards["Use-case cards<br/>generated docs"]
  node_genflow["Card generation<br/>content pipeline<br/>[generate-cards.sh]"]
  node_templates["Use-case templates<br/>source templates"]
end

subgraph group_g3["Theme & assets"]
  node_overrides["Theme overrides<br/>theme layer"]
  node_mainhtml["Main template<br/>theme template<br/>[main.html]"]
  node_banner["Banner<br/>partial template<br/>[banner.html]"]
  node_logo["Logo switch<br/>partial template<br/>[logo.html]"]
  node_tabs["Tabs<br/>partial template<br/>[tabs.html]"]
  node_assets["Shared assets<br/>static assets"]
  node_js["Extra JS<br/>client script<br/>[extra.js]"]
end

node_mkdocs -->|"indexes"| node_docsroot
node_mkdocs -->|"uses theme"| node_overrides
node_mkdocs -->|"includes"| node_assets
node_mkdocs -->|"bundles"| node_js
node_mkdocs -->|"references"| node_cards
node_mkdocs -.->|"validated by"| node_ci
node_makefile -->|"invokes"| node_mkdocs
node_makefile -->|"runs"| node_genflow
node_ci -->|"validates"| node_mkdocs
node_docsroot -->|"contains"| node_getting
node_docsroot -->|"contains"| node_howto
node_docsroot -->|"contains"| node_integrations
node_docsroot -->|"contains"| node_usecases
node_docsroot -->|"contains"| node_resources
node_docsroot -->|"contains"| node_support
node_docsroot -->|"contains"| node_knoxctl
node_docsroot -->|"contains"| node_intro
node_usecases -->|"sources"| node_genflow
node_genflow -->|"generates"| node_cards
node_templates -->|"feeds"| node_genflow
node_overrides -->|"includes"| node_mainhtml
node_overrides -->|"includes"| node_banner
node_overrides -->|"includes"| node_logo
node_overrides -->|"includes"| node_tabs
node_assets -.->|"supports"| node_overrides
node_js -.->|"enhances"| node_mkdocs

click node_mkdocs "https://github.com/accuknox/help/blob/main/mkdocs.yml"
click node_makefile "https://github.com/accuknox/help/tree/main/Makefile"
click node_ci "https://github.com/accuknox/help/blob/main/.github/workflows/ci.yml"
click node_docsroot "https://github.com/accuknox/help/tree/main/docs"
click node_getting "https://github.com/accuknox/help/tree/main/docs/getting-started"
click node_howto "https://github.com/accuknox/help/tree/main/docs/how-to"
click node_integrations "https://github.com/accuknox/help/tree/main/docs/integrations"
click node_usecases "https://github.com/accuknox/help/tree/main/docs/use-cases"
click node_resources "https://github.com/accuknox/help/tree/main/docs/resources"
click node_support "https://github.com/accuknox/help/tree/main/docs/support-matrix"
click node_knoxctl "https://github.com/accuknox/help/tree/main/docs/knoxctl"
click node_intro "https://github.com/accuknox/help/tree/main/docs/introduction"
click node_cards "https://github.com/accuknox/help/tree/main/docs/use-cases/cards"
click node_genflow "https://github.com/accuknox/help/blob/main/docs/use-cases/generate-cards.sh"
click node_templates "https://github.com/accuknox/help/tree/main/docs/use-cases"
click node_overrides "https://github.com/accuknox/help/tree/main/overrides"
click node_mainhtml "https://github.com/accuknox/help/blob/main/overrides/main.html"
click node_banner "https://github.com/accuknox/help/blob/main/overrides/partials/banner.html"
click node_logo "https://github.com/accuknox/help/blob/main/overrides/partials/logo.html"
click node_tabs "https://github.com/accuknox/help/blob/main/overrides/partials/tabs.html"
click node_assets "https://github.com/accuknox/help/tree/main/docs/assets"
click node_js "https://github.com/accuknox/help/blob/main/docs/javascripts/extra.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_mkdocs,node_makefile,node_ci toneBlue
class node_docsroot,node_getting,node_howto,node_integrations,node_usecases,node_resources,node_support,node_knoxctl,node_intro,node_cards,node_genflow,node_templates toneAmber
class node_overrides,node_mainhtml,node_banner,node_logo,node_tabs,node_assets,node_js toneMint
```

## Components

### Build & publish

MkDocs configuration, local build entry points, and CI validation

- [mkdocs.yml](https://github.com/accuknox/help/blob/main/mkdocs.yml): nav/config · Central MkDocs configuration and curated site navigation · `mkdocs.yml`
- [Makefile](https://github.com/accuknox/help/tree/main/Makefile): build entry · Local build and generation targets · `Makefile`
- [CI workflows](https://github.com/accuknox/help/blob/main/.github/workflows/ci.yml): validation/build · GitHub Actions automation for validation and site builds · `.github/workflows/ci.yml`

### Content authoring

Primary Markdown documentation domains and generated content

- [docs/](https://github.com/accuknox/help/tree/main/docs): docs source · Primary authored content tree for the help center · `docs`
- [Getting started](https://github.com/accuknox/help/tree/main/docs/getting-started): product docs · Onboarding, releases, architecture, and prerequisites · `docs/getting-started`
- [How-to guides](https://github.com/accuknox/help/tree/main/docs/how-to): procedural docs · Operational guides, onboarding flows, and product setup · `docs/how-to`
- [Integrations](https://github.com/accuknox/help/tree/main/docs/integrations): integration docs · CI/CD, SIEM, SSO, ticketing, and API integrations · `docs/integrations`
- [Use cases](https://github.com/accuknox/help/tree/main/docs/use-cases): feature docs · Product walkthroughs, security scenarios, and narratives · `docs/use-cases`
- [Resources](https://github.com/accuknox/help/tree/main/docs/resources): reference docs · Troubleshooting, manuals, reports, and glossary · `docs/resources`
- [Support matrix](https://github.com/accuknox/help/tree/main/docs/support-matrix): compatibility docs · Compatibility and support tables for clouds, registries, and VMs · `docs/support-matrix`
- [Knoxctl](https://github.com/accuknox/help/tree/main/docs/knoxctl): cli docs · CLI command, config, and scan documentation · `docs/knoxctl`
- [Introduction](https://github.com/accuknox/help/tree/main/docs/introduction): overview docs · Top-level product introduction and comparison content · `docs/introduction`
- [Use-case cards](https://github.com/accuknox/help/tree/main/docs/use-cases/cards): generated docs · Generated card-based landing pages and snippets · `docs/use-cases/cards`
- [Card generation](https://github.com/accuknox/help/blob/main/docs/use-cases/generate-cards.sh): content pipeline · Template-to-card authoring flow for use-case pages · `docs/use-cases/generate-cards.sh`
- [Use-case templates](https://github.com/accuknox/help/tree/main/docs/use-cases): source templates · Template and resource inputs for generated use-case pages · `docs/use-cases`

### Theme & assets

Material theme overrides, shared UI assets, and client-side behavior

- [Theme overrides](https://github.com/accuknox/help/tree/main/overrides): theme layer · Material theme customization and page chrome templates · `overrides`
- [Main template](https://github.com/accuknox/help/blob/main/overrides/main.html): theme template · Extends the base theme layout · `overrides/main.html`
- [Banner](https://github.com/accuknox/help/blob/main/overrides/partials/banner.html): partial template · Dismissible release banner chrome · `overrides/partials/banner.html`
- [Logo switch](https://github.com/accuknox/help/blob/main/overrides/partials/logo.html): partial template · Light and dark logo switching · `overrides/partials/logo.html`
- [Tabs](https://github.com/accuknox/help/blob/main/overrides/partials/tabs.html): partial template · Custom top tabs with support and contact links · `overrides/partials/tabs.html`
- [Shared assets](https://github.com/accuknox/help/tree/main/docs/assets): static assets · Images, icons, and CSS used across the site · `docs/assets`
- [Extra JS](https://github.com/accuknox/help/blob/main/docs/javascripts/extra.js): client script · Site behavior such as analytics and trailing-slash handling · `docs/javascripts/extra.js`

## Connections

- mkdocs.yml → docs/: indexes · Navigation maps curated documentation content
- mkdocs.yml → Theme overrides: uses theme · MkDocs loads Material overrides for page chrome
- mkdocs.yml → Shared assets: includes · Site build includes shared CSS, images, and icons
- mkdocs.yml → Extra JS: bundles · Custom JavaScript is injected into the rendered site
- mkdocs.yml → Use-case cards: references · Navigation includes generated use-case pages
- mkdocs.yml → CI workflows: validated by · Repository changes are checked in automation
- Makefile → mkdocs.yml: invokes · Local build and preview commands wrap MkDocs
- Makefile → Card generation: runs · Make targets trigger the generated-content pipeline
- CI workflows → mkdocs.yml: validates · CI runs MkDocs checks and strict builds on changes
- docs/ → Getting started: contains · Docs tree contains onboarding and release content
- docs/ → How-to guides: contains · Docs tree contains procedural guidance
- docs/ → Integrations: contains · Docs tree contains integration guides
- docs/ → Use cases: contains · Docs tree contains product use-case narratives
- docs/ → Resources: contains · Docs tree contains reference and troubleshooting content
- docs/ → Support matrix: contains · Docs tree contains support and compatibility matrices
- docs/ → Knoxctl: contains · Docs tree contains CLI documentation
- docs/ → Introduction: contains · Docs tree contains introductory pages
- Use cases → Card generation: sources · Templates and snippets feed the generation flow
- Card generation → Use-case cards: generates · Pipeline produces card-based use-case pages
- Use-case templates → Card generation: feeds · Template and resource files are transformed by the generator
- Theme overrides → Main template: includes · Theme layer extends the base template
- Theme overrides → Banner: includes · Theme layer provides reusable banner partial
- Theme overrides → Logo switch: includes · Theme layer provides reusable logo partial
- Theme overrides → Tabs: includes · Theme layer provides reusable tab partial
- Shared assets → Theme overrides: supports · Shared styling and media reinforce the customized theme
- Extra JS → mkdocs.yml: enhances · Client behavior augments the rendered static site
