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
6 changes: 3 additions & 3 deletions .github/workflows/deploy-docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --frozen-lockfile --filter fdm-docs
- name: Build website
run: pnpm build
run: pnpm build-docs
6 changes: 3 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --frozen-lockfile --filter fdm-docs
- name: Build website
run: pnpm build
run: pnpm build-docs

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: build
path: ./fdm-docs/build

deploy:
name: Deploy to GitHub Pages
Expand Down
6 changes: 6 additions & 0 deletions fdm-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# fdm-docs

## 0.1.1

### Patch Changes

- Fix deployment to GitHub Pages

## 0.1.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions fdm-docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ const config: Config = {
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: 'https://your-docusaurus-site.example.com',
url: 'https://svenvw.github.io',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',
baseUrl: '/fdm/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down
3 changes: 2 additions & 1 deletion fdm-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "fdm-docs",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"watch-docs": "pnpm start",
"build": "docusaurus build",
"build-docs": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
"scripts": {
"test": "turbo run test",
"build": "turbo run build",
"build-docs": "turbo run build-docs",
"watch": "turbo run watch",
"publih-packages": "turbo run build test && changeset version && changeset publish"
"publish-packages": "turbo run build test && changeset version && changeset publish"
},
"devDependencies": {
"turbo": "^2.2.1",
"@changesets/cli": "^2.27.9"
"@changesets/cli": "^2.27.9",
"turbo": "^2.2.3"
},
"packageManager": "pnpm@9.12.2"
}
58 changes: 29 additions & 29 deletions pnpm-lock.yaml

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

10 changes: 9 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,20 @@
"tasks": {
"build": {
"outputs": [
"dist/**"
"dist/**", "build/**"
],
"dependsOn": [
"^build"
]
},
"build-docs": {
"outputs": [
"build/**"
],
"dependsOn": [
"^build-docs"
]
},
"check-types": {
"dependsOn": [
"^check-types"
Expand Down