Create Knowledge Base Page
Purpose
To add new knowledge, strategies, or guides to the repository in a structured format compatible with the Jekyll theme.
Inputs
- •
category: The existing folder where the page belongs (e.g.,strategy,seo). - •
slug: URL-friendly filename (e.g.,my-new-page). - •
title: The human-readable title of the page. - •
content: The markdown content of the page. - •
nav_order: (Optional) Integer for ordering in the sidebar.
Procedure
- •Validate Category: Ensure the
categoryfolder exists indocs/. - •Create File:
- •Path:
docs/<category>/<slug>.md - •Content:
markdown
--- layout: default title: <title> parent: <Category Parent Title> nav_order: <nav_order> --- # <title> <content>
- •Path:
- •Update Index: Append a link to the new page in
docs/<category>/index.mdif not auto-generated. - •Commit: Commit with message "docs: add <title> to <category>".
Example
Create a page titled "Q4 Plan" in "Strategy". File:
docs/strategy/q4-plan.md