mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
Docs cleanup
This commit is contained in:
parent
72e93b04da
commit
0b194e363e
@ -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/
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user