This repository contains the commercial/enterprise documentation for NetBox Labs products. The documentation is integrated with the main NetBox Labs documentation site at https://netboxlabs.com/docs.
git clone https://github.com/netboxlabs/console-docs
cd console-docs
# Using Python virtual environment (recommended)
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Or using global Python (if you have permission issues)
/Users/[username]/Library/Python/3.9/bin/mkdocs serve
mkdocs serve
# Visit: http://127.0.0.1:8000
- Create or edit
.md
files in thedocs/
directory - Use proper semantic tagging in frontmatter (see Tagging Guide)
- Test locally before committing
git checkout -b feature/your-feature-name
git add docs/your-new-file.md
git commit -m "Add documentation for your feature"
git push origin feature/your-feature-name
# Create a pull request on GitHub
Important: Documentation requires two separate pull requests to go live:
- Create PR in this repository (
console-docs
) - Get it reviewed and merged
- Tag the version (for production releases)
- Create PR in
netboxlabs-website-dochub
- Update integration configuration to include your new content
- Get it reviewed and merged
console-docs
(this repo) β Contains the actual documentation contentnetboxlabs-website-dochub
β Combines content from multiple repos and publishes to the live site- Integration required β Changes here don't automatically appear on the live site
graph LR
A[console-docs<br/>π Your Content] --> B[dochub<br/>π§ Integration Site]
C[netbox repo<br/>π Community Docs] --> B
D[Other Repos<br/>π Additional Content] --> B
B --> E[netboxlabs.com/docs<br/>π Live Site]
style A fill:#e1f5fe
style B fill:#fff3e0
style E fill:#e8f5e8
Key Points:
- π Content stays hidden until both PRs are merged
- π·οΈ Version tags control what customers see
- π Two-repo process ensures content quality and integration
Every documentation file should include proper frontmatter with semantic tags:
---
tags:
- cloud # Edition (NetBox Cloud, Enterprise, Community)
- enterprise
- discovery # Product (discovery, assurance, operator, etc.)
- getting-started # Content type (installation, configuration, etc.)
title: "Your Document Title"
description: "SEO-friendly description"
author: "NetBox Labs Documentation Team"
last_updated: "2025-01-27"
---
tags:
- cloud # NetBox Cloud features
- enterprise # NetBox Enterprise features
- community # NetBox Community (open source) features
- airgap # Air-gapped deployment features
tags:
- netbox # Core NetBox functionality
- discovery # NetBox Discovery features
- assurance # NetBox Assurance features (premium only)
- operator # NetBox Operator features (premium only)
- branching # NetBox Branching extension (premium only)
tags:
- installation # Installation and setup guides
- configuration # Configuration and settings
- troubleshooting # Problem resolution guides
- getting-started # Introductory guides
- administration # System administration
- api # API documentation
- authentication # SSO, security, access control
console-docs/
βββ docs/ # π Documentation content
β βββ administration-console/ # NetBox Cloud admin features
β βββ cloud-connectivity/ # Cloud connectivity guides
β βββ netbox-assurance/ # NetBox Assurance documentation
β βββ netbox-discovery/ # NetBox Discovery documentation
β βββ netbox-enterprise/ # NetBox Enterprise guides
β βββ netbox-extensions/ # Extensions and add-ons
β βββ netbox-integrations/ # Third-party integrations
βββ ai-reference/ # π€ AI development resources
βββ mkdocs.yml # π§ Local development configuration
βββ versions.json # π Version control configuration
βββ README.md # π This file
Version | Status | Branch | Customer Visibility | Purpose |
---|---|---|---|---|
v1.10 | π’ Current | main |
β Visible | Current customer documentation |
v1.9 | π΅ Stable | v1.9 |
β Visible | Maintenance for existing customers |
v1.11 | π‘ Beta | v1.11 |
β Hidden | NetBox Enterprise + Helm features |
v1.12 | π΄ Alpha | v1.12 |
β Hidden | NetBox Enterprise + HA features |
git checkout main # v1.10 content - goes live immediately
# Edit documentation for current features
git add docs/path/to/file.md
git commit -m "Update SSL certificate installation steps"
git push origin main
# After PR merge + dochub integration β Live on website
π For Future Features (Hidden Until Release)
git checkout -b feature/new-feature
# Add documentation for future features
git add docs/netbox-assurance/new-feature.md
git commit -m "Add documentation for upcoming feature"
git push origin feature/new-feature
# Stays hidden until feature branch is merged to a live version
This repository uses a comprehensive semantic tagging system for intelligent content organization:
Click to expand complete tagging reference
tags:
# Authentication & Security
- authentication # SSO, security, access control
- sso # Single sign-on features
- ldap # LDAP integration
- saml # SAML authentication
- rbac # Role-based access control
- security # Security features
- encryption # Encryption and certificates
# System Administration
- administration # System administration
- database # Database management
- backup # Backup and restore
- migration # Data migration
- upgrade # Version upgrades
- maintenance # System maintenance
# APIs and Integration
- api # REST API, GraphQL, SDKs
- rest-api # REST API specific
- graphql # GraphQL API
- webhooks # Webhook integrations
- automation # Automation and scripting
- plugins # Plugin development
# Operations and Monitoring
- operations # Monitoring, backups, maintenance
- monitoring # System monitoring
- notifications # Alerts and notifications
- logging # Logging and audit trails
- metrics # Performance metrics
tags:
- circuits # Circuit providers and connectivity
- dcim # Data Center Infrastructure Management
- ipam # IP Address Management
- tenancy # Multi-tenancy features
- virtualization # Virtual machines and clusters
- vpn # VPN tunnels and configurations
- wireless # Wireless networks
- extras # Custom fields, webhooks, templates
- core # Core NetBox functionality
This repository includes comprehensive AI reference materials in the ai-reference/
directory:
ai-reference/
βββ README.md # Complete AI reference guide
βββ QUICK_REFERENCE.md # Fast lookup for common tasks
βββ templates/ # Document templates
β βββ netbox-feature-doc-template.md # Standard feature documentation
β βββ product-landing-page.md # Product overview template
βββ style-guides/ # Writing guidelines
β βββ netbox-docs-style-guide.md # Complete style guide
β βββ product-tagging-guide.md # Tagging system guide
βββ content-strategy/ # Strategy and planning
βββ navigation-strategy.md # User-centric navigation
When working with AI tools:
- Reference the style guide:
ai-reference/style-guides/netbox-docs-style-guide.md
- Use templates:
ai-reference/templates/
- Apply proper tagging:
ai-reference/style-guides/product-tagging-guide.md
Some documentation is synced from external repositories:
Path | Repository | Purpose | Update Method |
---|---|---|---|
docs/netbox-extensions/changes/ |
netbox-changes |
NetBox Change Management docs | Script-based sync |
# For maintainers only
./scripts/update-changes-docs.sh
git add docs/netbox-extensions/changes/
git commit -m "Update NetBox Changes documentation"
git push
- Use proper semantic tagging in all documents
- Test locally before committing
- Create feature branches for new content
- Follow the two-step process for live deployment
- Reference AI templates when writing
- Don't commit directly to main without review
- Don't forget frontmatter tags in your documents
- Don't assume changes go live automatically (requires dochub integration)
- Don't merge unreleased features into live branches
Click to expand advanced technical details
Version visibility is controlled by versions.json
:
{
"versions": [
{
"version": "v1.10",
"branch": "main",
"title": "v1.10 (Current)",
"default": true,
"status": "current"
}
],
"future_versions": [
{
"version": "v1.11",
"branch": "v1.11",
"title": "v1.11 (Beta) - NetBox Enterprise with Helm",
"status": "beta"
}
]
}
The repository sends webhook notifications to netboxlabs-website-dochub
when versions are deployed. The semantic tagging system enables:
- Content Filtering: Edition-specific content visibility
- Navigation Generation: Automatic sidebar generation
- Search Enhancement: Tag-based search and filtering
- Cross-Product Discovery: Related content recommendations
# Tagging triggers automatic deployment
git tag v1.10.1
git push origin v1.10.1
# β Triggers GitHub Actions β Notifies dochub β Updates live site
If you see errors like this:
ERROR - Config value 'theme': Unrecognised theme name: 'material' ERROR - ModuleNotFoundError: No module named 'pymdownx'
Solution: Try uninstalling mkdocs
from your package manager (e.g. brew uninstall mkdocs
) and use only the pip-installed version. MkDocs doesn't work well when installed via multiple methods.
- Community Support: Join Slack in the
#netbox
channel - Documentation Issues: Create an issue in this repository
- Integration Questions: Ask in the
netboxlabs-website-dochub
repository
Ready to contribute? Start with the Quick Start section above and remember the two-step process for going live!