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, server: fix link in logformats.md #65025

Merged
merged 1 commit into from
May 12, 2021

Conversation

taroface
Copy link
Collaborator

@taroface taroface commented May 11, 2021

Fixed incorrect links in the generated logformats.md that were causing a build error on cockroachdb/docs#10273

@knz I wasn't able to correctly generate logformats.md with the changes I made to the code. The command docgen logformats docs/generated/logformats.md was causing logformats.md to revert to an even earlier version of that doc, and I don't know why. I manually updated logformats.md with the correct URL and have included that file in this PR; not sure if this will work. I apologize if this creates more housekeeping work.

@taroface taroface requested a review from knz May 11, 2021 21:49
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz knz force-pushed the log-reference-3 branch from 3f91250 to 2b0f6af Compare May 12, 2021 11:50
Copy link
Contributor

@knz knz left a comment

Choose a reason for hiding this comment

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

Generally, you can ensure that the files get re-generated correctly by entering the command make buildshort. Besides building cockroachdb, this also re-generates all the automatic documentation.

Separately from this, heads up that the crdb repository also has expectations about the structure of commits and in particular commit messages. Just "fix some links" doesn't quite cut it. I have updated your PR with an example for future reference.

Reviewed 3 of 3 files at r1, 2 of 2 files at r2.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @taroface)

@knz
Copy link
Contributor

knz commented May 12, 2021

bors r+

@craig
Copy link
Contributor

craig bot commented May 12, 2021

Build succeeded:

@craig craig bot merged commit e2f1d1a into cockroachdb:master May 12, 2021
@taroface taroface deleted the log-reference-3 branch May 12, 2021 13:59
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.

3 participants