-> see here for the overview page
Target: automatically generate code documentation for the Project Tiny Weather Forecast Germany by Pawel Dube (@Starfish).
Note: 'TWFG' is an inofficial abbreviation for Tiny Weather Forecast Germany.
- lower the bar for contributions from the public
- show case generation of UML diagrams for javadoc workflows
tl;dr -> it runs completely autonomously once per day at 5:20am UTC on shared runners of GitLab CI/CD
The Gitlab CI/CD pipeline defined in .gitlab-ci.yml
does the following:
- update the shipped packages
- install
graphviz
andbrotli
- clone the code repository from codeberg.org using git
- run
javadoc
against the code repositories java files -> the umldoclet by Talsma ICT is used instead of the default doclet to produce UML diagrams during the process. - copy generated html assets to
public
directory
- OpenJDK 11 (contained in
openjdk:11-jdk
docker image) - umldoclet -> graphviz
- brotli and gzip -> compression of assets (js, css, images)
GNU GENERAL PUBLIC LICENSE (GPLv3) please see the License
file for details.
Copyright of the main project -> Tiny Weather Forecast Germany --> Pawel Dube (@Starfish)
This CI/CD script was created by Jean-Luc Tibaux (@eUgEntOptIc44).
The GZIP compression feature (high priority for SEO) was integrated using intel shared by Christian Danscheid.
The umldoclet by Talsma ICT uses graphviz via PlantUML.
Bugfix to use javadoc with openjdk versions newer then 8 -> https://stackoverflow.com/questions/38621202/ignore-minor-errors-using-javadoc/63683772#63683772 -> --ignore-source-errors
-> provided by user Marteng -> License: CC BY-SA 4.0
Bugfix to resolve javadoc search 'undefined' error -> https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url#52603413 -> --no-module-directories
-> provided by user Radoslav Ivanov -> License: CC BY-SA 4.0
- As noted above contributions to Tiny Weather Forecast Germany are managed at the 'main' code repository
- Please feel free to contribute to this script by opening issues and/or merge requests.
- Translations of Tiny Weather Forecast Germany are managed at the weblate instance provided by Marcus Hoffmann (@Bubu).
- For cybersec, privacy and/or copyright related issues regarding this repository please directly contact the maintainer Jean-Luc Tibaux (@eUgEntOptIc44)