-
Lovin' this framework and wanting to modify the source code for more versatile theme control. I've gotten the this repo working locally and am able to modify the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If you are building the docs from this repo, you shouldn't need to build the code first, |
Beta Was this translation helpful? Give feedback.
-
The documentation is clear :-) I followed it today when forking the repo. I have no experience with TypeScript! For anyone curious about getting hosting working, I added a simple GitHub Pages deploy action. To keep my experiments separate, my site lives in a new folder To achieve this I added to the scripts in package.json:
and a workflow .github/workflows/gh-pages.yml to publish to Github Pages. My fork is public at https://github.com/drnw/observable/ |
Beta Was this translation helpful? Give feedback.
build
command transpiles the code to javascript and saves it to thedist/
folderdocs:build
command creates the documentation website and saves it to thedocs/.observablehq/dist/
folderIf you are building the docs from this repo, you shouldn't need to build the code first,
docs:build
should reflect the changes you made both in the src/ and the docs/ directories.