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 name #5012

Merged
merged 2 commits into from
May 30, 2024
Merged

Docs name #5012

merged 2 commits into from
May 30, 2024

Conversation

sellout
Copy link
Contributor

@sellout sellout commented May 25, 2024

Overview

Previously, when given a numbered arg, from some commands (e.g., find), it would fail to find the docs because the hash associated with the definition was applied to the doc, which then would be incorrect.

This now discards hashes up-front, so it can add the doc suffix to the name.

Fixes #3939 and fixes #4133.

@sellout
Copy link
Contributor Author

sellout commented May 25, 2024

Only the last two commits are specific to this change. Everything before that is part of #4962.

Previously, when given a numbered arg, from some commands (e.g., `find`), it
would fail to find the docs because the hash associated with the definition was
applied to the `doc`, which then would be incorrect.

This now discards hashes up-front, so it can add the `doc` suffix to the name.

Fixes unisonweb#3939.
@sellout sellout marked this pull request as ready for review May 30, 2024 00:35
@aryairani
Copy link
Contributor

Historical context is that docs used to be primarily associated with a (Name,Hash) pair; but now they're primarily associated with the name alone.

@aryairani aryairani merged commit 118e932 into unisonweb:trunk May 30, 2024
19 checks passed
@sellout sellout deleted the docs-name branch May 30, 2024 00:47
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.

find + numbered args + docs = 😓 docs 1 on result of find doesn't work
2 participants