From 4e97f404eb3ff8e6ce522b489699ed26bed0d4aa Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Wed, 20 Dec 2023 23:53:05 +0100 Subject: [PATCH] Add basic setup for docs --- .github/workflows/ci.yml | 2 ++ .gitlab-ci.yml | 5 +++++ docs/index.mdx | 7 +++++++ docs/starlight.json | 3 +++ 4 files changed, 17 insertions(+) create mode 100644 docs/index.mdx create mode 100644 docs/starlight.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f48bdf51..5b15fa9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,8 @@ jobs: GL_RUNNER_TOKEN: ${{ secrets.GL_RUNNER_TOKEN }} GL_API_TOKEN: ${{ secrets.GL_API_TOKEN }} SHOW_JOB_LOGS: all + env: + GLPA_C0_GH_REF: ${{ github.ref }} - name: Find existing comment uses: peter-evans/find-comment@v2 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56fb6847..aeaf6d42 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,8 @@ +include: + - project: code0-tech/telescopium + ref: build-branch + file: ci-template.gitlab-ci.yml + storybook:build: image: node:20.9.0 stage: build diff --git a/docs/index.mdx b/docs/index.mdx new file mode 100644 index 00000000..df06ffa9 --- /dev/null +++ b/docs/index.mdx @@ -0,0 +1,7 @@ +--- +title: Welcome to the Documentation for Pictor +description: Find out how the component library works +template: splash +--- + +Pictor is the component library for Code0. diff --git a/docs/starlight.json b/docs/starlight.json new file mode 100644 index 00000000..e40bab34 --- /dev/null +++ b/docs/starlight.json @@ -0,0 +1,3 @@ +{ + "title": "Pictor" +}