Skip to content

Commit

Permalink
Start writing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfbyker committed Apr 16, 2024
1 parent 206ef97 commit 88aa01b
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ which we parse using [regex](https://regular-expressions.info).

## Examples

See the [`examples`](examples) folder.
See the [`examples`](https://github.com/mkdocstrings/vba/tree/master/examples) folder.

To build an example site:

Expand All @@ -32,6 +32,7 @@ python -m unittest
```

This will run all tests. This includes

- Unit tests from `tests/`.
- Doctests from `mkdocstrings_vba/`.
- Full builds from `examples/`.
Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
site/
27 changes: 27 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
site_name: "mkdocstrings-vba"
site_description: "A VBA handler for mkdocstrings."
site_url: "https://mkdocstrings.github.io/vba"
repo_url: "https://github.com/mkdocstrings/vba"
repo_name: "mkdocstrings/vba"
docs_dir: "src"
watch:
- ../README.md
- mkdocs.yml
- src
copyright: Copyright © 2022 Rudolf Byker
edit_uri: edit/master/docs/

nav:
- Home: index.md
- mkdocstrings: https://mkdocstrings.github.io/

theme:
name: material
features:
- content.action.edit
- content.action.view

markdown_extensions:
- pymdownx.snippets:
check_paths: True
restrict_base_path: False
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mkdocs==1.*
pymdown-extensions==10.*
mkdocs-material==9.*
1 change: 1 addition & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--8<-- "../README.md"

0 comments on commit 88aa01b

Please sign in to comment.