From f169f59167879b60c0a62e6814e3d466d22c0f66 Mon Sep 17 00:00:00 2001 From: "Abner R.D." Date: Fri, 16 Aug 2024 21:27:12 +0200 Subject: [PATCH] Deploy pages mkdocs --- .github/workflows/ci.yml | 22 +++++++++++++ docs/CNAME | 1 + docs/assets/images/favicon.png | Bin 0 -> 1870 bytes docs/index.md | 7 ++++ mkdocs.yml | 58 +++++++++++++++++++++++++++++++++ 5 files changed, 88 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 docs/CNAME create mode 100644 docs/assets/images/favicon.png create mode 100644 docs/index.md create mode 100644 mkdocs.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6d60a42 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 diff --git a/docs/CNAME b/docs/CNAME new file mode 100644 index 0000000..438cc48 --- /dev/null +++ b/docs/CNAME @@ -0,0 +1 @@ +notes.ingeniebrio.net \ No newline at end of file diff --git a/docs/assets/images/favicon.png b/docs/assets/images/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..1cf13b9f9d978896599290a74f77d5dbe7d1655c GIT binary patch literal 1870 zcmV-U2eJ5xP)Gc)JR9QMau)O=X#!i9;T z37kk-upj^(fsR36MHs_+1RCI)NNu9}lD0S{B^g8PN?Ww(5|~L#Ng*g{WsqleV}|#l zz8@ri&cTzw_h33bHI+12+kK6WN$h#n5cD8OQt`5kw6p~9H3()bUQ8OS4Q4HTQ=1Ol z_JAocz`fLbT2^{`8n~UAo=#AUOf=SOq4pYkt;XbC&f#7lb$*7=$na!mWCQ`dBQsO0 zLFBSPj*N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>9M^b3;(YY}4>#ML6{~(4mH+?%07*qo IM6N<$f(jP3KmY&$ literal 0 HcmV?d00001 diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..c435ee9 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,7 @@ +# Index + + +## Under Construction + + + diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..9cb932c --- /dev/null +++ b/mkdocs.yml @@ -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 © 2024 Abner Rodriguez | + Change cookie settings