-
Notifications
You must be signed in to change notification settings - Fork 929
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
Doc: update the build framework #13537
Conversation
Heads up @ru-fu - the "Documentation" label was applied to this issue. |
Update the build environment to match what we have in the current starter pack. Also including some files I previously left out, so we can start using them. Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
Use the Makefile in the doc/ folder for documentation, and pass through doc commands from the main Makefile. Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
Not sure why this wasn't caught before ... Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
f152c85
to
b608fae
Compare
Link to the style guide for more information and include the MyST cheat sheet from the starter pack (which allows copying the syntax). Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
Some projects need additional prerequisites. We should handle that in Makefile.sp so it's easier to set up. Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
We should really use the reusable workflows, but this is currently not possible since we require some non-standard processing. Therefore, keep the current checks and update them to the latest framework. Also, build the docs first and then run the spellcheck on the docs that are already built (instead of building again). Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
b608fae
to
84ed1fe
Compare
This seems to work fine now. A potential problem might be the change of the output directory - the docs were written to We'll still need to move over to using the reusable workflows for the documentation checks. This is currently blocked by the workflows requiring specific target names. I'm preparing a PR to fix that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Since canonical/lxd#13537 Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Since canonical/lxd#13537 Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit 0dd5da4)
Since canonical/lxd#13537 Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit 0dd5da4)
Since canonical/lxd#13537 Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit 0dd5da4)
Since canonical/lxd#13537 Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit 0dd5da4) Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Since canonical/lxd#13537 Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit 0dd5da4) Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Since canonical/lxd#13537 Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit 0dd5da4) Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
No description provided.