Skip to content

Docs/Package creation: Add missing content to examples#51147

Merged
haampie merged 3 commits intospack:developfrom
tldahlgren:docs_pkg_structure
Aug 14, 2025
Merged

Docs/Package creation: Add missing content to examples#51147
haampie merged 3 commits intospack:developfrom
tldahlgren:docs_pkg_structure

Conversation

@tldahlgren
Copy link
Copy Markdown
Contributor

@tldahlgren tldahlgren commented Aug 12, 2025

The examples in the Structure of a Package and Creating new packages sections of the docs don't match the current template.

This PR adds the missing elements to the first example (e.g., license, a compiler dependency, variant corresponding to argument in cmake_args) and comments to describe key directives. It also adds the missing license directive skeleton to the second example and the step explaining what needs to be done to complete its contents.

@tldahlgren tldahlgren changed the title Docs/Package creation: Add missing content to the example Docs/Package creation: Add missing content to examples Aug 12, 2025
@haampie haampie added the v1.0.2 PRs / Bug fixes to backport for v1.0.2 label Aug 13, 2025
Copy link
Copy Markdown
Member

@haampie haampie left a comment

Choose a reason for hiding this comment

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

Thanks!

@haampie haampie merged commit a35da48 into spack:develop Aug 14, 2025
33 checks passed
@tldahlgren tldahlgren deleted the docs_pkg_structure branch August 14, 2025 21:49
@alalazo alalazo mentioned this pull request Aug 22, 2025
26 tasks
alalazo pushed a commit that referenced this pull request Aug 22, 2025
haampie pushed a commit that referenced this pull request Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1.0.2 PRs / Bug fixes to backport for v1.0.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants