From 2f4459ef6fce5b869624a26115e983aafd6f814b Mon Sep 17 00:00:00 2001 From: Jelle Femmo Millenaar Date: Thu, 22 Jul 2021 16:48:51 +0200 Subject: [PATCH] Docs/docusaurus (#331) * Docs/setup docusaurus (#298) * setup docusarus template * add iota style and identity content * add gh deploy action * fix sidebar and titles * change build dir * fix folder name * add specs, fix links * fix images * fix base path and github link * add cname for security * setup documentation file structure in docusaurus * add codeSnippet component * update file paths * add remark-import-partial plugin * add missing doc files * update landing page * update footer/add empty team page * remember selected programming language * fix rust Replit * change height of code snippet * add teams page * adjust team page * minor edits to landing page * Added DID Intro text * Moved meeting minutes * Remove mdbook docs * Renamed DocOps -> documentation * Updated deploy workflow documentation * Updated blogs * update docusaurus.config.js * Fix workflow * Trigger workflow if itself changes * Moved latest meeting notes Co-authored-by: huhn511 Co-authored-by: Abdulrahim Al Methiab --- .github/workflows/deploy_docs_to_github_pages.yml | 7 ++++--- {docs => documentation/docs}/meeting-notes/2021-07-14.md | 0 2 files changed, 4 insertions(+), 3 deletions(-) rename {docs => documentation/docs}/meeting-notes/2021-07-14.md (100%) diff --git a/.github/workflows/deploy_docs_to_github_pages.yml b/.github/workflows/deploy_docs_to_github_pages.yml index a4a04b3e59..af9c316a72 100644 --- a/.github/workflows/deploy_docs_to_github_pages.yml +++ b/.github/workflows/deploy_docs_to_github_pages.yml @@ -5,6 +5,7 @@ on: branches: [dev, main] paths: - 'documentation/**' + - '.github/workflows/deploy_docs_to_github_pages.yml' jobs: checks: @@ -17,7 +18,7 @@ jobs: node-version: '12.x' - name: Test Build run: | - cd DocOps + cd documentation if [ -e yarn.lock ]; then yarn install --frozen-lockfile elif [ -e package-lock.json ]; then @@ -36,7 +37,7 @@ jobs: node-version: '12.x' - name: Build run: | - cd DocOps + cd documentation if [ -e yarn.lock ]; then yarn install --frozen-lockfile elif [ -e package-lock.json ]; then @@ -49,5 +50,5 @@ jobs: uses: iotaledger/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./DocOps/build + publish_dir: ./documentation/build cname: identity-docs.iota.org diff --git a/docs/meeting-notes/2021-07-14.md b/documentation/docs/meeting-notes/2021-07-14.md similarity index 100% rename from docs/meeting-notes/2021-07-14.md rename to documentation/docs/meeting-notes/2021-07-14.md