-
Notifications
You must be signed in to change notification settings - Fork 22
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 #299 from 0xPolygonMiden/bitwalker/docs-restructuring
docs: switch from mdbook to mkdocs
- Loading branch information
Showing
18 changed files
with
129 additions
and
87 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 +1 @@ | ||
book | ||
venv |
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
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
echo "${@}" | ||
|
||
python3 -m venv target/docs/venv | ||
source target/docs/venv/bin/activate | ||
pip3 install -r docs/requirements.txt | ||
mkdocs "${@}" |
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,3 @@ | ||
mkdocs-material==9.5.33 | ||
markdown-include==0.8.1 | ||
mkdocs-open-in-new-tab==1.0.3 |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,89 @@ | ||
site_name: Miden Compiler Docs | ||
theme: | ||
name: material | ||
features: | ||
- search.suggest | ||
- search.highlight | ||
- search.share | ||
# - navigation.instant | ||
- navigation.instant.progress | ||
- navigation.tracking | ||
- navigation.integration | ||
#- navigation.tabs | ||
#- navigation.tabs.sticky | ||
- navigation.indexes | ||
#- navigation.sections | ||
- navigation.path | ||
- navigation.top | ||
- navigation.footer | ||
- toc.follow | ||
- content.code.copy | ||
- content.action.edit | ||
|
||
nav: | ||
- Getting Started: index.md | ||
- Usage: | ||
- midenc: usage/midenc.md | ||
- cargo miden: usage/cargo-miden.md | ||
- Guides: | ||
- Rust To WebAssembly: guides/rust_to_wasm.md | ||
- WebAssembly To Miden Assembly: guides/wasm_to_masm.md | ||
- Developing Miden Programs In Rust: guides/develop_miden_in_rust.md | ||
- Developing Miden Rollup Accounts And Note Scripts In Rust: guides/develop_miden_rollup_accounts_and_note_scripts_in_rust.md | ||
- Compiler Architecture: | ||
- Overview: design/overview.md | ||
- Frontends: design/frontends.md | ||
#- HIR: | ||
#- Code Generation: | ||
#- Testing: | ||
- Appendices: | ||
- Calling Conventions: appendix/calling_conventions.md | ||
|
||
markdown_extensions: | ||
- toc: | ||
permalink: true | ||
permalink_title: Link to this section | ||
toc_depth: 4 | ||
- codehilite | ||
- markdown_include.include: | ||
base_path: src | ||
- admonition | ||
- footnotes | ||
- def_list | ||
- attr_list | ||
- abbr | ||
- pymdownx.tabbed | ||
- pymdownx.superfences | ||
- pymdownx.arithmatex: | ||
generic: true | ||
- pymdownx.betterem: | ||
smart_enable: all | ||
- pymdownx.keys | ||
- pymdownx.details | ||
- pymdownx.magiclink | ||
- pymdownx.mark | ||
- pymdownx.smartsymbols | ||
- pymdownx.tasklist: | ||
custom_checkbox: true | ||
- pymdownx.tilde | ||
- pymdownx.caret | ||
- meta | ||
- smarty | ||
- pymdownx.extra | ||
|
||
plugins: | ||
- search | ||
- open-in-new-tab | ||
|
||
validation: | ||
absolute_links: warn | ||
|
||
extra_javascript: | ||
- https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0 | ||
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js | ||
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js | ||
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js | ||
|
||
extra_css: | ||
- https://fonts.googleapis.com/icon?family=Material+Icons | ||
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css |