Giter VIP home page Giter VIP logo

usermanual's Introduction

Usermanual

Note: in order to run the whole documentation stack locally (with snippets and samples), see the forum entry.

This is both the source documentation and build system for the Aria Templates Usermanual. It consists of:

  • Sources files for the usermanual documentation (located in src/)
  • A build system to generate this content (located at build.js)
  • A mediawiki extractor to convert documentation from a wiki installation to markdown files (located in mediawikiextractor/)
  • A local Express test server to be able to review your changes locally (located at test.js)

After you clone this repo, remember you have to install the dependencies. Call:

$ npm install

Running a Build

You should update documentation files inside the src folder, and run the build using this command:

$ node build

If you want to just build the latest version of documentation for quick testing:

$ node build latest

Note that build works with Node 0.8.x, it doesn't run properly on Node 0.10.x.

Launching the test server

$ node test // and follow instructions

Anytime you build a new version of the documentation, you can test your changes using the test server. Just open a browser on http://localhost:8000/ and navigate to your page.

Hooks

Note that this repository uses a git commit hook. Any pushes or merges into the master branch rebuilds all versions of the documentation on the website.

Rolling out a new version

Anytime a new version of the documentation is rolled out (ie for each new ariatemplates version) there are few operations to perform on this repository

  • Copy /src/latest/ to /src/<% new version here %>/

  • Do the same for /resources/articles/navigationbar/latest.md

  • Edit /resources/articles/versionList.jade to add the new version (have a look at the bottom of the file)

    from

    ...
    mixin version("1.3.6", true)
    mixin version("1.3.5")
    mixin version("1.3.4")

    to

    ...
    mixin version("<% new version here %>", true)
    mixin version("1.3.6")
    mixin version("1.3.5")
    mixin version("1.3.4")
  • Push your changes, the hook will rebuild the whole documentation base

Contributing

If you find any typos or have any ideas of something that should be documented, we'll very gladly take any pull requests for new documentation!

This source material is intended to be open and sharable to all.

Fork the repository, create a topic branch, do your fix and finally open a pull request.

License

Aria Templates usermanual documentation is licensed under a Apache 2.0 license

usermanual's People

Contributors

carlo-mr avatar divdavem avatar fab-b avatar fbasso avatar flongo avatar jakub-g avatar simonarbuckle avatar ymeine avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.