How accuknox/help works
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 docs/ · mkdocs.yml mkdocs.yml · overrides Theme overrides · generate-cards.sh Card generation
Components 22
Build & publish
MkDocs configuration, local build entry points, and CI validation
- mkdocs.yml · Central MkDocs configuration and curated site navigation
mkdocs.yml - Makefile · Local build and generation targets
Makefile - CI workflows · GitHub Actions automation for validation and site builds
.github/workflows/ci.yml
Content authoring
Primary Markdown documentation domains and generated content
- docs/ · Primary authored content tree for the help center
docs - Getting started · Onboarding, releases, architecture, and prerequisites
docs/getting-started - How-to guides · Operational guides, onboarding flows, and product setup
docs/how-to - Integrations · CI/CD, SIEM, SSO, ticketing, and API integrations
docs/integrations - Use cases · Product walkthroughs, security scenarios, and narratives
docs/use-cases - Resources · Troubleshooting, manuals, reports, and glossary
docs/resources - Support matrix · Compatibility and support tables for clouds, registries, and VMs
docs/support-matrix - Knoxctl · CLI command, config, and scan documentation
docs/knoxctl - Introduction · Top-level product introduction and comparison content
docs/introduction - Use-case cards · Generated card-based landing pages and snippets
docs/use-cases/cards - Card generation · Template-to-card authoring flow for use-case pages
docs/use-cases/generate-cards.sh - Use-case 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 · Material theme customization and page chrome templates
overrides - Main template · Extends the base theme layout
overrides/main.html - Banner · Dismissible release banner chrome
overrides/partials/banner.html - Logo switch · Light and dark logo switching
overrides/partials/logo.html - Tabs · Custom top tabs with support and contact links
overrides/partials/tabs.html - Shared assets · Images, icons, and CSS used across the site
docs/assets - Extra JS · Site behavior such as analytics and trailing-slash handling
docs/javascripts/extra.js
Connections 26
- 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