Skip to content

Commit

Permalink
add docs skeleton (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcumming authored Aug 18, 2023
1 parent 92020a8 commit 9bd497d
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: publish docs

on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install --upgrade pip
- run: |
pip install mkdocs-material
- run: rm -rf site
- run: mkdocs gh-deploy --force
- run: mkdocs --version
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ cache.yaml

# vim temp files
.*.sw[pnoq]

# documentation working files
site
env
4 changes: 4 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## CSCS User Environments

Documentation for the user-environments provided on CSCS Alps infrastructure.

3 changes: 3 additions & 0 deletions docs/uenv-gromacs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# GROMACS

supports a100.
27 changes: 27 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
site_name: alps-uenv
nav:
- Home: index.md
- 'Environments':
- 'gromacs': uenv-gromacs.md
theme:
name: material
features:
- content.code.copy
- navigation.tabs
palette:
primary: deep orange
accent: deep orange
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- tables
- toc:
permalink: true
extra_css:
- stylesheets/extra.css
repo_url: https://github.com/eth-cscs/alps-uenv

0 comments on commit 9bd497d

Please sign in to comment.