mirror of
https://github.com/django-components/django-components.git
synced 2025-11-01 23:50:44 +00:00
refactor: use .nav.yml to define page order instead of nav weights (#1000)
This commit is contained in:
parent
f36581ed86
commit
d5e45125dc
57 changed files with 95 additions and 231 deletions
5
docs/guides/setup/.nav.yml
Normal file
5
docs/guides/setup/.nav.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# `.nav.yml` is provided by https://lukasgeiter.github.io/mkdocs-awesome-nav
|
||||
nav:
|
||||
- Syntax highlighting: syntax_highlight.md
|
||||
- Caching: caching.md
|
||||
- Development server: development_server.md
|
||||
|
|
@ -1,8 +1,3 @@
|
|||
---
|
||||
title: Caching
|
||||
weight: 2
|
||||
---
|
||||
|
||||
This page describes the kinds of assets that django-components caches and how to configure the cache backends.
|
||||
|
||||
## Component's JS and CSS files
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
---
|
||||
title: Development server
|
||||
weight: 3
|
||||
---
|
||||
|
||||
### Reload dev server on component file changes
|
||||
|
||||
This is relevant if you are using the project structure as shown in our examples, where
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
---
|
||||
title: Syntax highlighting
|
||||
weight: 1
|
||||
---
|
||||
|
||||
## VSCode
|
||||
|
||||
1. First install [Python Inline Source Syntax Highlighting](https://marketplace.visualstudio.com/items?itemName=samwillis.python-inline-source) extension, it will give you syntax highlighting for the template, CSS, and JS.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue