Skip to content

Commit

Permalink
Migrate docs to material for mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Nov 8, 2024
1 parent b56edaa commit 1a3667f
Show file tree
Hide file tree
Showing 25 changed files with 1,219 additions and 1,440 deletions.
12 changes: 4 additions & 8 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,14 @@ version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
apt_packages:
- libmagic-dev
tools:
python: "3.10"
python: "3.12"

sphinx:
configuration: doc/conf.py
mkdocs:
configuration: mkdocs.yml

formats: all

python:
install:
- method: pip
path: .
- requirements: doc-requirements.txt
- requirements: docs/requirements.txt
1 change: 0 additions & 1 deletion doc-requirements.txt

This file was deleted.

Binary file added doc/_assets/ckan.ico
Binary file not shown.
Binary file added doc/_assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions doc/_css/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[data-md-color-scheme="ckan"] {
--md-primary-fg-color: #2980b9;
--md-primary-fg-color--light: #ECB7B7;
--md-primary-fg-color--dark: #90030C;
}

[data-md-color-scheme="slate"] {
--md-primary-fg-color: #2980b9;
--md-primary-fg-color--light: #ECB7B7;
--md-primary-fg-color--dark: #90030C;
--md-hue: 210;
}


[data-md-toggle="search"]:not(:checked) ~ .md-header .md-search__form::after {
position: absolute;
top: .3rem;
right: .3rem;
display: block;
padding: .1rem .4rem;
color: var(--md-default-bg-color);
font-weight: bold;
font-size: .8rem;
border: .05rem solid var(--md-default-bg-color--lighter);
border-radius: .1rem;
content: "/";
}
Binary file added doc/_static/index.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 0 additions & 22 deletions doc/_templates/footer.html

This file was deleted.

1 change: 1 addition & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--8<-- "CHANGELOG.md"
263 changes: 0 additions & 263 deletions doc/conf.py

This file was deleted.

Loading

0 comments on commit 1a3667f

Please sign in to comment.