TOC branch will contain
index.html
widgets.json
robots.txt
css/
js/
images/
widgets.json
It will provide data to the widgets
Whenever a new version doc is added or removed, this file will have to be updated.
{
"versions": [
{
"version": "2.0",
"latest": true
},
{
"version": "1.9",
"latest": false
},
{
"version": "1.8",
"latest": false
}
]
}
Widgets
Types
TOC
Sidebar
Notification - latest version available on prior versions.
Widget working
Widgets will be based on handlebar template
Widgets will consume data from the manifest file from each version.
manifest files will be included with require.js
Note
robots.txt
If any of the version is unpublished, then that directory will have to be disallowed to be indexed in Search engines.