-
Notifications
You must be signed in to change notification settings - Fork 546
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
Anchors #409
Anchors #409
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like the idea @nitrocode and just wanted to give you a very early feedback.
Please hold off any major work on testing until #410 is done. |
Ah I just added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nitrocode for starting working on this. This looks ok so far but it needs a bit of changing.
Also the commits in the PR should not contain a "merge commit" and they always need to be rebased. But it's completely up to you to have that in mind along the way, or just squash everything at the very end.
I'm having issues running test on the
|
I'm wondering why it says Are you in GOPATH? If yes, |
Thanks. I upgraded golang outside of homebrew and it's working now. |
99ae02b
to
9e8cd7a
Compare
I was able to fix the commit history by basically deleting my branch and updating the files again... squashing commits before and after an in-between merge does not seem possible. The asciidoc template doesn't look like it will work currently as anchors are different in asciidoc vs markdown. Docs
[[anchor-1]]
Paragraph or block 1.
anchor:anchor-2[]
Paragraph or block 2.
<<anchor-1>>,
<<anchor-1,First anchor>>,
xref:anchor-2[],
xref:anchor-2[Second anchor]. I'll use the above model to update the asciidoc anchors. |
c6b5cdd
to
b7fc567
Compare
@khos2ow could you review this again please ? I'm unsure how to resolve the 2 errors below.
|
cd7820e
to
a4f3a48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor comments.
|
Thanks for reviewing. I'll jump on it today. Yes, I'm on OSX and the issue was related to the Not to add too much scope creep to this PR but it would be nice to use an env var in the
or
|
a1d4200
to
1f5e439
Compare
That's a really good point, I'll add it in another PR! 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing to do, please add anchor
in:
internal/cli/reader.go#L96
docs/reference/config-file.md
Also please add a bit more information to commit message, as it will be shown in release note.
Signed-off-by: nitrocode <nitrocode@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nitrocode for all the efforts on this PR! 👍
I looked at all the tickets for the |
Yeah sure I'll cut a release soon, but also in the meantime you can use |
@khos2ow I'm playing with the new release now and it works great! One thing. On the release notes, you put @ 9trocode instead of @nitrocode 😅 |
Interesting! The list of contributors are being extracted automatically, I should check that script to see why that happened! 😅 Updated release note, thanks for pointing this out and your contribution! |
Description of your changes
Fixes #408
I have:
make test
.How has this code been tested
Tested this locally and seems to work well with a single test case. Not all test cases pass. Waiting for more discussion.
Is there a way to regenerate the testdata or should I be updating that manually ?