Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
env:
RDLABO_DOCS_REF: ${{ github.event.pull_request.head.sha || github.sha }}
RDLABO_DOCS_REPOSITORY_URL: ${{ github.event.pull_request.head.repo.html_url || 'https://github.com/rdlabo-dev/docs' }}
steps:
- uses: actions/checkout@v5
with:
Expand All @@ -25,4 +28,6 @@ jobs:
- run: npm run fmt:check
- run: npm run lint
- run: npm test
- run: git diff --exit-code -- src/app/generated public/sitemap.xml
- run: npm run build
- run: git diff --exit-code -- src/app/generated public/sitemap.xml
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ npm run docs:generate
```

`prestart`, `prebuild`, and `pretest` run the generator automatically.
On a local feature branch, push the current commit before generating so portal-hosted English can
be read from that commit on GitHub. CI selects the pull request head repository and commit
automatically, including for fork-based pull requests.
When generating locally from a fork, set `RDLABO_DOCS_REPOSITORY_URL` to that fork's GitHub URL.

## Canonical routes

Expand Down
110 changes: 37 additions & 73 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"zenn-markdown-html": "^0.5.2"
},
"devDependencies": {
"@angular-eslint/template-parser": "22.1.0",
"@angular/build": "^22.1.3",
"@angular/cli": "^22.1.3",
"@angular/compiler-cli": "^22.1.0",
Expand All @@ -58,13 +59,13 @@
"@rdlabo/capacitor-docgen": "0.4.1",
"@rdlabo/capacitor-printer": "8.0.1",
"@rdlabo/capacitor-screenshot-event": "8.0.0",
"@rdlabo/eslint-plugin-rules": "21.3.0",
"@rdlabo/ionic-angular-collect-icons": "2.1.0",
"@rdlabo/eslint-plugin-rules": "22.0.0",
"@rdlabo/ionic-angular-collect-icons": "3.0.0",
"@rdlabo/ionic-angular-kit": "21.6.2",
"@rdlabo/ionic-angular-photo-editor": "21.6.2",
"@rdlabo/ionic-angular-scroll-header": "21.6.2",
"@rdlabo/ionic-theme-ios26": "2.3.2",
"@rdlabo/ionic-theme-md3": "1.1.0",
"@rdlabo/ionic-theme-ios26": "3.0.0",
"@rdlabo/ionic-theme-md3": "2.0.0",
"@rdlabo/ngx-cdk-scroll-strategies": "21.6.2",
"@rdlabo/workers-hono-kit": "0.10.6",
"@tailwindcss/postcss": "^4.1.12",
Expand Down
Loading