diff --git a/.drone.yml b/.drone.yml index dcc7d9f..f6e5145 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,3 +14,8 @@ steps: - cargo clippy -- -D warnings - cargo test +- name: doc + image: python + commands: + - pip install mkdocs-material + - mkdocs build --site-dir public \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..64fea61 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,20 @@ +site_name: Minio K8S buckets operator +theme: + language: en + name: material + palette: + # Palette toggle for dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + + +markdown_extensions: + - admonition + - pymdownx.details + - pymdownx.superfences + +repo_url: https://gitea.communiquons.org/pierre/MinioK8sBuckets +edit_uri: src/branch/master/docs/ + +plugins: + - search