Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
dda898c
feat: start rewriting with Starlight
zlataovce Apr 7, 2025
13845a1
feat: more pages, add a pretty footer
zlataovce Apr 8, 2025
f41dc6c
feat: Waterfall, destructive banner
zlataovce Apr 8, 2025
2af25cf
feat: Folia
zlataovce Apr 8, 2025
36adc71
feat: destructive link card
zlataovce Apr 8, 2025
a0d1cd5
feat: some pages from misc
zlataovce Apr 8, 2025
ad8dac1
feat: patch in project icons
zlataovce Apr 9, 2025
e09a5bd
feat: Javadoc remark plugin
zlataovce Apr 9, 2025
d7492d1
feat: more pages
zlataovce Apr 9, 2025
234e396
feat: Velocity API pages
zlataovce Apr 9, 2025
79cde43
chore: match accent colors with website
zlataovce Apr 9, 2025
d3bd4c9
chore: replace externally hosted images
kashike Apr 9, 2025
847a5ed
refactor: constant replacement for code blocks
zlataovce Apr 10, 2025
ac310d4
feat: some Paper dev pages
zlataovce Apr 10, 2025
0f7fb5c
fix: make content wider on large screens
zlataovce Apr 10, 2025
febbe9a
feat: page cards for index pages
zlataovce Apr 10, 2025
7133385
feat: index pages, permissions, rewrite CONTRIBUTING.md
zlataovce Apr 11, 2025
4590803
feat: replace mermaid with D2
zlataovce Apr 11, 2025
ae749ff
fix: don't spellcheck D2 output
zlataovce Apr 11, 2025
d9c50d5
feat: configuration pages
zlataovce Apr 11, 2025
8e404bc
fix: remove placeholders in config specs
zlataovce Apr 11, 2025
97fe17d
chore: color corrections
zlataovce Apr 11, 2025
861bc0b
fix(config): split array values correctly
zlataovce Apr 11, 2025
a02d9a7
feat: Paper API pages
zlataovce Apr 12, 2025
69f3994
fix: broken links
zlataovce Apr 12, 2025
d26e667
chore: re-enable tracking
zlataovce Apr 12, 2025
733ee1c
fix: oversights, re-add vanilla guide
zlataovce Apr 12, 2025
15d7b79
fix: remove background from diagrams, adjust image size
zlataovce Apr 12, 2025
1d3fe70
feat: start script generator
zlataovce Apr 12, 2025
eb79022
feat: new pages from rebase
zlataovce Apr 13, 2025
1dc52e4
feat: version tag, redirects, fix codeblock line highlights
zlataovce Apr 13, 2025
f54c73a
fix: version tag style changes
zlataovce Apr 13, 2025
1d77e24
fix: don't translate configuration keys+values
zlataovce Apr 13, 2025
0929766
fix: ugh Prettier
zlataovce Apr 13, 2025
ed27fed
feat: sticky project dropdown, fix main page paddings
zlataovce Apr 13, 2025
75e14b0
feat: change the homepage cards to be clickable (#564)
olijeffers0n Apr 13, 2025
fd4ce6c
feat: scroll to current page in sidebar, dropdown touch-ups
zlataovce Apr 13, 2025
834010d
feat: try out always inlining stylesheets
zlataovce Apr 13, 2025
40a8e8c
feat: try out inlining expressive-code stylesheet
zlataovce Apr 13, 2025
4961c6a
refactor: use assets CDN, preload logo
zlataovce Apr 14, 2025
f52c98c
feat: item command converter (#568)
Strokkur424 Apr 14, 2025
cd7dada
refactor: item command converter patch up
zlataovce Apr 14, 2025
0caa3e0
feat: Adventure links, bump dependencies
zlataovce Apr 15, 2025
5845058
fix: `client:only` -> `client:load`
zlataovce Apr 15, 2025
f1637f4
chore: bump dependencies
zlataovce Apr 16, 2025
7c1c339
chore: remove porting remnants, improve contributing guide
zlataovce Apr 16, 2025
1771a74
fix: reset orange for light mode
zlataovce Apr 17, 2025
7a33789
fix: scroll weirdness, make dropdown shadow less pronounced
zlataovce Apr 17, 2025
1dabe6f
fix: Safari fixes
zlataovce Apr 17, 2025
0150ae0
fix: too large images
zlataovce Apr 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: don't translate configuration keys+values
  • Loading branch information
zlataovce committed Apr 13, 2025
commit 1d77e244fed91d27c42d75386efbcfc41cfb6eb6
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ For that, you can use the `jd:project_name[:module_name][:class_or_member_refere
```md
[my `Event` link](jd:paper:org.bukkit.event.Event)
[`ProxyInitializeEvent`](jd:velocity:com.velocitypowered.api.event.proxy.ProxyInitializeEvent)
[`repeat(long, TimeUnit)`](<jd:velocity:com.velocitypowered.api.scheduler.Scheduler$TaskBuilder#repeat(long,java.util.concurrent.TimeUnit)>)
[`repeat(long, TimeUnit)`](jd:velocity:com.velocitypowered.api.scheduler.Scheduler$TaskBuilder#repeat(long,java.util.concurrent.TimeUnit))
[java.base's List](jd:java:java.util.List)
[java.sql's Connection](jd:java:java.sql:java.sql.Connection)
```
Expand Down
12 changes: 7 additions & 5 deletions src/components/ConfigNode.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ const formatDefault = (value?: string): Default => {
const childPath = [...path, key.replace(/-/g, "_")];

const def = formatDefault(value.default);
// this is ugly, but the spans don't play nice otherwise
const defValue = def.inline ? (<span class="value">{def.value}</span><a class="link" href={`#${childPath.join("_")}`}>#</a>) : (<a class="link" href={`#${childPath.join("_")}`}>#</a><p class="value">{def.value}</p>);
return (
<div>
{"message" in value ? (
Expand All @@ -54,13 +52,17 @@ const formatDefault = (value?: string): Default => {
/>
) : "description" in value ? (
<details id={childPath.join("_")}>
<summary class="line">
<span class="key">{displayKey}{separator ?? ": "}</span>{defValue}
<summary class="line notranslate" translate="no">
<span class="key">{displayKey}{separator ?? ": "}</span>{
def.inline
? (<span class="value">{def.value}</span><a class="link" href={`#${childPath.join("_")}`}>#</a>)
: (<a class="link" href={`#${childPath.join("_")}`}>#</a><p class="value">{def.value}</p>)
}
</summary>
<div class="block" set:html={render(value.description)} />
</details>
) : (
<span class="key">{displayKey}:</span>
<span class="key notranslate" translate="no">{displayKey}:</span>
<Astro.self data={value} path={childPath} {separator} />
)}
</div>
Expand Down