diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98ee4f1..77a6b2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,10 @@ jobs: GL_RUNNER_TOKEN: ${{ secrets.GL_RUNNER_TOKEN }} GL_API_TOKEN: ${{ secrets.GL_API_TOKEN }} SHOW_JOB_LOGS: all + env: + GLPA_C0_TRIGGER_PROJECT: telescopium + GLPA_C0_TRIGGER_SHA: ${{ github.sha }} + GLPA_C0_TRIGGER_REF: ${{ github.ref }} - name: Find existing comment uses: peter-evans/find-comment@v2 diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index a41c291..97ebaa0 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - run: git clone https://github.com/${{ github.repository }} . - - run: git remote add gitlab https://gitlab.com/code0-tech/docs.git + - run: git remote add gitlab https://gitlab.com/code0-tech/telescopium.git - run: >- git -c credential.helper='!f() { sleep 1; echo "username=${{ secrets.GL_API_USER }}"; echo "password=${{ secrets.GL_API_TOKEN }}"; }; f' diff --git a/build.sh b/build.sh index 58a9680..057a2f8 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -eo pipefail + rm -rf dist/ build_project() { diff --git a/ci-template.gitlab-ci.yml b/ci-template.gitlab-ci.yml index 656778c..3698f4d 100644 --- a/ci-template.gitlab-ci.yml +++ b/ci-template.gitlab-ci.yml @@ -1,7 +1,7 @@ docs: stage: test trigger: - project: code0-tech/docs + project: code0-tech/telescopium strategy: depend variables: C0_TRIGGER_PROJECT: $CI_PROJECT_NAME diff --git a/clone_projects.sh b/clone_projects.sh index 305bb88..476e17f 100755 --- a/clone_projects.sh +++ b/clone_projects.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -eo pipefail + shopt -s extglob shopt -s dotglob diff --git a/docs/index.mdx b/docs/index.mdx new file mode 100644 index 0000000..9e64aa0 --- /dev/null +++ b/docs/index.mdx @@ -0,0 +1,7 @@ +--- +title: Welcome to the Documentation for Telescopium +description: Find out how the documentation page works +template: splash +--- + +Telescopium is the documentation page for Code0. diff --git a/docs/starlight.json b/docs/starlight.json new file mode 100644 index 0000000..7b63b4e --- /dev/null +++ b/docs/starlight.json @@ -0,0 +1,3 @@ +{ + "title": "Telescopium" +} diff --git a/documentation_repositories.txt b/documentation_repositories.txt index e69de29..d860416 100644 --- a/documentation_repositories.txt +++ b/documentation_repositories.txt @@ -0,0 +1 @@ +https://github.com/code0-tech/telescopium \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index feae59b..21749aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "docs", + "name": "telescopium", "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "docs", + "name": "telescopium", "version": "0.0.1", "dependencies": { "@astrojs/check": "^0.3.3", diff --git a/package.json b/package.json index a91180b..515f683 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "docs", + "name": "telescopium", "type": "module", "version": "0.0.1", "scripts": { diff --git a/projects/docs-landing-page/docs/index.mdx b/projects/docs-landing-page/docs/index.mdx index f3568ad..9b15a96 100644 --- a/projects/docs-landing-page/docs/index.mdx +++ b/projects/docs-landing-page/docs/index.mdx @@ -6,8 +6,10 @@ template: splash import { Card, CardGrid } from '@astrojs/starlight/components'; +## Internal documentation + - - The library implementing our design. + + Documentation about this documentation page.