diff --git a/.eslintignore b/.eslintignore index d4041fe..74776ac 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,7 +3,7 @@ coverage/** dist/** # Ignore symlink to build folder -docs/assets/** +docs/** # Ignore HTML templates generated code src/** diff --git a/docs/demo.html b/docs/demo.html deleted file mode 100644 index a4c9ac9..0000000 --- a/docs/demo.html +++ /dev/null @@ -1,416 +0,0 @@ - - -
- - - - - - - - -GitHub, Bitbucket and GitLab commit and pull request compatible
+Just paste the GitHub, Bitbucket or GitLab commit, pull request or merge request url + or any other git or unified compatible diff and we will render a pretty html representation of it + with code syntax highlight and line similarity matching for better code reviews. +
+Code Syntax Highlight
+Line similarity match (similar lines are together)
+Line by Line and Side by Side diffs
+Supports any git and unified compatible diffs
+Easy code selection
+Any GitHub, Bitbucket or GitLab Commit, Pull Request or Merge Request urls.
+Any Git or Unified Raw Diff or Patch urls.
+Just add a url parameter called diff to current url using as value your Commit, Pull Request, Merge Request, Diff + or Patch url.
+ex: https://diff2html.xyz/url?diff=https://github.com/rtfpessoa/diff2html/pull/106 +
+You can also use an hashtag (# or #! or #!/) in the end of the url. + This will be overridden if you click any href id and for that reason not advised.
+diffy.org is an amazing tool created by pbu88 + to share your diffs and uses diff2html under the hood.
+Also, diff2html cli can directly publish diffs to diffy.org
+I want to thank kevinsimper for this great idea, + providing better diff support for existing online services. +
+ + +