TheThingsIndustries / lorawan-stack-docs

Documentation for The Things Stack
Apache License 2.0
32 stars 65 forks source link

Release v3.25.1 #1083

Closed adriansmares closed 1 year ago

adriansmares commented 1 year ago

Overview

This is a checklist for releases. This is filled in by both the releaser and the reviewer where necessary.

Update Documentation

$ tools/bin/mage ttiProto:hugoData
$ rsync --recursive --delete --remove-source-files ../lorawan-stack/api/ttn.lorawan.v3/ ./doc/data/api/ttn.lorawan.v3/
$ rsync --recursive --delete --remove-source-files ../lorawan-stack/api/tti.lorawan.v3/ ./doc/data/api/tti.lorawan.v3/

NOTE: This assumes that the parent directory of lorawan-stack-docs also contains lorawan-stack. If not, you'll need to adjust the commands accordingly.

$ go build -tags tti ./cmd/tti-lw-cli
$ HOME='$HOME' ./tti-lw-cli gen-md-doc -o ../lorawan-stack-docs/doc/content/ttn-lw-cli
$ HOME='$HOME' ./tti-lw-cli gen-json-tree -o ../lorawan-stack-docs/doc/data/commands
$ sed -i.bak 's/end-devices_templates/templates/g' ../lorawan-stack-docs/doc/content/ttn-lw-cli/ttn-lw-cli_end-devices.md
$ rm ../lorawan-stack-docs/doc/content/ttn-lw-cli/ttn-lw-cli_end-devices.md.bak

NOTE: This assumes that the parent directory of lorawan-stack-docs also contains lorawan-stack. If not, you'll need to adjust the commands accordingly.

Check (for reviewers)

doc/data/api/tti.lorawan.v3/messages.yml
doc/data/api/tti.lorawan.v3/services.yml
doc/data/api/tti.lorawan.v3/enums.yml
doc/data/api/ttn.lorawan.v3/messages.yml
doc/data/api/ttn.lorawan.v3/services.yml
doc/data/api/ttn.lorawan.v3/enums.yml
doc/data/commands/ttn-lw-cli.json
doc/content/ttn-lw-cli/*.md
NicolasMrad commented 1 year ago

@nejraselimovic can we put release issues on priority please? Let's try to merge them as fast as possible

KrishnaIyer commented 1 year ago

This whole thing should be automated. @NicolasMrad can you please create an issue and assign it to me for Q2? I'll pick this up.

nejraselimovic commented 1 year ago

I can continue doing these until the process is automated. But I'm having issues generating these docs at the moment, not sure why

Screenshot from 2023-05-07 20-25-47