|Author(s):||Yannik Fuhrmeister email@example.com|
We want to introduce versioning to be able to provide dokumentation for multiple versions of the SecureCodeBox. The tool that we are currently using for documentation is Docusaurus. Docusaurus provides the possibility to maintain multiple versions out of the box (https://v2.docusaurus.io/docs/versioning/).
We will need to specify how many versions of the documentation we want to maintain to avoid inconsistencies and overhead. Furthermore, we need to decide which version increments need to have their own branch of documentation.
- We introduce a new documentation version for every minor version (https://semver.org/) to ensure that the documentation is up to date
- We maintain the latest 3 major versions (previous, current, next)
- We maintain the latest minor version for each major version
- We do not maintain patch versions nor multiple minor versions for each major version!
- Example: For SecureCodeBox versions
3.0.0the documentation versions would be
- TL;DR We maintain 3 versions of the documentation
- We need to update the documentation version everytime we increment minor or major versions of the SecureCodeBox (manually or with action)
- Maintaining the documentation could be more difficult due to now increased number of documentation files
- Documentation has to be maintained in two repositories because when creating a new version Docusaurus creates a copy of all files in this respository (see https://v2.docusaurus.io/docs/versioning/#directory-structure)