This folder contains the source of the official SmallJS website, hosted on:
small-js.org
If you want to improve the site, please create a pull-request on GitHub:
github.com/Small-JS/SmallJS
The site uses static HTML that can be hosted on any static webserver.
These are the subsites. (Click on the titles for details).
This is the main static website that also has a copy of the other subsites:
Examples, Playground, Tutorial and Reference.
The tutorial subsite shows the page index and page content of the tutorial.
It is designed to be included as an <iframe> in the main website,
but it can also be run stand-alone for testing.
This project generates the tutorial index and pages,
in the ./web folder of the Tutorial subsite.
The Reference subsite shows the page index and page content of the Reference.
It is designed to be included as an <iframe> in the main website,
but it can also be run stand-alone for testing.
This project generates the Reference index and pages,
in the ./web folder of the Reference subsite.
First build SmallJS with ../SmallJS/buildAll.sh including the compiler, example apps and the Playground.
Then run install.sh at the root of this Website repo once, to check prerequisites and install npm packages.
Then run build.sh at the root of this Website repo to build all dependencies and finally the containing Website.
Read Website/Website.md to run the result.
