forked from blizzthewolf/SeaCogs
feat(docs): read through mkdocs material documentation and enabled a whole bunch of qol features
This commit is contained in:
parent
174775daad
commit
c179dd0649
2 changed files with 27 additions and 3 deletions
|
@ -37,6 +37,7 @@ jobs:
|
|||
- name: Build documentation
|
||||
run: |
|
||||
export SITE_URL="https://$CI_ACTION_REF_NAME_SLUG.seacogs.coastalcommits.com"
|
||||
export EDIT_URI="src/branch/$CI_ACTION_REF_NAME/.docs"
|
||||
mkdocs build -v
|
||||
continue-on-error: true
|
||||
|
||||
|
|
29
mkdocs.yml
29
mkdocs.yml
|
@ -2,7 +2,7 @@
|
|||
site_url: !ENV [SITE_URL, 'https://seacogs.coastalcommits.com']
|
||||
repo_name: CoastalCommits
|
||||
repo_url: https://coastalcommits.com/SeaswimmerTheFsh/SeaCogs
|
||||
edit_uri: src/branch/main/.docs
|
||||
edit_uri: !ENV [EDIT_URI, 'src/branch/main/.docs']
|
||||
copyright: Copyright © 2024, SeaswimmerTheFsh
|
||||
docs_dir: .docs
|
||||
|
||||
|
@ -12,7 +12,7 @@ site_description: Documentation for my Red-DiscordBot Cogs.
|
|||
nav:
|
||||
- Home: index.md
|
||||
- Aurora:
|
||||
- Home: aurora/index.md
|
||||
- aurora/index.md
|
||||
- Moderation Commands: aurora/moderation-commands.md
|
||||
- Case Commands: aurora/case-commands.md
|
||||
- Configuration: aurora/configuration.md
|
||||
|
@ -64,18 +64,41 @@ markdown_extensions:
|
|||
theme:
|
||||
name: material
|
||||
palette:
|
||||
scheme: slate
|
||||
- media: '(prefers-color-scheme: light)'
|
||||
scheme: default
|
||||
primary: orange
|
||||
accent: amber
|
||||
toggle:
|
||||
icon: material/toggle-switch
|
||||
name: Switch to dark mode
|
||||
|
||||
- media: '(prefers-color-scheme: dark)'
|
||||
scheme: slate
|
||||
primary: orange
|
||||
accent: amber
|
||||
toggle:
|
||||
icon: material/toggle-switch-off-outline
|
||||
name: Switch to light mode
|
||||
features:
|
||||
- content.code.annotate
|
||||
- content.code.copy
|
||||
- navigation.instant
|
||||
- navigation.instant.progress
|
||||
- navigation.tabs
|
||||
- navigation.tracking
|
||||
- navigation.top
|
||||
- navigation.sections
|
||||
- navigation.indexes
|
||||
- search.suggest
|
||||
- search.highlight
|
||||
- search.share
|
||||
- toc.follow
|
||||
logo: img/logo.png
|
||||
favicon: img/logo.png
|
||||
icon:
|
||||
repo: simple/forgejo
|
||||
|
||||
watch:
|
||||
- ./aurora
|
||||
- ./nerdify
|
||||
- ./updatechecker
|
||||
|
|
Loading…
Reference in a new issue