From 5706b4638445300df0609f95dd83779b8c7d1e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 11 Nov 2022 11:36:51 +0000 Subject: [PATCH] use insiders repo of mkdocs --- devenv.nix | 5 +++-- docs/blog/index.md | 0 docs/blog/posts/hello-world.md | 7 ++++++- mkdocs.insiders.yml | 7 +++++++ mkdocs.yml | 5 +++-- requirements.txt | 3 ++- 6 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 docs/blog/index.md create mode 100644 mkdocs.insiders.yml diff --git a/devenv.nix b/devenv.nix index 73ec4eb22..02a69e6e5 100644 --- a/devenv.nix +++ b/devenv.nix @@ -3,10 +3,11 @@ { packages = [ (import ./src/devenv.nix { inherit pkgs nix; }) - pkgs.python3Packages.mkdocs-material + pkgs.python3Packages.virtualenv + pkgs.python3Packages.cairocffi ]; - processes.docs.exec = "mkdocs serve"; + processes.docs.exec = "bin/mkdocs serve --config-file mkdocs.insiders.yml"; enterShell = '' echo hola diff --git a/docs/blog/index.md b/docs/blog/index.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/blog/posts/hello-world.md b/docs/blog/posts/hello-world.md index d4910a894..3de67a10f 100644 --- a/docs/blog/posts/hello-world.md +++ b/docs/blog/posts/hello-world.md @@ -1,4 +1,9 @@ -Posted on XXXX. +--- +draft: true +date: 2022-11-11 +--- + +# Hello world - note a bit about the history of this project diff --git a/mkdocs.insiders.yml b/mkdocs.insiders.yml new file mode 100644 index 000000000..fdd68463a --- /dev/null +++ b/mkdocs.insiders.yml @@ -0,0 +1,7 @@ +INHERIT: mkdocs.yml +plugins: + social: + cards_color: + fill: "#425C82" + text: "#FBFBFB" + blog: {} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 1b3c4902d..0e4997fe2 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -44,12 +44,13 @@ nav: - devenv.yaml: reference/yaml-options.md - devenv.nix: reference/options.md - Blog: - - Hello world: blog/hello-world.md + - blog/index.md - Community: - Get Involved: community/get-involved.md - Contributing: community/contributing.md plugins: - - search + search: {} + extra: social: - icon: fontawesome/brands/twitter diff --git a/requirements.txt b/requirements.txt index be2df2f30..9deb1245f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -mkdocs-material==8.5.8 +pillow +cairosvg