Skip to content

Commit 3f255a3

Browse files
committed
documentation
1 parent 856c94f commit 3f255a3

File tree

4 files changed

+126
-0
lines changed

4 files changed

+126
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: documentation
2+
on:
3+
push:
4+
branches:
5+
- main
6+
permissions:
7+
contents: write
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0 # Important for the git-revision-date plugin
15+
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: 3.x
19+
20+
- name: Install dependencies
21+
run: pip install mkdocs-material mkdocs-minify-plugin mkdocs-git-revision-date-localized-plugin
22+
23+
- name: Deploy to GitHub Pages
24+
run: mkdocs gh-deploy --force

docs/developers.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
3+
4+
5+
6+
7+
8+
## Documentation
9+
10+
These pages are generated with mkdocs.
11+
12+
To set things up, perform the following steps (substitute name of venv if needed).
13+
14+
```
15+
python3 -m venv venv
16+
source venv/bin/activate
17+
pip install --upgrade pip
18+
pip install mkdocs
19+
pip install mkdocs-material
20+
pip install mkdocs-material[imaging]
21+
pip install pillow cairosvg
22+
pip install mkdocs-material-extensions
23+
pip install mkdocstrings[python]
24+
```
25+
26+
To start a local server, enter:
27+
```
28+
mkdocs serve
29+
```
30+

docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ontologizer
2+
3+
4+
to do.

mkdocs.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
site_name: Ontologizer
2+
3+
theme:
4+
name: "material"
5+
features:
6+
- navigation.tabs
7+
- navigation.sections
8+
- toc.integrate
9+
- navigation.top
10+
- search.suggest
11+
- search.highlight
12+
- content.tabs.link
13+
- content.code.annotation
14+
- content.code.copy
15+
- content.code.select
16+
language: en
17+
palette:
18+
- scheme: default
19+
toggle:
20+
icon: material/toggle-switch-off-outline
21+
name: Switch to dark mode
22+
primary: indigo
23+
accent: white
24+
- scheme: slate
25+
toggle:
26+
icon: material/toggle-switch
27+
name: Switch to light mode
28+
primary: teal
29+
accent: lime
30+
icon:
31+
admonition:
32+
note: octicons/tag-16
33+
abstract: octicons/checklist-16
34+
info: octicons/info-16
35+
tip: octicons/squirrel-16
36+
success: octicons/check-16
37+
question: octicons/question-16
38+
warning: octicons/alert-16
39+
failure: octicons/x-circle-16
40+
danger: octicons/zap-16
41+
bug: octicons/bug-16
42+
example: octicons/beaker-16
43+
quote: octicons/quote-16
44+
45+
46+
47+
nav:
48+
- Home: 'index.md'
49+
- Developers: 'developers.md'
50+
51+
52+
53+
54+
55+
56+
57+
markdown_extensions:
58+
- admonition
59+
- footnotes
60+
- pymdownx.details
61+
- pymdownx.superfences
62+
- pymdownx.mark
63+
- attr_list
64+
- md_in_html
65+
- tables
66+
67+
copyright: |
68+
&copy; 2026 <a href="https://github.com/pnrobinson" target="_blank" rel="noopener">Peter N Robinson</a>

0 commit comments

Comments
 (0)