Skip to content

Commit

Permalink
init mkdocs
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Pijanowski <[email protected]>
  • Loading branch information
macpijan committed Nov 9, 2021
1 parent ca6b76d commit a98c8a2
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: ci
on:
push:
branches:
- master
- main
- mkdocs
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
venv/
site/
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# vpub
Dasharo Open Source Firmware vPub (aka 3mdeb vPub) - website, presentations and notes

# Local build

```bash
$ virtualenv -p $(which python3) venv
$ source venv/bin/activate
$ pip install mkdocs mkdocs-material
$ mkdocs build
```
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vpub.dasharo.com
Binary file added docs/images/dasharo-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
11 changes: 11 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:root {
--md-primary-fg-color: #29363b;
--md-primary-fg-color--light: #808080;
--md-primary-fg-color--dark: #29363b;
--md-accent-fg-color: hsla(117, 66%, 51%, 0.7);
--md-text-font-family: "Oswald",sans-serif;
}

:root > * {
--md-typeset-a-color: #38d430;
}
16 changes: 16 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
site_name: Dasharo Open Source Firmware vPub (aka 3mdeb vPub)
site_url: https://vpub.dasharo.com/
theme:
name: material
favicon: images/favicon.png
logo: images/dasharo-logo.png
extra_css:
- stylesheets/extra.css
google_analytics:
- UA-39420295-13
- auto
markdown_extensions:
- pymdownx.highlight
- pymdownx.superfences
- pymdownx.keys
- attr_list

0 comments on commit a98c8a2

Please sign in to comment.