diff --git a/docs/blog/posts/demo.md b/docs/blog/posts/demo.md deleted file mode 100644 index 7fb3514..0000000 --- a/docs/blog/posts/demo.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -authors: - - rafael -title: DemoDemoDemo -description: > - a demo - a demo -date: - created: 2024-01-31 - updated: 2024-02-01 -categories: - - Demo - - Test - - Setup -links: - - index.md -comments: - true ---- - -# Welcome to MkDocs - -For full documentation visit [mkdocs.org](https://www.mkdocs.org). - -## Commands - -* `mkdocs new [dir-name]` - Create a new project. -* `mkdocs serve` - Start the live-reloading docs server. -* `mkdocs build` - Build the documentation site. -* `mkdocs -h` - Print help message and exit. - -## Project layout - - mkdocs.yml # The configuration file. - docs/ - index.md # The documentation homepage. - ... # Other markdown pages, images and other files. padding--------------------------------- -## My first blog post - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque nec -maximus ex. Sed consequat, nulla quis malesuada dapibus, elit metus vehicula -erat, ut egestas tellus eros at risus. In hac habitasse platea dictumst. -Phasellus id lacus pulvinar erat consequat pretium. Morbi malesuada arcu mauris -Nam vel justo sem. Nam placerat purus non varius luctus. Integer pretium leo in -sem rhoncus, quis gravida orci mollis. Proin id aliquam est. Vivamus in nunc ac -metus tristique pellentesque. Suspendisse viverra urna in accumsan aliquet. - -<!-- more --> - -Donec volutpat, elit ac volutpat laoreet, turpis dolor semper nibh, et dictum -massa ex pulvinar elit. Curabitur commodo sit amet dolor sed mattis. Etiam -tempor odio eu nisi gravida cursus. Maecenas ante enim, fermentum sit amet -molestie nec, mollis ac libero. Vivamus sagittis suscipit eros ut luctus. - -Nunc vehicula sagittis condimentum. Cras facilisis bibendum lorem et feugiat. -In auctor accumsan ligula, at consectetur erat commodo quis. Morbi ac nunc -pharetra, pellentesque risus in, consectetur urna. Nulla id enim facilisis -arcu tincidunt pulvinar. Vestibulum laoreet risus scelerisque porta congue. -In velit purus, dictum quis neque nec, molestie viverra risus. Nam pellentesque -tellus id elit ultricies, vel finibus erat cursus. diff --git a/docs/blog/posts/setup.md b/docs/blog/posts/setup.md index c98017e..030e8a8 100644 --- a/docs/blog/posts/setup.md +++ b/docs/blog/posts/setup.md @@ -1,16 +1,19 @@ --- authors: - rafael -title: Blog of Blog +title: Makedocs Setup description: blog of setup date: - created: 2024-01-24 - updated: 2024-01-24 + 2024-01-31 categories: - Setup comments: true +hide: + - navigation + - toc --- + # Setup blog !!! example diff --git a/docs/index.md b/docs/index.md index 8955233..5299e10 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,22 +1,37 @@ --- -comments: - true +title: "Home" +hide: + - navigation + - toc --- -# Welcome to MkDocs +# Github Profile -For full documentation visit [mkdocs.org](https://www.mkdocs.org). +## Self intro +- automotive software engineer @[BOSCH](https://www.bosch.com/) +- maker/PCB/Soldering +- vim/cli lover 🥰 +- [Zig](https://ziglang.org/) fan -## Commands +## Tech-stack +[![OS](https://skillicons.dev/icons?i=linux,windows,qnx)](https://skillicons.dev) -* `mkdocs new [dir-name]` - Create a new project. -* `mkdocs serve` - Start the live-reloading docs server. -* `mkdocs build` - Build the documentation site. -* `mkdocs -h` - Print help message and exit. +[![Editor](https://skillicons.dev/icons?i=neovim,vim,vscode)](https://skillicons.dev) -## Project layout +[![Tool](https://skillicons.dev/icons?i=git,github,githubactions,stackoverflow,gmail,jenkins)](https://skillicons.dev) - mkdocs.yml # The configuration file. - docs/ - index.md # The documentation homepage. - ... # Other markdown pages, images and other files. +[![Framework](https://skillicons.dev/icons?i=opencv,pytorch,sklearn,tensorflow,vue,qt,anaconda,arduino,d3,fastapi)](https://skillicons.dev) + +[![Lang](https://skillicons.dev/icons?i=bash,python,lua,c,cpp,cmake,matlab,powershell,latex,md,rust,zig)](https://skillicons.dev) + +## Github-status + +<a href="https://github.com/anuraghazra/github-readme-stats"> + <img align="center" width="70%" src="https://github-readme-stats.vercel.app/api?username=konosubakonoakua&count_private=true&show_icons=true" /> +</a> + +## Wakatime-status +<img align="center" width="70%" src="https://wakatime.com/share/@018df01a-2a6b-4a2c-b711-3ef8ecc0927d/ba0eb42f-61e0-4294-b4d7-e0417f8d2c78.svg"/> +<img align="center" width="70%" src="https://wakatime.com/share/@018df01a-2a6b-4a2c-b711-3ef8ecc0927d/59bb7253-5359-46b6-9427-49e06a490aee.svg"/> + +--- diff --git a/docs/stylesheets/extras.css b/docs/stylesheets/extras.css new file mode 100644 index 0000000..f637b5a --- /dev/null +++ b/docs/stylesheets/extras.css @@ -0,0 +1,3 @@ +.md-grid { + max-width: 100%; +} diff --git a/mkdocs.yml b/mkdocs.yml index b5db441..a6c1056 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,10 +1,20 @@ site_name: Rafael's Blog - +site_description: Hello, world! +site_url: https://konosubakonoakua.github.io/blog/ repo_url: https://github.com/konosubakonoakua/blog theme: name: material custom_dir: overrides + palette: + - scheme: default + toggle: + icon: material/brightness-7 + name: Switch to dark mode + - scheme: slate + toggle: + icon: material/brightness-4 + name: Switch to light mode features: - content.code.copy - content.code.annotate @@ -19,11 +29,12 @@ theme: #- navigation.tabs.sticky #- navigation.expand #- navigation.instant - - toc.follow - navigation.top - - search.suggest #- navigation.prune + - toc.follow + - search.suggest - search.highlight + - search.share icon: repo: material/github @@ -39,7 +50,7 @@ plugins: - blog: blog_toc: true post_date_format: short - post_url_date_format: yyyy/MM/dd + post_url_date_format: yyyy-MM-dd markdown_extensions: - abbr @@ -74,3 +85,12 @@ markdown_extensions: - pymdownx.emoji: emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_generator: !!python/name:material.extensions.emoji.to_svg + +############################################################# +############################################################# +############################################################# + +nav: + - Home: index.md + - Blog: + - blog/index.md diff --git a/overrides/partials/post.html b/overrides/partials/post.html index 1301b33..1b85004 100644 --- a/overrides/partials/post.html +++ b/overrides/partials/post.html @@ -18,11 +18,11 @@ <!-- Post date --> <li class="md-meta__item"> - <span class="twemoji"> - {% include ".icons/octicons/calendar-24.svg" %} - </span> + <!-- <span class="twemoji"> --> + <!-- {% include ".icons/octicons/calendar-24.svg" %} --> + <!-- </span> --> <time datetime="{{ post.meta.date }}"> - {{- post.meta.date_format -}} + {{- post.meta.date -}} </time> {#- Collapse whitespace -#} </li>