Skip to content

Commit

Permalink
Deploy pages mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
arodriguezd committed Aug 16, 2024
1 parent 6a58cda commit f169f59
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI MkDocs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install pillow cairosvg
- run: mkdocs gh-deploy --force
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
notes.ingeniebrio.net
Binary file added docs/assets/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.
7 changes: 7 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Index


## Under Construction



58 changes: 58 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
site_name: Notes from an Ingeniebrio
repo_url: https://github.com/arodriguezd/notes
repo_name: arodriguezd/notes
theme:
name: material
icon:
logo: material/library
favicon: assets/images/favicon.png
font:
text: Roboto
code: Roboto Mono
features:
- navigation.tabs

language: en


icon:
repo: fontawesome/brands/github


palette:
- scheme: default
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
primary: indigo
accent: indigo

- scheme: slate
toggle:
icon: material/toggle-switch
name: Switch to light mode
primary: teal
accent: green


extra:
social:
- icon: fontawesome/brands/github-alt
link: https://github.com/arodriguezd


consent:
title: Cookie consent
description: >-
We use cookies to recognize your repeated visits and preferences, as well
as to measure the effectiveness of our documentation and whether users
find what they're searching for. With your consent, you're helping us to
make our documentation better.
actions:
- accept
- reject


copyright: |
Copyright &copy; 2024 <a target="_blank" rel="noopener">Abner Rodriguez</a> |
<a href="#__consent">Change cookie settings</a>

0 comments on commit f169f59

Please sign in to comment.