Skip to content

Commit

Permalink
feat: overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
konosubakonoakua committed Mar 18, 2024
1 parent 124cf9b commit 2a47e4d
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 85 deletions.
60 changes: 0 additions & 60 deletions docs/blog/posts/demo.md

This file was deleted.

9 changes: 6 additions & 3 deletions docs/blog/posts/setup.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
43 changes: 29 additions & 14 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -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"/>

---
3 changes: 3 additions & 0 deletions docs/stylesheets/extras.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.md-grid {
max-width: 100%;
}
28 changes: 24 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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
8 changes: 4 additions & 4 deletions overrides/partials/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2a47e4d

Please sign in to comment.