Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
feat: Documentation website
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Apr 28, 2022
1 parent 7470ea4 commit db5c7cc
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/documentation-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Documentation Deploy

on:
push:
branches:
- master
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Install mkdocs-material
run: |
pip install mkdocs-material
pip install blockdiag-fences
pip install mkdocs-git-revision-date-localized-plugin
- name: Build/deploy documentation
run: |
cd packages/documentation
mkdocs gh-deploy --force
1 change: 1 addition & 0 deletions packages/documentation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public/
1 change: 1 addition & 0 deletions packages/documentation/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Kitten Science
57 changes: 57 additions & 0 deletions packages/documentation/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
copyright: Oliver Salzburg
dev_addr: 0.0.0.0:8000
docs_dir: docs
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/oliversalzburg/
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: blockdiag
class: blockdiag
format: !!python/name:blockdiag_fences.blockdiag.fence_img_format
- name: seqdiag
class: seqdiag
format: !!python/name:blockdiag_fences.blockdiag.fence_img_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tilde
- toc:
permalink: true
plugins:
- git-revision-date-localized
- search
repo_name: oliversalzburg/cbc-kitten-scientists
repo_url: https://github.com/oliversalzburg/cbc-kitten-scientists
site_name: Kitten Scientists
theme:
features:
- navigation.instant
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
icon:
repo: fontawesome/brands/github
name: material
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
accent: amber
primary: indigo
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
accent: indigo
primary: amber
toggle:
icon: material/toggle-switch
name: Switch to light mode

0 comments on commit db5c7cc

Please sign in to comment.