We need to be able to support the latest version up to our major upgrade, and the versions after our upcoming major upgrade (after the following story #1379), on our documentation. As we will have to support the two versions simultaneously for a period of 3 months.
This will be done by implementing a system similar to Bootstrap's documentation, where they have the version # in the URL, and that separates which version the documentation is for.
Acceptance Criteria:
We have two different URLs for component documentation
How we decide on what the URLs should be is still left to be figured out. We have an upgrade from v3 to v4 for Angular, and from v4 to v5 for React.
We will have to write all new documentation for Angular and React for the new version being supported.
Tasks below:
[x] Handle different versions and routes for v3 angular, v4 react and current version for both react and angular
[x] Tweak Sandbox code auto-generated code snippet for v3 angular, v4 react and current version for component name
[x] Figure out how to display component properties tables from different version (accordion)
[ ] Add microsite header version slot and have a basic method/dropdown to allow user navigates between v3 angular, v4 react, current versions. Make sure the component side menu link will handle well (perhaps we replace the URL of side menu item to handle v3, v4..)
[ ] Remove language dropdown from side menu
[ ] Handle sandbox code generated code snippet for different version, camel case for latest angular version, smaller case for v3 angular version. Handle form control (reactive form).
[ ] Handle form module [ngModel] for angular input components using code sandbox generator
Recheck all the code snippets handled with below components:
Info
We need to be able to support the latest version up to our major upgrade, and the versions after our upcoming major upgrade (after the following story #1379), on our documentation. As we will have to support the two versions simultaneously for a period of 3 months.
This will be done by implementing a system similar to Bootstrap's documentation, where they have the version # in the URL, and that separates which version the documentation is for.
Acceptance Criteria:
Tasks below:
version
slot and have a basic method/dropdown to allow user navigates between v3 angular, v4 react, current versions. Make sure the component side menu link will handle well (perhaps we replace the URL of side menu item to handle v3, v4..)