Skip to content

Commit 17bce9c

Browse files
jpenillazlataovce
andauthored
feat: add diff viewer to tools (#563)
* Add diff viewer to tools * Copy desc into body * adjust wording * capitalization * Add source link * Apply suggestions from code review --------- Co-authored-by: Matouš Kučera <[email protected]>
1 parent aeef9cf commit 17bce9c

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

config/sidebar.misc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const misc: SidebarsConfig = {
2525
"tools/start-script-gen",
2626
"tools/minimessage-web-editor",
2727
"tools/item-command-converter",
28+
"tools/diff-viewer",
2829
],
2930
},
3031
"java-install",

docs/misc/tools/diff-viewer.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
slug: /tools/diff-viewer
3+
description: Multi-file rich diff viewer for GitHub and diff/patch files.
4+
---
5+
6+
# Diff Viewer
7+
8+
Multi-file rich diff viewer with support for GitHub commits, PRs, and comparisons, as well as
9+
diff and patch files.
10+
The GitHub diff viewer is a great tool for most uses cases, but it has a variety of limitations,
11+
especially when dealing with large diffs where the viewer will perform poorly or even crash. The
12+
Patch Roulette diff viewer aims to solve this problem while also providing a variety of additional
13+
features useful for PaperMC and generally, such as special handling for second-order diffs. We have
14+
also built a browser extension for Firefox and Chrome to streamline opening GitHub diffs in the
15+
viewer.
16+
17+
- https://patch-roulette.papermc.io/diff - The diff viewer itself
18+
- [Chrome Extension](https://chromewebstore.google.com/detail/patch-roulette/feaaoepdocmiibjilhoahgldkaajfnhb)
19+
- [Firefox Extension](https://addons.mozilla.org/en-US/firefox/addon/patch-roulette/)
20+
- https://github.com/PaperMC/patch-roulette - Patch Roulette GitHub repository

0 commit comments

Comments
 (0)