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

docs: miscellaneous edits throughout for style and wording #660

Merged
merged 3 commits into from
Feb 24, 2024

Conversation

beeankha
Copy link
Contributor

My initial intention was to only read through/edit the Advanced Build Options section but then I ended up reading through and editing all of the docs pages. 😆

Please feel free to take or leave some of the more minor edits. However, there are some questions that popped up in regards to wording/clarification, which I will point out via comments to this PR.

Thank you to the folks at prefix.dev and other rattler-build contributors for providing such detailed and helpful documentation with so many examples! 👍 👍

@@ -213,10 +208,8 @@ about:
documentation: https://rich.readthedocs.io
repository: https://github.com/Textualize/rich
```
</details>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the <details> collapsible section tags because it wasn't displaying properly on the docs site (the repo's top-level README.md is fine, however). The monospace words (anything wrapped in a "`") weren't showing up as monospaced and also the filenames were off on their own and not showing up in bold. I tried editing this in multiple ways to keep it collapsible, but no matter what I tried it never seemed to render properly.

Please reference the screenshot below for what I mean:

screenshot1


#### Usage

This is useful when you have the project description in a well defined project file, such as, `Cargo.toml`, `package.json`, `pyproject.toml`, `package.yaml`, or `stack.yaml`. And would like to keep the recipe as simple as possible, while not worrying about keeping changes in sync, perhaps using it with CI/CD.
`load_from_file` is useful when there is a project description in a well-defined project file such as `Cargo.toml`, `package.json`, `pyproject.toml`, `package.yaml`, or `stack.yaml`. It enables the recipe to be preserved in as simple a state as possible, especially when there is no need to keep the changes in sync; some example use cases for this are with CI/CD infrastructure or when there is a well-defined output format.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This paragraph needs double-checking; I want to confirm that the edited wording is still true to the original meaning.

@@ -97,5 +93,4 @@ source:
tag: ${{ latest_tag }}
```

Though it's important to understand currently we don't guarantee caching for repo fetch for git functions
this may lead to some performance issues.
There is currently no guarantee of caching for repo fetches when using `git` functions. This may lead to some performance issues.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Requesting a confirmation to make sure that the rewording is still accurate here.

@@ -229,7 +228,7 @@ source:
```

Note: `tag` or `rev` may not be available within commit depth range, hence we don't
allow using `rev` or `tag` and `depth` of them together if not set to `-1`.
allow using `rev` or the `tag` and `depth` of them together if not set to `-1`.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I found the original sentence to be a bit confusing but I'm still not 100% sure that this edit makes sense.

Versions for requirements must follow the conda/mamba match specification. See
build-version-spec.
Versions for requirements must follow the `conda`/`mamba` match specification. See
`build-version-spec`.
Copy link
Contributor Author

@beeankha beeankha Feb 23, 2024

Choose a reason for hiding this comment

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

Should build-version-spec here be a link?

@beeankha
Copy link
Contributor Author

One other thing I noticed is that the links don't show up as differentiated text in lightmode vs nightmode. Please see the below screenshots for what I mean:

lightmode
lightmodelinks

nightmode
nightmodelinks

If this is enough of a concern, I'm happy to file an issue.

@wolfv
Copy link
Member

wolfv commented Feb 24, 2024

Looks great! Thanks so much for your edits. I'll fix teh link color in light mode right away :)

@wolfv wolfv merged commit d922342 into prefix-dev:main Feb 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants