diff --git a/hack/__pycache__/mkdocs-copy-npeps.cpython-311.pyc b/hack/__pycache__/mkdocs-copy-npeps.cpython-311.pyc index 6daad3f3..a98ad55f 100644 Binary files a/hack/__pycache__/mkdocs-copy-npeps.cpython-311.pyc and b/hack/__pycache__/mkdocs-copy-npeps.cpython-311.pyc differ diff --git a/mkdocs.yml b/mkdocs.yml index 5f45a193..f59aef0e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -73,3 +73,14 @@ nav: # - Declined: - Blog: - blog/index.md + +plugins: + - blog: + # NOTE: configuration options can be found at + # https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/ + blog_dir: blog + blog_toc: true + post_excerpt: required + post_excerpt_max_authors: 2 + - search + - mike \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index d0007c1c..e1fbf71d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Click==7.0 +Click==8.1.3 htmlmin==0.1.12 Jinja2==3.1.2 jsmin==3.0.0 @@ -10,6 +10,7 @@ mkdocs-awesome-pages-plugin==2.7.0 mkdocs-macros-plugin==0.6.0 mkdocs-material==9.2.0b3 mkdocs-material-extensions==1.1.1 +mike==1.1.2 pep562==1.0 Pygments==2.14.0 pymdown-extensions==9.9.1 diff --git a/site-src/blog/.authors.yml b/site-src/blog/.authors.yml index c98d3e6d..9d53e810 100644 --- a/site-src/blog/.authors.yml +++ b/site-src/blog/.authors.yml @@ -1,5 +1,5 @@ astoycos: - name: Alex Stoycos + name: Andrew Stoycos description: Senior Software Engineer at Red Hat. network-policy-api co-lead. avatar: https://github.com/astoycos.png Dyanngg: diff --git a/site-src/blog/index.md b/site-src/blog/index.md index 967a66c1..82c83ab5 100644 --- a/site-src/blog/index.md +++ b/site-src/blog/index.md @@ -1,9 +1 @@ # Network Policy API Subgroup Blog - -## Getting Started with AdminNetworkPolicy APIs -:date: Jan 30, 2024 · :clock10: 10 min read · :pencil: @Dyanngg - -AdminNetworkPolicy API has been an exciting new addition towards the Kubernetes networking -space and is currently on its way towards beta. If you want to learn how to use the API and -how it interoperates with the existing NetworkPolicy API, check out this -[blog post](posts/Getting%20Started%20with%20ANP.md) by @Dyanngg. diff --git a/site-src/blog/posts/Getting Started with ANP.md b/site-src/blog/posts/Getting Started with ANP.md index 81c54550..5f5780a4 100644 --- a/site-src/blog/posts/Getting Started with ANP.md +++ b/site-src/blog/posts/Getting Started with ANP.md @@ -12,6 +12,8 @@ how it interoperates with the existing NetworkPolicy API, you've landed at the r This blog post will take you through the ins-and-outs of the AdminNetworkPolicy objects, as well as providing some basic sample specs for typical use-cases that the API solves. + + ### Problem Statement Let's first consider a couple of very typical networking requirements for cluster admins: