Skip to content

Commit

Permalink
Merge pull request #186 from alan-turing-institute/mkdocs
Browse files Browse the repository at this point in the history
New documentation site built with Material for MkDocs (#173)
  • Loading branch information
sgreenbury authored Jul 17, 2024
2 parents 02e31d0 + 1363f07 commit 90baff8
Show file tree
Hide file tree
Showing 44 changed files with 2,707 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ outputs/

# dist paths
**/dist

# OS
.DS_Store
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ repos:
rev: v2.3.0
hooks:
- id: check-yaml
args: [--unsafe]
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/doublify/pre-commit-rust
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions docs-docsify/acknowledgements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Acknowledgements
This work was supported, in whole or in part, by the Bill & Melinda Gates Foundation [INV-001309].
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# License & disclaimer
Trustchain is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See [LICENSE-MIT](LICENSE-MIT) and [LICENSE-APACHE](LICENSE-APACHE) for details.
See [LICENSE-MIT](LICENSE-MIT) and [LICENSE-APACHE](LICENSE-APACHE) for details.
2 changes: 1 addition & 1 deletion docs/theme-custom.css → docs-docsify/theme-custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
--cover-heading-font-size-min : var(--font-size-s);
--cover-heading-font-size-max : var(--font-size-s);
--cover-heading-font-weight : bold;
}
}
File renamed without changes.
File renamed without changes
15 changes: 15 additions & 0 deletions docs/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
nav:
- index.md
- use-cases.md
- roles.md
- getting-started.md
- usage.md
# - deployment.md
- faq.md
# - glossary.md
- technical-notes.md
# - dev-guide.md
- ion.md
- contributing.md
- license.md
- acknowledgements.md
5 changes: 4 additions & 1 deletion docs/acknowledgements.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Acknowledgements
This work was supported, in whole or in part, by the Bill & Melinda Gates Foundation [INV-001309].

Trustchain was developed at the Alan Turing Institute, the UK's national institute for data science and artificial intelligence.

This work was supported, in whole or in part, by the Bill & Melinda Gates Foundation [INV-001309].
Binary file added docs/assets/bitcoind-allow-anyway.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/bitcoind-macOS-pop-up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/figs/constrained_dDID.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/figs/dDID_anatomy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/trustchain-icon-circular-thick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/trustchain-icon-circular.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/trustchain-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contributing

Trustchain is free and open source software, and we welcome contributions from open source developers.

If you would like to contribute, please take a look at our [open issues](https://github.com/alan-turing-institute/trustchain/issues).
1 change: 1 addition & 0 deletions docs/deployment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Deployment
Loading

0 comments on commit 90baff8

Please sign in to comment.