From cbc3a63e266860fdb2094c67346d229106868c44 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Tue, 9 May 2023 18:49:02 +0200 Subject: [PATCH] Update CI --- .drone.yml | 5 +++++ mkdocs.yml | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 mkdocs.yml 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