Skip to content

Commit 8f3f9c2

Browse files
committed
setup mkdocs blog scaffolding
Signed-off-by: astoycos <[email protected]>
1 parent 7a4cc74 commit 8f3f9c2

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

mkdocs.yml

+9
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ plugins:
2020
- macros:
2121
#include_dir: examples
2222
j2_line_comment_prefix: "#$"
23+
- blog:
24+
# NOTE: configuration options can be found at
25+
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/
26+
blog_dir: blog
27+
blog_toc: true
28+
post_excerpt: required
29+
post_excerpt_max_authors: 2
2330
markdown_extensions:
2431
- admonition
2532
- meta
@@ -49,6 +56,8 @@ nav:
4956
- Examples: reference/examples.md
5057
- API Reference: reference/spec.md
5158
- Enhancement Proposals: enhancements.md
59+
- Blog:
60+
- blog/index.md
5261

5362

5463
# (TODO)

requirements.txt

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
Click==7.0
22
htmlmin==0.1.12
3-
Jinja2==2.11.1
3+
Jinja2==3.1.2
44
jsmin==3.0.0
55
livereload==2.6.1
66
Markdown==3.3.4
7-
MarkupSafe==1.1.1
8-
mkdocs==1.2.2
7+
MarkupSafe==2.1.3
8+
mkdocs==1.5.2
99
mkdocs-awesome-pages-plugin==2.7.0
1010
mkdocs-macros-plugin==0.6.0
11-
mkdocs-material==7.3.3
12-
mkdocs-material-extensions==1.0.1
11+
mkdocs-material==9.2.0b3
12+
mkdocs-material-extensions==1.1.1
1313
pep562==1.0
14-
Pygments==2.5.2
15-
pymdown-extensions==9.0
14+
Pygments==2.14.0
15+
pymdown-extensions==9.9.1
1616
PyYAML==5.3
1717
six==1.14.0
1818
tornado==6.0.3

site-src/blog/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Network Policy API Subgroup Blog

site-src/blog/posts/fake-post.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
date: 2023-09-07
3+
authors:
4+
- astoycos
5+
---
6+
7+
# Replace with blog post

0 commit comments

Comments
 (0)