Node (version >= 18.0), npm and python3.
To preview your edits to docs in the inspektor-gadget repo run
make docs
npm install docusaurus
npm run devThis will link docs from the ../inspektor-gadget folder.
To link docs from other location use IG_DOCS env variable
IG_DOCS=some/place/inspektor-gadget/docs npm run devCreate a new markdown file in docs/.
Some frontmatter properties:
slugby convention all blog post paths are /YYYY/MM/titleimageyou can use image from /static/ folder or relative path
All possible frontmatter propeties
IMPORTANT
Please remember to include <!--truncate--> after the first paragraph.
This will mark what will be shown as the preview in the "Latest" section in the blog.