Skip to content

Solve incorrect "Show on GitHub" link #22

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

Merged
merged 1 commit into from
May 1, 2019
Merged

Solve incorrect "Show on GitHub" link #22

merged 1 commit into from
May 1, 2019

Conversation

PopFlamingo
Copy link
Contributor

Since the package isn't tagged yet, the current file prefix URL isn't valid, causing the declarations "Go to GitHub" button to lead to a 404 page.

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@PopFlamingo PopFlamingo changed the title Solve bug for "Show on GitHub" button Solve incorrect "Show on GitHub" link Apr 26, 2019
Copy link
Member

@tanner0101 tanner0101 left a comment

Choose a reason for hiding this comment

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

I'm not sure about the version thing, maybe @tomerd knows more.

@tanner0101 tanner0101 added the kind/bug Feature doesn't work as expected. label Apr 26, 2019
@tomerd
Copy link
Contributor

tomerd commented Apr 29, 2019

thanks @adtrevor! can you rebase & squash so this has a single commit with the changes

@PopFlamingo
Copy link
Contributor Author

@tomerd Is this different from an admin directly merging it by choosing the squash and merge option?

@tomerd
Copy link
Contributor

tomerd commented Apr 30, 2019

@adtrevor nope, but its hard to review the actual changes in this PR right now because of the noise, so its more to help the review

@PopFlamingo
Copy link
Contributor Author

PopFlamingo commented Apr 30, 2019 via email

@PopFlamingo
Copy link
Contributor Author

@tomerd I did a soft reset to #fdb9dc10e5ac47e378b0d4c2278dd5dca858d7c3 followed by a commit using this method

git reset --soft fdb9dc10e5ac47e378b0d4c2278dd5dca858d7c3
git commit

Yet there is still another commit and I'm not sure why the GitHub diff doesn't show the changes of this PR only.

@PopFlamingo
Copy link
Contributor Author

This time there only is one commit remaining, but the diff still shows more than I would hope...

@tomerd
Copy link
Contributor

tomerd commented May 1, 2019

i think head is 44ddc8b

This is a more correct way of versioning the docs and solves an issue
where some of doc links would lead to a 404 GitHub page
@PopFlamingo
Copy link
Contributor Author

@tomerd Thank you! I had used the wrong commit indeed! Done! 🙂

Copy link
Contributor

@tomerd tomerd left a comment

Choose a reason for hiding this comment

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

thank you!!

@tomerd tomerd merged commit 23dd984 into swift-server:master May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Feature doesn't work as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants