Skip to content

Docs: Update spec variant checks plus a few extra changes and "bug" fixes#40643

Merged
haampie merged 1 commit intospack:developfrom
tldahlgren:docs_fix_spec_satisfies
Oct 23, 2023
Merged

Docs: Update spec variant checks plus a few extra changes and "bug" fixes#40643
haampie merged 1 commit intospack:developfrom
tldahlgren:docs_fix_spec_satisfies

Conversation

@tldahlgren
Copy link
Copy Markdown
Contributor

@tldahlgren tldahlgren commented Oct 21, 2023

It is pretty common that I suggest switching from "+variant" in spec to spec.satisfies("+variant") so changed all occurrences and like to paste links to the docs so it would be nice if the docs reflect the switch.

While I was changing the files, I switched each file's examples to use f-strings and black's double quotes.

Also fixed a code-block example to python; added an example of using a helper method as an alternative to the current example (with a link to the helper's documentation); and an ending paragraph to a note.

@spackbot-app spackbot-app Bot added conflicts core PR affects Spack core functionality dependencies documentation Improvements or additions to documentation new-variant labels Oct 21, 2023
@haampie haampie merged commit cfc5363 into spack:develop Oct 23, 2023
mtaillefumier pushed a commit to mtaillefumier/spack that referenced this pull request Oct 23, 2023
victoria-cherkas pushed a commit to victoria-cherkas/spack that referenced this pull request Oct 30, 2023
RikkiButler20 pushed a commit to RikkiButler20/spack that referenced this pull request Nov 2, 2023
gabrielctn pushed a commit to gabrielctn/spack that referenced this pull request Nov 24, 2023
mtaillefumier pushed a commit to mtaillefumier/spack that referenced this pull request Dec 14, 2023
@tldahlgren tldahlgren deleted the docs_fix_spec_satisfies branch August 27, 2024 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflicts core PR affects Spack core functionality dependencies documentation Improvements or additions to documentation new-variant

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants