A metapage is a webpage that consists of a network of other embedded webpages.
For documentation and examples: https://metapages.org/
THIS IS OUT OF DATE, UNDER HEAVY DEVELOPMENT, CONTACT AUTHOR
This repository publishes the following artifacts (and lists the source directory):
- javascript libraries:
- https://www.npmjs.com/package/metapage <-
libs/metapage
- https://www.npmjs.com/package/metaframe <-
libs/metaframe
- https://www.npmjs.com/package/metapage <-
- https://metapages.org/documentation/ <-
docs
documentation with running, interactive examples.
Install required:
Install optional (advanced):
These tools are only required if you are compiling code on your host machine (if you want to do this, you'll know how to setup) rather than use the pre-configured docker-compose stack that requires no local host installs (except docker) and possibly just for the build commands.
First
`just run` OR `docker-compose up jekyll proxy shell-haxe test`: starts the jekyll dev server
Then:
- Edit haxe files, or documentation. Code and examples and documentation are all auto-compiled+reloaded. Source code in
./libs
is in the Haxe language).- haxe code is compiled, if successful, packaged into local libraries for the local web server. The library versions are
latest
.docs/js
: for local developmentlib/build/npm
: for building the npm+browser libraries
- The jekyll server reloads any changed docs files
- haxe code is compiled, if successful, packaged into local libraries for the local web server. The library versions are
- Comprehensive metapage test of the latest version: http://localhost:4000/tests/
- Repeat
Tips:
toggle the debug
flag in libs/webpack.config.js
toggle the jsondiff
flag libs/build-base.hxml
If required, run the CI tests locally:
make ci-local-test-google-cloud-build
- On master branch:
just version-new-publish
- Google Cloud Build (./cloudbuild.yaml) sees the npm version is new, so creates and publishes new npm packages via
make npm-publish
The docs and examples are static webpages built by jekyll and server via github pages:
https://help.github.com/articles/using-jekyll-as-a-static-site-generator-with-github-pages/