-
|
How can I build and preview den's documentation locally? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Just writing up what was necessary to run the docs. I would like to have a nix shell for this with maybe a hook for installing the pnpm packages, but not entirely clear how to do that in the existing flake. Ironically, the docs for how to write docs are not complete. |
Beta Was this translation helpful? Give feedback.
-
|
First, clone your fork of the repository. Next, enter a nix shell. Then, change to the docs directory and install the necessary dependencies to Finally, start the docs webserver. Now, you can edit the files in |
Beta Was this translation helpful? Give feedback.
First, clone your fork of the repository.
Next, enter a nix shell.
Then, change to the docs directory and install the necessary dependencies to
docs/node_modules.Finally, start the docs webserver.
Now, you can edit the files in
docs/src/content/docsand see your changes reflected immediately.