-
Notifications
You must be signed in to change notification settings - Fork 22
docs: add a preview page for reusing packages #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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,3 +9,4 @@ How-to guides | |
| build-remotely | ||
| partitions | ||
| platforms | ||
| reuse-packages-between-builds | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This isn't in line with what we want from a page of documentation. I left it out of Craft Application because I didn't think the generic page would be of use to Craft Application readers. Do you want to include it instead?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would definitely like it to be available in the docs so people can see what would look like in their app's docs (and make it more discoverable for app docs). |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| Reuse packages between builds | ||
| ============================= | ||
|
|
||
| .. tip:: | ||
|
|
||
| This is a preview of the reusable *Reuse packages between builds* documentation. | ||
| It can be included in your documentation by inserting a file that looks as follows, | ||
| with the appropriate changes | ||
|
|
||
| .. literalinclude:: reuse-packages-between-builds.rst | ||
| :end-before: :start-after: ===== | ||
| :start-after: .. :docs-include: | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is no blank line here because otherwise the blank line would be included in the self-referential literalinclude. |
||
| .. |an-artifact| replace:: an artifact | ||
| .. |app| replace:: <your-app> | ||
| .. |app-command| replace:: <craft-app> | ||
| .. |artifact| replace:: artifact | ||
|
|
||
| .. include:: /common/craft-application/how-to-guides/reuse-packages-between-builds.rst | ||
| :start-after: ===== | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
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.
Rendered: https://canonical-craft-application--929.com.readthedocs.build/en/929/how-to-guides/reuse-packages-between-builds/