TOC branch will contain
Code Block |
---|
index.html |
...
widgets.json |
...
robots.txt |
...
css/ |
...
js/ |
...
images/ |
Widgets
Types
- Version Switcher ( versions dropdown )
Notification - latest version available on prior versions.
Widget working
Widgets will consume data from the widgets.json file.
- widgets.js file generates HTML for widgets and appends them in the empty widget placeholder divs.
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.
Code Block |
---|
{ |
...
"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.
Related Issues
Jira Legacy | ||||||||
---|---|---|---|---|---|---|---|---|
|
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|