Skip to content

Commit 1a3667f

Browse files
committed
Migrate docs to material for mkdocs
1 parent b56edaa commit 1a3667f

25 files changed

+1219
-1440
lines changed

.readthedocs.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,14 @@ version: 2
88
# Set the version of Python and other tools you might need
99
build:
1010
os: ubuntu-22.04
11-
apt_packages:
12-
- libmagic-dev
1311
tools:
14-
python: "3.10"
12+
python: "3.12"
1513

16-
sphinx:
17-
configuration: doc/conf.py
14+
mkdocs:
15+
configuration: mkdocs.yml
1816

1917
formats: all
2018

2119
python:
2220
install:
23-
- method: pip
24-
path: .
25-
- requirements: doc-requirements.txt
21+
- requirements: docs/requirements.txt

doc-requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/_assets/ckan.ico

1.12 KB
Binary file not shown.

doc/_assets/logo.png

824 Bytes
Loading

doc/_css/extra.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[data-md-color-scheme="ckan"] {
2+
--md-primary-fg-color: #2980b9;
3+
--md-primary-fg-color--light: #ECB7B7;
4+
--md-primary-fg-color--dark: #90030C;
5+
}
6+
7+
[data-md-color-scheme="slate"] {
8+
--md-primary-fg-color: #2980b9;
9+
--md-primary-fg-color--light: #ECB7B7;
10+
--md-primary-fg-color--dark: #90030C;
11+
--md-hue: 210;
12+
}
13+
14+
15+
[data-md-toggle="search"]:not(:checked) ~ .md-header .md-search__form::after {
16+
position: absolute;
17+
top: .3rem;
18+
right: .3rem;
19+
display: block;
20+
padding: .1rem .4rem;
21+
color: var(--md-default-bg-color);
22+
font-weight: bold;
23+
font-size: .8rem;
24+
border: .05rem solid var(--md-default-bg-color--lighter);
25+
border-radius: .1rem;
26+
content: "/";
27+
}

doc/_static/index.png

251 KB
Loading

doc/_templates/footer.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

doc/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--8<-- "CHANGELOG.md"

doc/conf.py

Lines changed: 0 additions & 263 deletions
This file was deleted.

0 commit comments

Comments
 (0)