diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index db15d14d..3e08085d 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -14,11 +14,43 @@ concurrency: cancel-in-progress: false jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Compute Docker tag + id: docker + run: echo "tag=$(./scripts/docker_tag.sh)" >> $GITHUB_OUTPUT + + - name: Build image (from cache) + uses: docker/bake-action@v5 + env: + DOCKER_TAG: ${{ steps.docker.outputs.tag }} + with: + files: bake.hcl + targets: build + load: true + set: | + *.cache-from=type=gha,scope=build-6.2.30 + *.cache-from=type=gha,scope=build-7.1.61 + + - name: Generate docs + run: ./build.sh --docs + env: + DOCKER_TAG: ${{ steps.docker.outputs.tag }} + deploy: runs-on: ubuntu-latest + needs: build environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + if: github.ref == 'refs/heads/main' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/docs/css/style.css b/docs/css/style.css index ebe5e935..0297fd73 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -51,9 +51,48 @@ p { /* Headers */ +.header-container { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 1rem; +} + +.header-icons { + display: flex; + gap: 1rem; + align-items: center; +} + +.header-icons a { + display: flex; + align-items: center; + transition: opacity 0.2s; +} + +.header-icons a:hover { + opacity: 0.7; +} + +.icon { + width: 1.5rem; + height: 1.5rem; + fill: var(--color5); +} + +.icon.fdb { + fill: none; + width: auto; +} + +.icon.janderland { + fill: none; +} + h1 { font-size: 2.5rem; line-height: 1.25; + margin: 0; } h2 { diff --git a/docs/img/fdb.svg b/docs/img/fdb.svg new file mode 100644 index 00000000..32ab9b8c --- /dev/null +++ b/docs/img/fdb.svg @@ -0,0 +1,127 @@ + + + + diff --git a/docs/img/github.svg b/docs/img/github.svg new file mode 100644 index 00000000..164af48f --- /dev/null +++ b/docs/img/github.svg @@ -0,0 +1,3 @@ + diff --git a/docs/img/jander.svg b/docs/img/jander.svg new file mode 100644 index 00000000..0d13c5d7 --- /dev/null +++ b/docs/img/jander.svg @@ -0,0 +1,60 @@ + + diff --git a/docs/index.tmpl b/docs/index.tmpl index f7d3ad9e..88651e2c 100644 --- a/docs/index.tmpl +++ b/docs/index.tmpl @@ -16,7 +16,20 @@
-