Skip to content

Commit

Permalink
set up docs skeleton (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmurphypolygon authored Mar 18, 2024
1 parent bfc63a1 commit d203d4c
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ genesis.dat
*.sqlite3
*.sqlite3-shm
*.sqlite3-wal


# Docs ignore
.code
.idea
site/
venv/
env/
*.out
node_modules/
*DS_Store
*.iml
17 changes: 17 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Welcome to MkDocs

For full documentation visit [mkdocs.org](https://www.mkdocs.org).

## Commands

* `mkdocs new [dir-name]` - Create a new project.
* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site.
* `mkdocs -h` - Print help message and exit.

## Project layout

mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
site_name: Miden node

theme:
name: material
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mkdocs-material==9.4.8
markdown-include==0.8.1
mkdocs-open-in-new-tab==1.0.3
mkdocs-multirepo-plugin==0.7.0
7 changes: 7 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
mkdocs serve --strict

0 comments on commit d203d4c

Please sign in to comment.