network-policy-api icon indicating copy to clipboard operation
network-policy-api copied to clipboard

Add a "Developer Guide" section to the network-policy-api website

Open astoycos opened this issue 2 years ago • 10 comments

Describe the issue: This issue will track the work for adding a "Developer Guide" section to our website. The Gateway API's developer guide may be of some help here :) see -> https://gateway-api.sigs.k8s.io/contributing/devguide/

astoycos avatar Oct 27 '23 19:10 astoycos

hey @astoycos, I would like to work on this issue, is this issue still up for grabs?

prashantrewar avatar Jan 09 '24 13:01 prashantrewar

Hiya @prashantrewar Yes that would be great 🎆

/assign @prashantrewar

astoycos avatar Jan 09 '24 15:01 astoycos

@astoycos Could you please guide me on this

what I understand is that we need to add a new section of the Developer guide in the network policy API website

prashantrewar avatar Jan 09 '24 15:01 prashantrewar

Do you want me to add this developer guide documentation to the network policy API website?

prashantrewar avatar Jan 09 '24 15:01 prashantrewar

I'll work on adding a more descriptive idea of what I'm talking about here over the day today, at a high level it may contain a pointer back to the core k8s dev docs but should be more similar to https://gateway-api.sigs.k8s.io/contributing/devguide/

i.e the process of developing specifically our project, i.e what our various make targets do, how to run conformance etc

astoycos avatar Jan 09 '24 15:01 astoycos

Hi @astoycos,

I've noticed that the issue hasn't been worked on for a while. As someone new to this area, I'd like to take a stab at it if you're still looking for an implementation.

@prashantrewar Shall I check that if you plan to continue work on this?

jgao1025 avatar Jul 07 '24 12:07 jgao1025

@jgao1025, you can try for it.

/assign @jgao1025

prashantrewar avatar Jul 08 '24 16:07 prashantrewar

@jgao1025, you can try for it.

/assign @jgao1025

@prashantrewar Thanks for replying. I am really new and very excited to pick my fist ticket on a CNCF project. I will try my best to see how I can go. :)

jgao1025 avatar Jul 11 '24 12:07 jgao1025

I spent some time this week on this job, and as this is my first commit, I suppose I would spend some time investing the setup, enviornment, etc.

Here is my plan:

  1. create a single node k8s culster on a virtual dev node according to this - this is done

  2. following this doc and test if one node k8s cluster can install the prod network product. - this is done

  3. from the make file, try to find how to build a new version. - done I have worked out this one but it needs a bit steps so I just record here. a). read Makefile file, and find out that build the doc website is Line 80, and deploy website locally is line 85. b). it needs mkdocs which is a python program, so it is better to install venv on the local machine. c). install the following python lib: pip install mkdocs mkdocs-material-extensions mike mkdocs-material d). Also Golang is needed. e). The website should be building fine now. d). now run make local-docs so that the website will be running locally and ready to be changed.

  4. get familiar with pull request process. - done

  5. build a new version and change a bit, then try to see if it can be installable to the one node cluster. - done

  6. record all the steps above and write a new web page. - done

jgao1025 avatar Jul 14 '24 12:07 jgao1025

Yep, it's done. :))) I submitted a PR recently.

jgao1025 avatar Jul 22 '24 10:07 jgao1025