Docs cleanup

This commit is contained in:
Jeremy Stretch 2025-02-07 12:44:21 -05:00
parent 72e93b04da
commit 0b194e363e
2 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,7 @@ NetBox generally follows the [Django style guide](https://docs.djangoproject.com
### Linting ### Linting
The [ruff](https://docs.astral.sh/ruff/) linter is used to enforce code style. A [pre-commit hook](./getting-started.md#3-enable-pre-commit-hooks) which runs this automatically is included with NetBox. To invoke `ruff` manually, run: The [ruff](https://docs.astral.sh/ruff/) linter is used to enforce code style, and is run automatically by [pre-commit](./getting-started.md#5-install-pre-commit). To invoke `ruff` manually, run:
``` ```
ruff check netbox/ ruff check netbox/

View File

@ -64,6 +64,8 @@ markdown_extensions:
format: !!python/name:pymdownx.superfences.fence_code_format format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed: - pymdownx.tabbed:
alternate_style: true alternate_style: true
not_in_nav: |
/index.md
nav: nav:
- Introduction: 'introduction.md' - Introduction: 'introduction.md'
- Features: - Features: