Skip to content

Commit

Permalink
use insiders repo of mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Nov 11, 2022
1 parent fa2fd4b commit 5706b46
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
5 changes: 3 additions & 2 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";

This comment has been minimized.

Copy link
@shyim

shyim Nov 12, 2022

Contributor

This bin folder is not present in this repo and fails locally 😅

This comment has been minimized.

Copy link
@domenkozar

domenkozar Nov 12, 2022

Author Member

Yeah, this is quite a mess currently. I'll try to fix it in the next days.

For now you can just run mkdocs serve.


enterShell = ''
echo hola
Expand Down
Empty file added docs/blog/index.md
Empty file.
7 changes: 6 additions & 1 deletion docs/blog/posts/hello-world.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
Posted on XXXX.
---
draft: true
date: 2022-11-11
---

# Hello world

- note a bit about the history of this project

Expand Down
7 changes: 7 additions & 0 deletions mkdocs.insiders.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
INHERIT: mkdocs.yml
plugins:
social:
cards_color:
fill: "#425C82"
text: "#FBFBFB"
blog: {}
5 changes: 3 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
mkdocs-material==8.5.8
pillow
cairosvg

0 comments on commit 5706b46

Please sign in to comment.