diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml new file mode 100644 index 0000000..c46db90 --- /dev/null +++ b/.woodpecker/docs.yml @@ -0,0 +1,69 @@ +when: + - event: [pull_request, tag, cron] + - event: push + branch: + - ${CI_REPO_DEFAULT_BRANCH} + +variables: + - &build_plugin 'woodpeckerci/plugin-docker-buildx:3.2.1' + # deployment targets + - &publish_repos 'ocram85/arkanum-docs,gitea.ocram85.com/codeserver/arkanum-docs' + # logins for deployment targets + - publish_logins: &publish_logins + # Default DockerHub login + - registry: https://index.docker.io/v1/ + username: + from_secret: docker_user + password: + from_secret: docker_passwd + # Additional Quay.IO login + - registry: https://gitea.ocram85.com + username: + from_secret: gitea_user + password: + from_secret: gitea_passwd +steps: + test: + image: *build_plugin + settings: + dry_run: true + registry: gitea.ocram85.com + repo: test + dockerfile: Dockerfile.vitepress + platforms: linux/amd64 + auto_tag: true + build_args: + - VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}} + - TAG=${CI_COMMIT_TAG} + when: + event: pull_request + branch: ${CI_REPO_DEFAULT_BRANCH} + + publish: + image: *build_plugin + settings: + repo: *publish_repos + dockerfile: Dockerfile.vitepress + platforms: linux/amd64 + auto_tag: true + logins: *publish_logins + build_args: + - VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}} + - TAG=${CI_COMMIT_TAG} + when: + event: [push, tag, cron] + branch: ${CI_REPO_DEFAULT_BRANCH} + + build-next: + image: *build_plugin + settings: + repo: *publish_repos + dockerfile: Dockerfile.vitepress + platforms: linux/amd64 + tag: next + logins: *publish_logins + build_args: + - VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}} + - TAG=${CI_COMMIT_TAG} + when: + event: [pull_request] diff --git a/bun.lockb b/bun.lockb index 2217890..2885c55 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/docs/guide/components/arkanum-cli.md b/docs/guide/components/arkanum-cli.md index 01059d8..ce4c602 100644 --- a/docs/guide/components/arkanum-cli.md +++ b/docs/guide/components/arkanum-cli.md @@ -2,8 +2,7 @@ ## About - -## Configuration +## Referenced Source Files ::: code-group <<< @/../Dockerfile#cli{Dockerfile} diff --git a/docs/guide/components/firacode.md b/docs/guide/components/firacode.md index 618638f..1b09f6e 100644 --- a/docs/guide/components/firacode.md +++ b/docs/guide/components/firacode.md @@ -1,6 +1,6 @@ # FiraCode -## Configuration +## Referenced Source Files ::: code-group <<< @/../Dockerfile#firacode{Dockerfile} diff --git a/docs/guide/components/git.md b/docs/guide/components/git.md index 42a45af..f44b72e 100644 --- a/docs/guide/components/git.md +++ b/docs/guide/components/git.md @@ -45,7 +45,7 @@ There are also some [Phabricator](https://en.wikipedia.org/wiki/Phabricator) wor Git bash completion is already enabled in the arkanum image. -## Configuration +## Referenced Source Files ::: code-group <<< @/../Dockerfile#git{Dockerfile:line-numbers} diff --git a/docs/guide/components/starship.md b/docs/guide/components/starship.md index a16e06d..748a78a 100644 --- a/docs/guide/components/starship.md +++ b/docs/guide/components/starship.md @@ -20,7 +20,7 @@ The included default setup uses the system wide installed [NerdFont](https://www ![screen5](./prompts/prompt5.png 'git rep with golang project and open workspace changes') -## Configuration +## Referenced Source Files ::: code-group <<< @/../Dockerfile#starship{Dockerfile:line-numbers} diff --git a/docs/guide/components/vscode.md b/docs/guide/components/vscode.md index 78713a2..9e97c17 100644 --- a/docs/guide/components/vscode.md +++ b/docs/guide/components/vscode.md @@ -33,7 +33,7 @@ Adds [One Dark Pro](https://open-vsx.org/extension/zhuangtongfa/material-theme) Adds [vscode-icons](https://open-vsx.org/extension/vscode-icons-team/vscode-icons) extension as default icon theme. -## Configuration +## Referenced Source Filesq ::: code-group diff --git a/package.json b/package.json index 9d0e453..581c8bd 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ }, "devDependencies": { "@types/bun": "latest", - "prettier": "^3.1.1", + "prettier": "^3.2.5", "rimraf": "^5.0.5", - "vitepress": "^1.0.0-rc.44" + "vitepress": "^1.1.0" }, "peerDependencies": { "typescript": "^5.0.0"