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: revert string formatting change of "jj help util exec" #5052

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

yuja
Copy link
Collaborator

@yuja yuja commented Dec 8, 2024

cc @arxanas

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

Appears that "cargo test" parses indented text as a code block, and fails to
run doc tests. Spotted by running "cargo insta test". This doc comment is a CLI
help which is usually rendered to console, so I think markdown annotation should
be minimal.

This backs out commit ed84468, "docs: in `jj help util exec`, use Markdown
`warning` admonition."
Copy link
Collaborator

@arxanas arxanas left a comment

Choose a reason for hiding this comment

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

Interesting, I'm surprised that CI didn't fail before?

@yuja
Copy link
Collaborator Author

yuja commented Dec 8, 2024

I don't think we rely on doc tests. I wouldn't notice the problem unless I ran cargo insta test.

@yuja yuja merged commit 6c72a3d into martinvonz:main Dec 8, 2024
18 checks passed
@yuja yuja deleted the push-tswqpywxxpzl branch December 8, 2024 09:04
@arxanas arxanas mentioned this pull request Dec 8, 2024
4 tasks
@arxanas
Copy link
Collaborator

arxanas commented Dec 8, 2024

I don't think we rely on doc tests. I wouldn't notice the problem unless I ran cargo insta test.

I see. I opened #5056 to check docs in CI.

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