mirror of
https://github.com/Hopiu/djLint.git
synced 2026-04-05 06:50:58 +00:00
18 lines
585 B
Markdown
18 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.
|