Skip to content

Commit d8ddf07

Browse files
committed
Documentation stub
0 parents  commit d8ddf07

5 files changed

Lines changed: 62 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Configure Git Credentials
15+
run: |
16+
git config user.name github-actions[bot]
17+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.x
21+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22+
- uses: actions/cache@v4
23+
with:
24+
key: mkdocs-material-${{ env.cache_id }}
25+
path: .cache
26+
restore-keys: |
27+
mkdocs-material-
28+
- run: pip install mkdocs-material
29+
- run: mkdocs gh-deploy --force

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.venv

docs/assets/gnom.png

386 KB
Loading

docs/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Welcome to the G-nom docs
2+
3+
The is the documentation for the G-nom projects and core plugins. We are currently in the process of setting up the documentation.

mkdocs.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
site_name: G-nom Docs
2+
site_url: https://g-nom-project.github.io
3+
repo_url: https://github.com/G-nom-Project/g-nom
4+
repo_name: G-nom-Project/g-nom
5+
theme:
6+
logo: assets/gnom.png
7+
favicon: assets/gnom.png
8+
icon:
9+
repo: fontawesome/brands/github
10+
name: material
11+
palette:
12+
- media: "(prefers-color-scheme)"
13+
toggle:
14+
icon: material/link
15+
name: Switch to light mode
16+
- media: "(prefers-color-scheme: light)"
17+
scheme: default
18+
primary: indigo
19+
accent: indigo
20+
toggle:
21+
icon: material/toggle-switch
22+
name: Switch to dark mode
23+
- media: "(prefers-color-scheme: dark)"
24+
scheme: slate
25+
primary: black
26+
accent: indigo
27+
toggle:
28+
icon: material/toggle-switch-off
29+
name: Switch to system preference

0 commit comments

Comments
 (0)