-
Notifications
You must be signed in to change notification settings - Fork 5
Fix encoding error #63
base: develop
Are you sure you want to change the base?
Conversation
You need to cover your change with tests using next approach:
|
<dependency> | ||
<groupId>com.overzealous</groupId> | ||
<groupId>com.kotcrab.remark</groupId> |
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.
Yes, seems original artifact was removed from repo, so we should replace it with possible fork.
And it's mandatory change for person who hasn't legacy com.overzealous artifact in local maven repo.
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.
Ok I see
May be reason in another way of escaping # character in new remark library. |
<artifactId>remark</artifactId> | ||
<version>${remark.version}</version> |
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.
May be it's reasonable to use existing constant remark.version (with 1.2.0 value) or remove it from properties
Ok got that BTW, which version of docfx should I use, I got some error when I try to build doc with yaml #64 |
Sure, seems we need reply from guys who used doclet on daily basis, @anmeng10101 for example. To determine which docfx version we should use now. |
Thanks a lot @andrei-punko for the great suggestion. I will add some highlights in README. @cary-hu I checked with Docfx team, it is the V2 which public for community, unfortunately the latest version of docfx-doclet is for Docfx V3. |
Thanks for your help, Feel free to let me know if I can do anything to accomplish this work. |
@anmeng10101 may be you know about some plans to share Docfx V3 to community in future? |
I adapt changes made in this PR for current |
We are using docfx-doclet for generate java doc to yaml file.
Everything works fine, but when there are some none-ascii character in doc, the yaml file will show the unicode character.
like below:
This commit fixes the bug about encoding/decoding issue.
We have already packaged a new doclet jar, and worked with none-ascii character fine,
but we don't know why I can't run the unittest, there are build result(even using the original code):
please check
and, anything else problem with merge, please let me know.