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

Doc: update the build framework #13537

Merged
merged 6 commits into from
Jun 4, 2024

Conversation

ru-fu
Copy link
Contributor

@ru-fu ru-fu commented Jun 3, 2024

No description provided.

@github-actions github-actions bot added the Documentation Documentation needs updating label Jun 3, 2024
Copy link

github-actions bot commented Jun 3, 2024

Heads up @ru-fu - the "Documentation" label was applied to this issue.

ru-fu added 3 commits June 3, 2024 16:53
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>
@ru-fu ru-fu force-pushed the LXD-1111-doc-framework branch 12 times, most recently from f152c85 to b608fae Compare June 4, 2024 08:24
ru-fu added 3 commits June 4, 2024 10:32
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>
@ru-fu ru-fu marked this pull request as ready for review June 4, 2024 09:31
@ru-fu ru-fu requested a review from tomponline as a code owner June 4, 2024 09:31
@ru-fu
Copy link
Contributor Author

ru-fu commented Jun 4, 2024

This seems to work fine now.

A potential problem might be the change of the output directory - the docs were written to html before and are now written to _build. I think I caught all occurrences of that, but I'm not familiar with how the docs are packaged for the snap.

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.

Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tomponline tomponline merged commit 07cb07c into canonical:main Jun 4, 2024
28 checks passed
@ru-fu ru-fu deleted the LXD-1111-doc-framework branch June 4, 2024 14:25
simondeziel added a commit to simondeziel/lxd-pkg-snap that referenced this pull request Jun 4, 2024
Since canonical/lxd#13537

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
tomponline pushed a commit to tomponline/lxd-pkg-snap that referenced this pull request Jun 7, 2024
Since canonical/lxd#13537

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 0dd5da4)
tomponline pushed a commit to tomponline/lxd-pkg-snap that referenced this pull request Jun 26, 2024
Since canonical/lxd#13537

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 0dd5da4)
tomponline pushed a commit to tomponline/lxd-pkg-snap that referenced this pull request Jul 11, 2024
Since canonical/lxd#13537

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 0dd5da4)
simondeziel added a commit to simondeziel/lxd-pkg-snap that referenced this pull request Jul 16, 2024
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>
simondeziel added a commit to simondeziel/lxd-pkg-snap that referenced this pull request Jul 16, 2024
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>
simondeziel added a commit to simondeziel/lxd-pkg-snap that referenced this pull request Jul 17, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants