Scenarioo Web Page and Documentation
Our web page is published thoough github pages under http://www.scenarioo.org
The webpage is maintained in repository https://github.com/scenarioo/scenarioo.github.io
The web page can be changed in that repo by simply do a PR to master and merging it.
See README.md in that repo for further detailed information.
Changes for further releases should not yet been made on master but prepared on special release branches, to be merged on the date of release.
We do not use Wikis!
All our repos have a docs folder with a markdown file documentation using gitbook tooling.
The sources for the major Scenarioo documentation is in major Scenarioo repository here: https://github.com/scenarioo/scenarioo/tree/develop/docs
This docu is deployed as a part of our webpage using gitbook tooling under following URLs for different product versions:
- Master Docs: This is the docu of the last official released version.
- Development Docs: This is the docu of the last official released version.
- Specific Release Version Docs - e.g. for Version 3.0: For every major release we keep one archived published version of the docu. Links in our product usually point to that version of the docu that is currently installed. If we fix / improve docu of latest release we have to publish it to the latest archived version and as well into the master documentation (by doing the change on the release brnach of that version and then merge it to master).
How to Publish Documentation
Configuration for new Releases
This has to be still done manually before publishing:
- Configuration for a new release version has to be added to
docs/book.jsonsuch that this version appears in the version selection dropdown in the documentation.
- Make sure to set the new version as selected on the release branch (
- Make sure to keep the "develop"-version selected on the develop branch - just change it back after the release has been merged to develop).
Easiest way to publish the documentation is to use the automation on Jenkins which currently automatically publishes the docu as follows:
- Develop Docu: Automatically updated/published on every push to develop branch.
- Master Docu: Automatically updated/published on every push to master branch (e.g. for hotfixes).
- Release Docu (versioned): Automatically updated/published on every push to any release/* branch (under same version number as the name of the release branch, e.g.
If you ever need to publish manually:
- Make sure the version of scenarioo/scenarioo you want to release docu for is checked out (usually
masteror a release branch).
npm run buildin
- Use the npm tooling, similar to
- OR: Copy the generated content of the
docs/_bookfolder to the scenarioo.github.io repository into the appropriate subfolder of
docsfor the version you want to deploy
- Make sure the target folder is cleaned first, if there was already an old version of the docu deployed for that same version, before you copy manually (gh-pages tooling is doing it for you).
- If this is the docu of the current official released version, please publish both to its concrete version directory as well as to folder
master(once it is merged to master branch).
- Commit and push the added / updated documentation versions to master branch on scenarioo.github.io
- When done:
- make sure that your changes to scenarioo/scenarioo are merged to develop
- on develop verify in
book.jsonthat the "develop"-version is configured as selected again!