-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add packages documentation #907
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mudler
changed the title
WIP: Add docs for immutable-rootfs package
WIP: Add packages documentation
Nov 30, 2021
yep, noticed the same here indeed and I swapped it into a package 😄 , no worries, I can re-adapt after your PR is merged 👍 |
ok, reworked out so it just applies the README.md file and leaves the specs untouched so it's easier to rebase later |
mudler
added a commit
to rancher-sandbox/cos-toolkit-docs
that referenced
this pull request
Dec 3, 2021
This PR introduce a script which generates layout/structure to be parsed from our docs to be displayed in the website. It parses the cos-toolkit repository packages and scans for `README.md` files present in the package path (where `build.yaml` and `definition.yaml` reside). If it's a collection, it still reads for README files, but allows also to generate per-package documentation by checking the presence of `README-cat-name.md` in the package path, if present it will create a new grouped page and put the packages of the collection under it. In order to preserve readability on cos-toolkit side, the page header of a collection cannot be generated cleanly, so a `README-head.md` file is required with the specific docsy fields, e.g: ```yaml --- title: "Collection name" linkTitle: "Collection title" date: 2021-12-02 description: > Collection description --- ``` Needs: rancher/elemental-toolkit#907 Part of: rancher/elemental-toolkit#757 Add makefile target and hook into CI Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Ported over from the docs website Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Closed
Just moved some docs and added placeholders. merging because it is tight with the other PR, and docs were now missing from the website 😅 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is just adding some placeholders, I'll add up docs but wanted to have all in place and see how it looks like
before going ahead
Part of: #757