Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 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
3035636
Add 'Getting Started' page
Strokkur424 Apr 13, 2025
c157c20
Add 'Community libraries' page
Strokkur424 Apr 13, 2025
e4a4ca9
Format
Strokkur424 Apr 13, 2025
ed510bf
Add 'FAQ' page
Strokkur424 Apr 13, 2025
a5d9a82
Port text serializer pages
Strokkur424 Apr 14, 2025
f2149a6
Format
Strokkur424 Apr 14, 2025
df699e1
Add more pages
Strokkur424 Apr 14, 2025
4961c6a
refactor: use assets CDN, preload logo
zlataovce Apr 14, 2025
f52c98c
feat: item command converter (#568)
Strokkur424 Apr 14, 2025
0473fd7
Add MiniMessage syntax highlighting
Strokkur424 Apr 14, 2025
7d0ce6c
Format
Strokkur424 Apr 14, 2025
97990fe
Add support for inverting tags
Strokkur424 Apr 14, 2025
cd7dada
refactor: item command converter patch up
zlataovce Apr 14, 2025
d676b17
Somewhat get inline code syntax highlighting to work
Strokkur424 Apr 14, 2025
5eacf57
Cleanup + Include default starlight theme
Strokkur424 Apr 14, 2025
04be739
Rename night owl license file
Strokkur424 Apr 14, 2025
66ebb49
Fix/comment out links
Strokkur424 Apr 14, 2025
752aa3a
Comment out invalid links
Strokkur424 Apr 14, 2025
0caa3e0
feat: Adventure links, bump dependencies
zlataovce Apr 15, 2025
cc7d9e6
Revert inline code highlighting changes
Strokkur424 Apr 15, 2025
8c39232
Add minimessage/format
Strokkur424 Apr 15, 2025
5845058
fix: `client:only` -> `client:load`
zlataovce Apr 15, 2025
1eb77da
Add platform pages
Strokkur424 Apr 15, 2025
385172c
Add migration pages
Strokkur424 Apr 15, 2025
010a6f1
Add page descriptions and the contributing page
Strokkur424 Apr 15, 2025
fa6a7a3
Add version history pages
Strokkur424 Apr 15, 2025
d8d418e
Fix broken links
Strokkur424 Apr 15, 2025
c99ecaf
Fix one last broken link
Strokkur424 Apr 15, 2025
f9c02a9
Merge branch 'refactor/starlight' into feat/adventure-docs
Strokkur424 Apr 15, 2025
e8b7a3e
Fix/exclude typos
Strokkur424 Apr 15, 2025
d3187bb
Another try at fixing spelling
Strokkur424 Apr 15, 2025
ce79e0b
Try again
Strokkur424 Apr 15, 2025
77ab90c
And~ try again!
Strokkur424 Apr 15, 2025
b6dd581
I gave up. Just exclude the file for all I care
Strokkur424 Apr 15, 2025
715ae72
Remove duplicate adventure entry
Strokkur424 Apr 15, 2025
a00fb12
Fix incorrect frontmatter
Strokkur424 Apr 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 0 additions & 25 deletions .devcontainer/devcontainer.json

This file was deleted.

5 changes: 1 addition & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
max_line_length = 100
max_line_length = 120
insert_final_newline = true
trim_trailing_whitespace = true

[{*.md,*.mdx}]
indent_size = 4
13 changes: 6 additions & 7 deletions .github/workflows/build-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,18 @@ jobs:
with:
cache: "pnpm"
node-version: 20
- name: "setup d2"
run: "curl -fsSL https://d2lang.com/install.sh | sh -s --"
- name: "install dependencies"
run: "pnpm install"
- name: "build"
run: "pnpm run build"
env:
CI_ENV: preview
GITHUB_PR_HEAD_OWNER: ${{ github.event.pull_request.head.repo.owner.login }}
run: "pnpm build"
- name: "copy cloudflare configuration files to build directory"
run: |
cp _headers build/
cp _redirects build/
cp _headers dist/
cp _redirects dist/
- name: "upload build artifact"
uses: "actions/upload-artifact@v4"
with:
name: "preview-build"
path: "build"
path: "dist"
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: "preview-build-artifact"
with:
name: "preview-build"
path: "build"
path: "dist"
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- name: "Deploy to Cloudflare Pages"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
with:
cache: "pnpm"
node-version: 20
- name: "setup d2"
run: "curl -fsSL https://d2lang.com/install.sh | sh -s --"
- name: "install dependencies"
run: "pnpm install"
- name: "build"
run: "pnpm run build"
env:
CI_ENV: production
run: "pnpm build"
- name: "copy cloudflare configuration files to build directory"
run: |
cp _headers build/
cp _redirects build/
cp _headers dist/
cp _redirects dist/
- name: "publish (push)"
id: "cloudflare-publish"
uses: "AdrianGonz97/refined-cf-pages-action@v1"
Expand All @@ -42,5 +42,5 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: "papermc-docs"
deploymentName: "Production"
directory: "build"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
directory: "dist"
githubToken: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Check format
run: pnpm run format:check
run: pnpm format:check
32 changes: 23 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
/.idea
/node_modules
/build
/.vscode
/.docusaurus
.cache-loader
.DS_Store
# build output
dist/
# generated types
.astro/
.cache/

# dependencies
node_modules/

# logs
npm-debug.log*
.pnp.*
/.meta
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.env
.env.production

# macOS-specific files
.DS_Store

.idea/
12 changes: 9 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
pnpm-lock.yaml
docs/versioned
pnpm-workspace.yaml
*.md
*.mdx
!README.md
!CONTRIBUTING.md
public/d2

# Prettier has issues with Astro
src/components/overrides/Head.astro
src/components/ConfigNode.astro

# TODO: remove
old
18 changes: 17 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,21 @@
"arrowParens": "always",
"singleQuote": false,
"semi": true,
"trailingComma": "es5"
"trailingComma": "es5",
"plugins": ["prettier-plugin-astro", "prettier-plugin-svelte", "prettier-plugin-organize-imports"],
"organizeImportsSkipDestructiveCodeActions": true,
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
},
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
}
5 changes: 4 additions & 1 deletion .typos.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
[files]
extend-exclude = [
"docs/versioned" # old documentation shouldn't be checked
"public/d2", # D2 output shouldn't be checked
"src/content/docs/adventure/minimessage/format.mdx" # This file contains british spelling because of tag aliases
]

[default]
locale = "en-us"

[default.extend-identifiers]
Spectre = "Spectre" # ignore error, the vulnerability is named Spectre
JuliGamesCore = "JuliGamesCore" # Project organization utilizing the Adventure library
JuliGames = "JuliGames" # Project name utilizing the Adventure library

[default.extend-words]
accessorise = "accessorize"
Expand Down
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
Loading