Skip to content

Complete (in theory...) documentation for Ractive.js

Notifications You must be signed in to change notification settings

paulie4/docs.ractivejs.org

 
 

Repository files navigation

docs.ractivejs.org

The documentation for Ractive.js.

Building

# clone the repo
$ git clone https://github.com/RactiveJS/docs.ractivejs.org.git
$ cd docs.ractivejs.org

# install dev dependencies (grunt and friends)
$ npm install

# start building
$ grunt

Running grunt will build the site and rebuild when docs changes. You need to use a local webserver to preview in your web browser. One easy option is to use http-server (installable via npm install -g http-server). You need to run it from the /build directory and explicitly include html as the default extension (add -s for silent mode):

docs.ractive.org/build>http-server -e html

Open localhost on the port specified (usually 8080), and it should redirect to localhost:8080/latest/get-started. Refresh to pick up changes made in docs.

Contributing

If you see something wrong, out of date, or missing from this documentation, please raise an issue on GitHub or - even better - submit a pull request. Your fellow Ractive users will thank you!

In lieu of formal contribution guidelines, take care to follow the existing structure and conventions. Send pull requests to the master branch, not gh-pages (which is a snapshot of the build folder in master).

Questions?

Contact @RactiveJS on Twitter.

About

Complete (in theory...) documentation for Ractive.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.4%
  • CSS 6.8%
  • Handlebars 6.0%
  • Other 0.8%