-
Notifications
You must be signed in to change notification settings - Fork 612
Docusaurus migration #3343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
JulienLavocat
wants to merge
23
commits into
master
Choose a base branch
from
docusaurus-migration
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Docusaurus migration #3343
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
04b5e93
Remove old docs
JulienLavocat 6fba955
Import migrated docs from poc
JulienLavocat da8cead
Add links to navbar
JulienLavocat d580cdf
Update previous tutorial to new version
JulienLavocat 6cf847b
Finish part 3 of the unity tutorial
JulienLavocat 0ae2814
Complete Unity Tutorial
JulienLavocat c621d7d
Add remaning docs except Unreal Tutorial
JulienLavocat 4a9991a
Bring back cursor rules
JulienLavocat 7f09015
Migrate Unreal tutorial
JulienLavocat aa7cca6
Add docs for docs :D
JulienLavocat 8ae67a0
Improve navbar, use algolia
JulienLavocat 4293d1d
Pages now have the same URL as live docs
JulienLavocat 0f24bfa
CSS improvements
JulienLavocat a2e16f2
Add CI checks
JulienLavocat 27415d5
Migrate all images
JulienLavocat 0ba7743
Fix footer still existing somehow
JulienLavocat 5f75192
Fix broken links
JulienLavocat 8e28c92
Fix broken links using sed
JulienLavocat 2a7bf53
Manual fix of remaning links
JulienLavocat 893f97a
Add publish workflow
JulienLavocat 9d4cbb7
Add unreal reference
JulienLavocat 9f04566
Align CLI with other JS projects
JulienLavocat b4d4691
Rename everything to lowercase
JulienLavocat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Docs - Publish | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
|
||
- uses: pnpm/action-setup@v4 | ||
with: | ||
run_install: true | ||
|
||
- name: Get pnpm store directory | ||
working-directory: sdks/typescript | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | ||
|
||
- uses: actions/cache@v4 | ||
name: Setup pnpm cache | ||
with: | ||
path: ${{ env.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
|
||
- name: Install dependencies | ||
working-directory: docs | ||
run: pnpm install | ||
|
||
- name: Docusaurus build | ||
working-directory: docs | ||
run: pnpm build | ||
|
||
# - name: Publish docs to S3 | ||
# uses: shallwefootball/s3-upload-action@master | ||
# with: | ||
# aws_key_id: ${{ secrets.DOCS_AWS_KEY_ID }} | ||
# aws_secret_access_key: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY}} | ||
# aws_bucket: "stdb-docs-jlvc" | ||
# source_dir: docs/build | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Docs - Test | ||
permissions: | ||
contents: read | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
|
||
- uses: pnpm/action-setup@v4 | ||
with: | ||
run_install: true | ||
|
||
- name: Get pnpm store directory | ||
working-directory: sdks/typescript | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | ||
|
||
- uses: actions/cache@v4 | ||
name: Setup pnpm cache | ||
with: | ||
path: ${{ env.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
|
||
- name: Install dependencies | ||
working-directory: docs | ||
run: pnpm install | ||
|
||
- name: Docusaurus build | ||
working-directory: docs | ||
run: pnpm build |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[src/**.ts] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
max_line_length = 120 | ||
|
||
[*.json] | ||
indent_style = space | ||
indent_size = 2 |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
**/.vscode | ||
.idea | ||
*.log | ||
node_modules | ||
.DS_store | ||
# Dependencies | ||
/node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.