-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate to mkdocs + material (#19)
* init mkdocs * wip * add images * update publish workflow * almost mvp * mvp migrate to mkdocs --------- Co-authored-by: Ken Payne <[email protected]>
- Loading branch information
Showing
28 changed files
with
380 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.vscode | ||
|
||
# sphinx build folder | ||
_build | ||
# mkdocs build folder | ||
site/ | ||
|
||
# Compiled source # | ||
################### | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
serve: | ||
poetry run mkdocs serve | ||
|
||
html: | ||
poetry run sphinx-build -b html . _build/html | ||
|
||
serve: | ||
python -m http.server --bind 127.0.0.1 8000 -d _build/html | ||
poetry run mkdocs build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Blog | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Life. Documented. | ||
|
||
Welcome to _yet another personal blog_ 👋 |
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Stoves | ||
|
||
> "Everyone needs a hobby..." | ||
> | ||
> Me: "You mispelled obsession." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
site_name: Life. Documented. | ||
repo_url: https://github.com/kgpayne/blog | ||
theme: | ||
name: material | ||
features: | ||
- navigation.indexes | ||
- navigation.instant | ||
- navigation.sections | ||
- navigation.expand | ||
- navigation.path | ||
- navigation.tabs | ||
- navigation.tabs.sticky | ||
palette: | ||
# Palette toggle for automatic mode | ||
- media: "(prefers-color-scheme)" | ||
toggle: | ||
icon: material/brightness-auto | ||
name: Switch to light mode | ||
|
||
# Palette toggle for light mode | ||
- media: "(prefers-color-scheme: light)" | ||
scheme: default | ||
primary: black | ||
toggle: | ||
icon: material/brightness-7 | ||
name: Switch to dark mode | ||
|
||
# Palette toggle for dark mode | ||
- media: "(prefers-color-scheme: dark)" | ||
scheme: slate | ||
primary: white | ||
toggle: | ||
icon: material/brightness-4 | ||
name: Switch to system preference | ||
plugins: | ||
- glightbox: | ||
slide_effect: slide | ||
width: 100% | ||
height: auto | ||
zoomable: true | ||
draggable: true | ||
touchNavigation: true | ||
markdown_extensions: | ||
- attr_list | ||
- md_in_html | ||
|
||
nav: | ||
- Home: index.md | ||
- Blog: | ||
- blog/index.md | ||
- 2023: | ||
- blog/posts/2023-01-17.md | ||
- blog/posts/2023-02-15.md | ||
- Stoves: | ||
- stoves/index.md | ||
- stoves/articles/british-military-no-6/index.md | ||
- stoves/articles/optimus-111/index.md |
Oops, something went wrong.