Skip to content

Commit

Permalink
Docs/docusaurus (#324)
Browse files Browse the repository at this point in the history
* 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

Co-authored-by: huhn511 <sehe89@gmail.com>
Co-authored-by: JelleMillenaar <Jelle.millenaar@iota.org>
  • Loading branch information
3 people authored Jul 22, 2021
1 parent 609bb29 commit 14a61f3
Show file tree
Hide file tree
Showing 169 changed files with 22,018 additions and 1,148 deletions.
63 changes: 43 additions & 20 deletions .github/workflows/deploy_docs_to_github_pages.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,53 @@
name: deploy docs to github pages
name: deploy

on:
push:
branches:
- main
branches: [dev, main]
paths:
- 'documentation/**'

jobs:
deploy:
runs-on: ubuntu-18.04
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
mdbook-version: 'latest'

- run: mdbook build

- run: cargo doc --document-private-items --no-deps --release
- run: cp -r target/doc book/docs

- name: Deploy
node-version: '12.x'
- name: Test Build
run: |
cd DocOps
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run build
gh-release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Build
run: |
cd DocOps
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run build
- name: Release to GitHub Pages
uses: iotaledger/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./book
cname: identity.docs.iota.org
publish_dir: ./DocOps/build
cname: identity-docs.iota.org

This file was deleted.

38 changes: 0 additions & 38 deletions docs/DID Communications Research and Specification/README.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 14a61f3

Please sign in to comment.