Skip to content

Commit

Permalink
a gentle amount of theming
Browse files Browse the repository at this point in the history
  • Loading branch information
ADBond committed Jan 6, 2025
1 parent f886720 commit 44c3746
Show file tree
Hide file tree
Showing 4 changed files with 279 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:root {
--md-primary-fg-color: #AA0000;
/* --md-primary-fg-color--light: #DDDDDD;
--md-primary-fg-color--dark: #00FF00; */
}
31 changes: 30 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,39 @@
site_name: Splinkclickhouse Documentation

nav:
- Home: index.md
- Quickstart: quickstart.md
- API:
- Comparison and Comparison Level Library: api/libraries.md
theme: readthedocs

theme:
name: "material"
palette:
- scheme: default
primary: custom
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- scheme: slate
primary: custom
toggle:
icon: material/toggle-switch-off-outline
name: Switch to light mode
features:
- content.code.copy
- content.code.select
extra_css:
- stylesheets/extra.css

markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences

plugins:
- search
- mkdocstrings:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ chdb = [
]
docs = [
"mkdocs>=1.6.1",
"mkdocs-material>=9.5.49",
"mkdocstrings-python>=1.13.0",
]

Expand Down
Loading

0 comments on commit 44c3746

Please sign in to comment.