-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1019 from dsalaza4/main
feat(build): #940 use mkdocs
- Loading branch information
Showing
14 changed files
with
356 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
/book | ||
/mermaid.min.js | ||
/site |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
site_name: Makes Documentation | ||
site_url: https://fluidattacks.github.io/makes/ | ||
site_description: Documentation for Makes | ||
site_author: Fluid Attacks | ||
repo_url: https://github.com/fluidattacks/makes | ||
repo_name: Makes | ||
copyright: Copyright © 2023 Fluid Attacks, We hack your software. All rights reserved. | ||
|
||
docs_dir: src | ||
strict: true | ||
theme: | ||
name: material | ||
markdown_extensions: | ||
- pymdownx.superfences: | ||
custom_fences: | ||
- name: mermaid | ||
class: mermaid | ||
format: !!python/name:pymdownx.superfences.fence_code_format |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# shellcheck shell=bash | ||
|
||
mdbook-mermaid install docs/ | ||
mdbook serve docs | ||
function main { | ||
mkdocs serve -f docs/mkdocs.yml | ||
} | ||
|
||
main "${@}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
{ | ||
inputs, | ||
makeScript, | ||
outputs, | ||
... | ||
}: | ||
makeScript { | ||
name = "docs-dev"; | ||
entrypoint = ./entrypoint.sh; | ||
searchPaths.bin = [ | ||
inputs.nixpkgs.mdbook | ||
inputs.nixpkgs.mdbook-mermaid | ||
]; | ||
searchPaths.source = [outputs."/docs/runtime"]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# shellcheck shell=bash | ||
|
||
mdbook-mermaid install docs/ | ||
mdbook build docs | ||
function main { | ||
mkdocs build -f docs/mkdocs.yml | ||
} | ||
|
||
main "${@}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
{ | ||
inputs, | ||
makeScript, | ||
outputs, | ||
... | ||
}: | ||
makeScript { | ||
name = "docs"; | ||
entrypoint = ./entrypoint.sh; | ||
searchPaths.bin = [ | ||
inputs.nixpkgs.mdbook | ||
inputs.nixpkgs.mdbook-mermaid | ||
]; | ||
searchPaths.source = [outputs."/docs/runtime"]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
inputs, | ||
makePythonPypiEnvironment, | ||
makeSearchPaths, | ||
... | ||
}: | ||
makeSearchPaths { | ||
bin = [inputs.nixpkgs.mkdocs]; | ||
source = [ | ||
(makePythonPypiEnvironment { | ||
name = "docs-runtime-pypi"; | ||
sourcesYaml = ./pypi/sources.yaml; | ||
}) | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mkdocs-material: "9.1.1" |
Large diffs are not rendered by default.
Oops, something went wrong.