Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hermes Guide: versioning #609

Open
6 of 9 tasks
adizere opened this issue Feb 4, 2021 · 5 comments
Open
6 of 9 tasks

Hermes Guide: versioning #609

adizere opened this issue Feb 4, 2021 · 5 comments
Labels
I: guide Internal: issues with the Hermes guide

Comments

@adizere
Copy link
Member

adizere commented Feb 4, 2021

Summary

The guide we keep at hermes.informal.systems is pretty amazing.

For easier maintenance, some ideas for future work include:

https://github.com/informalsystems/ibc-rs/blob/5dc062707b2f5f34722e203f26b74658646b76c0/.github/workflows/guide.yml#L3-L6

  • include a versioning scheme, so we can access a specific version of the guide, for example

hermes.informal.systems/v1/
hermes.informal.systems/v2/

Note that the current versioning scheme is very crude and it's just a remark in the guide readme file.

  • design a staging area, so that we're keeping multiple instances of the guide online: one that reflects whatever is in the master (e.g., via uri hermes.informal.systems/master/), and the other versions for all published (tagged) versions. It would be amazing if we can automate the tagging process to deploy new versions out of master.

  • run the guide build job against two chains, and use something like termbook to automatically insert the results of the various commands instead of having to maintain those manually.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@adizere adizere added the I: documentation Internal: improvements or additions to documentation label Feb 4, 2021
@adizere adizere added this to the v0.1.1 milestone Feb 4, 2021
@romac
Copy link
Member

romac commented Feb 4, 2021

modify the ci action to unpin from the dev branch

#610

@andynog
Copy link
Contributor

andynog commented Feb 4, 2021

Did some preliminary investigation on how to support versioning with mdbook. There might be a few options.

Is the idea to have some sort of a drop down box on the documentation site so users can switch between versions (something similar to cargo docs site) ?

@romac
Copy link
Member

romac commented Feb 4, 2021 via email

@andynog
Copy link
Contributor

andynog commented Feb 5, 2021

I think supporting that will be too complex at the moment with mdBook, probably would need to create a pre-processor or add-in to support that. The easiest way is to have maybe separate jobs in CI (like one to publish the guide when master is changed and push to gh-pages branch) and other that pushes the staging to another place so we can test the updates to documentation on a different place.

@adizere adizere added I: guide Internal: issues with the Hermes guide and removed I: documentation Internal: improvements or additions to documentation labels Feb 18, 2021
@adizere adizere modified the milestones: v0.1.1, 03.2021 Feb 18, 2021
@adizere adizere modified the milestones: 03.2021, 05.2021 Mar 16, 2021
@romac romac changed the title Hermes Guide: easier maintenance work Hermes Guide: versioning Mar 16, 2021
@adizere
Copy link
Member Author

adizere commented Mar 18, 2021

Beside versioning, I found this principled approach to doing documentation: https://documentation.divio.com.
Would be good if we try to apply some of the ideas in there, in particular these dimensions

@adizere adizere modified the milestones: 05.2021, 06.2021 Apr 29, 2021
@romac romac modified the milestones: 06.2021, 07.2021 Jun 27, 2021
@adizere adizere modified the milestones: 07.2021, 10.2021 Aug 3, 2021
@adizere adizere modified the milestones: 10.2021, Backlog Nov 2, 2021
@adizere adizere modified the milestones: Backlog, v1.4 Nov 25, 2022
@seanchen1991 seanchen1991 removed this from the v1.4 milestone Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: guide Internal: issues with the Hermes guide
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants