-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
getting offline docs should be easier
for now, i have to
git clone --branch source-3.0 --depth 1 https://github.com/svgdotjs/svgdotjs.github.io.git
# done in 5 seconds, received 1.6 MB
cd svgdotjs.github.io
npm install
# done in 3 minutes, after compiling node-sass
# dynamic docs
npm run serve -s &
xdg-open http://localhost:8030/
# static docs - configure
patch -b -p1 statify.php <<EOF
--- a/statify.php
+++ b/statify.php
@@ -21,2 +21,4 @@
+$url = '';
+
// Don't touch below here
EOF
# static docs - build
curl http://localhost:8030/statify.php
sudo npm install -g node-static
static -p 8040 3.0/ &
xdg-open http://localhost:8040
the worst part is:
i need 100 MByte disk space, just for the node_modules folder
and the compiled/static docs only have 3 MByte, zipped only 250 KByte
i would love to see this done more efficient ....
probably just release the pre-compiled static docs
most people will just need docs for version 3.0 or 2.7
and if they need more, they can still clone + install
Metadata
Metadata
Assignees
Labels
No labels