-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
1 parent
609bb29
commit 14a61f3
Showing
169 changed files
with
22,018 additions
and
1,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
67 changes: 0 additions & 67 deletions
67
docs/DID Communications Research and Specification/Field_Definitions.md
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
docs/DID Communications Research and Specification/README.md
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
docs/DID Communications Research and Specification/Standalone_Messages.md
This file was deleted.
Oops, something went wrong.
86 changes: 0 additions & 86 deletions
86
docs/DID Communications Research and Specification/i_authentication.md
This file was deleted.
Oops, something went wrong.
79 changes: 0 additions & 79 deletions
79
docs/DID Communications Research and Specification/i_credential-issuance.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.