Skip to content

Commit

Permalink
feat: add mkdocs-awesome-pages-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Aug 1, 2024
1 parent b300817 commit 57b2332
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 9 deletions.
4 changes: 4 additions & 0 deletions base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ markdown_extensions:
alternate_style: true
- pymdownx.tasklist

plugins:
- search
- awesome-pages

theme:
name: 'material'
palette:
Expand Down
3 changes: 2 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ in
pkgs.runCommand "mkdocs"
{
buildInputs = [
mkdocs-markdownextradata-plugin
pkgs.mkdocs
pkgs.python3Packages.cairosvg
pkgs.python3Packages.mkdocs-awesome-pages-plugin
pkgs.python3Packages.mkdocs-material
pkgs.python3Packages.mkdocs-redirects
pkgs.python3Packages.pillow
mkdocs-markdownextradata-plugin
];
} ''
mkdir -p $out/bin
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# NumTide Material for MkDocs base repo
# Numtide Material for MkDocs base repo


For full documentation visit [mkdocs-material](https://squidfunk.github.io/mkdocs-material/getting-started/).

Expand Down
16 changes: 10 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
description = "mkdocs-numtide";

inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";

outputs = { self, nixpkgs }:
let
eachSystem = f:
Expand Down
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ INHERIT: !ENV MKDOCS_NUMTIDE_THEME

### Site metadata ###



## - This will be the name displayed in docs header
site_name: NumTide custom docs
site_name: Numtide custom docs
## - change this according to the relevant Numtide repo description
site_description: Custom MkDocs base Repo
## - change this according to the relevant Numtide repo docs location - eg https://numtide.github.io/treefmt/
Expand Down

0 comments on commit 57b2332

Please sign in to comment.