diff options
author | pommicket <pommicket@gmail.com> | 2023-08-28 11:50:57 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-28 11:50:57 -0400 |
commit | f4cc8ce7a8712e2e840b0c120a3f86eadb665626 (patch) | |
tree | 36f5ee546dce6395006decc50418ccf7505f4237 /guide-src/development/index.html | |
parent | f790b4e1baa5dfe1296cf0887011583bee7afca8 (diff) |
add, sub, div, more work on the guide
Diffstat (limited to 'guide-src/development/index.html')
-rw-r--r-- | guide-src/development/index.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/guide-src/development/index.html b/guide-src/development/index.html new file mode 100644 index 0000000..717ff6d --- /dev/null +++ b/guide-src/development/index.html @@ -0,0 +1,27 @@ +--- getting started + +<p> +note: this section is only for people who want to contribute to pugl itself. +</p> + +<p> +after cloning the <a href="https://github.com/pommicket/pugl" target="_blank">repository</a>, +make sure you run +<pre><code>npm install +ln -s ../../pre-commit .git/hooks/</code></pre> + +this ensures that your changes are prettified & linted. +</p> + +<p> +the main files of interest are <code>index.html</code> and <code>pugl.js</code>, which has all +the JavaScript for pugl (hopefully it doesn't become too unmanageable to have just one file). +</p> + +<h3>contributing to the guide</h3> +<p> +the guide is automatically generated from the files in <code>guide-src/</code> by <code>guide-src/make.py</code> +(you can also just run <code>make</code> to generate it), which is a simple script whose main purpose is adding +a sidebar to all of the guide pages. any PNG files are automatically copied from <code>guide-src/</code> to <code>guide/</code>. +when you add or remove pages from the guide, you'll need to edit <code>guide-src/outline.txt</code>. +</p> |