mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-23 16:50:23 +00:00
17 lines
585 B
Markdown
17 lines
585 B
Markdown
# djLint Docs
|
|
|
|
Docs are made with [11ty](https://www.11ty.dev).
|
|
|
|
## Running the docs website locally
|
|
|
|
1. change into the docs dir. `cd docs`
|
|
2. install node deps. `npm install`
|
|
3. turn on the website. `npm start`
|
|
|
|
## How the demo works
|
|
|
|
The demo is running python as a webworker in web assembly from [pyodide](https://pyodide.org/en/stable/index.html).
|
|
|
|
When the page is access a webworker starts, downloads python, installs djLint and deps (notice the wheels in `/src/static/py` that are updated when a new release is created.).
|
|
|
|
Once the worker responds "ready" the web UI is shown.
|