ehipasika / aframe-site

Official A-Frame site.

Home Page:https://aframe.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aframe-site

Powers the A-Frame site.

This site is built using hexo. Site content is written in Markdown (and located in the src/ directory). Pull requests are welcome!

Local Development

To install the dependencies and start the local development server:

npm install && npm start

Then load http://localhost:4000/!

You may need to occasionally need to resart the server if you cause breaking changes. Just proceed as usual.

Writing Documentation

Documentation lives in the A-Frame GitHub repo.

First, clone the A-Frame GitHub repo.

cd aframe
npm link

And then link aframe-site to aframe:

cd aframe-site
npm link aframe

Then the master documentation will update as you work on them from the A-Frame repository. This works because we have pointed the A-Frame site, via a soft symbolic link, to the documentation installed in node_modules/aframe/docs/.

Old versions of documentation are handled through multidep.json.

Deployment

To deploy this to production (GitHub Pages):

npm run deploy

It will now be live!

Credits

Source adopted from the awesome @vuejs site.

License

Licensed under The MIT License.

About

Official A-Frame site.

https://aframe.io/

License:MIT License


Languages

Language:JavaScript 99.4%Language:CSS 0.4%Language:HTML 0.3%Language:Makefile 0.0%