Skip to content

Commit

Permalink
Merge pull request #925 from kamadorueda/main
Browse files Browse the repository at this point in the history
feat(build): #919 docs dev env
  • Loading branch information
kamadorueda authored Sep 24, 2022
2 parents 9187e31 + 8aeed32 commit 1597628
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions makes/docs/dev/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT

# shellcheck shell=bash

mdbook-mermaid install docs/
mdbook serve docs
16 changes: 16 additions & 0 deletions makes/docs/dev/main.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
inputs,
makeScript,
...
}:
makeScript {
name = "docs-dev";
entrypoint = ./entrypoint.sh;
searchPaths.bin = [
inputs.nixpkgs.mdbook
inputs.nixpkgs.mdbook-mermaid
];
}

0 comments on commit 1597628

Please sign in to comment.