Central repository for design documentation of all Calypso Terminal API libraries, including UML diagrams and conception documents.
This repository uses two main branches:
main
: Contains the repository configuration and workflowsgh-pages
: Contains the actual documentation and Jekyll configuration, published at https://docs.terminal-api.calypsonet.org/
To add documentation for a new library:
# Switch to `gh-pages` branch
git checkout gh-pages
# Add the submodule pointing to the doc branch
git submodule add -b doc https://github.com/calypsonet/[library-name].git [library-name]
# Commit the changes
git add .
git commit -m "feat: add documentation for [library-name]"
git push origin gh-pages
To remove documentation for a library:
# Switch to `gh-pages` branch
git checkout gh-pages
# Remove the submodule
git submodule deinit -f [library-name]
rm -rf .git/modules/[library-name]
git rm -f [library-name]
# Commit the changes
git commit -m "feat: remove documentation for [library-name]"
git push origin gh-pages
This repository includes a GitHub Action that automatically updates all submodules to their latest commits. The action:
- Runs on manual trigger, repository dispatch event, or push to gh-pages
- Updates all submodules recursively
- Commits and pushes changes if updates are detected
- Uses a dedicated bot account for commits
You can view the action workflow in /.github/workflows/update-submodules.yml
.
Please read our contribution guidelines before submitting any changes.
This project is licensed under the Eclipse Public License v. 2.0. See LICENSE for details.