Closed haani-niyaz closed 2 years ago
This sounds good. It is a good challenge for someone looking to upskill on ci as there is a lot of document surfing required to create effective reference. The rest of the platform team can provide inputs on the PRs. Please create separate PR for each CI job.
An effective doc should contain:
@AlvinKuruvilla I had a play and for this to work it you need to configure the repo otherwise the build also fails. As per the docs:
If the GitHub Page doesn't show up after a few minutes, go to the settings of your repository and ensure that the publishing source branch for your GitHub Page is set to gh-pages.
Required settings:
We'll probably need @shukra-in-spirit to configure this as I don't have access.
Summary
Keep documentation within the repo instead of a remote wiki or Github wiki.
Rationale
From a developer experience perspective, it is easier to clone and have everything you need to reference locally rather than having to externally reference something.
This minimises context switching and aids the practice of keeping documentation updated as it is closer to the codebase.
Solution Proposal
Leverage automatic documentation generation via https://squidfunk.github.io/mkdocs-material.
This integrates well with Github, providing automatic docs for your repo at
<username>.github.io/<repository>
.Sample structure:
Example:
https://cli.urfave.org/
Generated from
./docs
directory: https://github.com/urfave/cli/tree/main/docs