Skip to content

Commit 90f3c01

Browse files
committed
new: init rainui.dev
Signed-off-by: rxinui <rainui.ly@gmail.com>
0 parents  commit 90f3c01

8 files changed

Lines changed: 71 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- main
6+
permissions:
7+
contents: write
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: 3.x
16+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
17+
- uses: actions/cache@v4
18+
with:
19+
key: mkdocs-material-${{ env.cache_id }}
20+
path: .cache
21+
restore-keys: |
22+
mkdocs-material-
23+
- run: pip install -r requirements.txt
24+
- run: mkdocs gh-deploy --force

docs/img/profile/avatar-1.png

1.4 MB
Loading

docs/img/social/github.png

13.3 KB
Loading

docs/img/social/linkedin.png

10.4 KB
Loading

docs/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: ~hi, it's Nui
3+
hide:
4+
- navigation
5+
- toc
6+
---
7+
8+
not so much to say, just hope i'll entertain you somehow. <a href="https://linkedin.com/in/rainuily" target="_blank">![Image title](./img/social/linkedin.png){ align=right width="32" }</a> <a href="https://github.com/rxinui" target="_blank">![Image title](./img/social/github.png){ align=right width="32" }</a>
9+
10+
*ps: i do platform engineering and i'm an open source enthusiast.*
11+
12+
![hi](img/profile/avatar-1.png)
13+

mkdocs.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
site_name: rainui.dev
2+
site_url: http://rainui.dev
3+
theme:
4+
name: simple-blog
5+
custom_dir: overrides
6+
features:
7+
- navigation.path
8+
- navigation.tabs
9+
# extra_javascript:
10+
# - js/social.js
11+
plugins:
12+
- search:
13+
enabled: false
14+
- blog:
15+
enabled: true
16+
markdown_extensions:
17+
- attr_list
18+
- md_in_html
19+
- pymdownx.blocks.caption

overrides/main.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{% extends "base.html" %} {% block footer %}
2+
<footer
3+
4+
>
5+
<center>
6+
<p style="font-size: 10px;">
7+
theme by <a href="https://github.com/FernandoCelmer/mkdocs-simple-blog">fernando celmer</a>
8+
</p>
9+
</center>
10+
</footer>
11+
{% endblock %}

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mkdocs-material
2+
mkdocs-material[imaging]
3+
mkdocs-simple-blog
4+
mkdocs-blog-plugin

0 commit comments

Comments
 (0)