From b12e83d88afe6bd439149016ddebcb4519432622 Mon Sep 17 00:00:00 2001 From: Anton Baliasnikov Date: Fri, 26 May 2023 12:19:06 +0100 Subject: [PATCH] fix: make relative paths in ADRs --- .github/workflows/build-docs.yml | 6 ------ .github/workflows/release.yml | 2 +- docusaurus.config.js | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index be1e5630f..bdf79eaf2 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -31,12 +31,6 @@ jobs: node-version: 16 - name: Install dependencies run: yarn install - - name: Build ADRs - run: | - cd ./atala-prism-building-blocks - npm install -g log4brains - log4brains build --out ../static/adrs - touch ../static/adrs/.nojekyll - name: Build website run: | yarn build --out-dir infra/website diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d834562dc..0ce1d7234 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: run: | cd ./atala-prism-building-blocks npm install -g log4brains - log4brains build --out ../static/adrs + log4brains build --out ../static/adrs --basePath /adrs touch ../static/adrs/.nojekyll - name: Release env: diff --git a/docusaurus.config.js b/docusaurus.config.js index fcd0a1e19..93a5dc4ac 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -154,7 +154,7 @@ const config = { }, { label: 'Architecture Decision Records', - href: 'pathname://adrs/index.html', + href: 'pathname://adrs', }, ], },