Skip to content

Commit

Permalink
docs: add mkdocs support and initialize basic documentaion
Browse files Browse the repository at this point in the history
  • Loading branch information
rishkwal committed Jul 19, 2024
1 parent ddfcb23 commit 210f065
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules/
dist/
dist/

venv/
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ docker/

# Documentation
docs/
mkdocs.yml
requirements.txt

# Development files
*.log
.DS_Store
.DS_Store
venv/
1 change: 1 addition & 0 deletions docs/examples/basic-usage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Basic Usage
1 change: 1 addition & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Getting Started
5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Introduction

```bash
$ npm install -g bitbrew
```
63 changes: 63 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
site_name: BitBrew

repo_url: https://github.com/rishkwal/bitbrew
repo_name: rishkwal/bitbrew

nav:
- Introduction: index.md
- Getting Started: getting-started.md
- Roadmap: roadmap.md
- Examples:
- Basic Usage: examples/basic-usage.md

theme:
name: material
default_palette: slate
font:
text: 'Roboto'
code: 'Roboto Mono'
palette:
- scheme: slate
primary: brown
accent: deep orange
text: white
toggle:
icon: material/brightness-4
name: Switch to light mode

- scheme: default
primary: brown
accent: deep orange
background: white
text: black
code: brown
toggle:
icon: material/brightness-7
name: Switch to dark mode

features:
- navigation.footer

extra:
generator: false

markdown_extensions:
- pymdownx.superfences
- pymdownx.tasklist:
custom_checkbox: true
clickable_checkbox: false
- pymdownx.escapeall:
hardbreak: true
nbsp: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- pymdownx.critic
- attr_list
- md_in_html
- admonition
- pymdownx.details
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mkdocs-material==9.5.29

0 comments on commit 210f065

Please sign in to comment.