generated from microsoft/aed-learn-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Wiki Workflow Guide using VS Code
Kenneth Rodriguez edited this page Jun 27, 2025
·
1 revision
This guide outlines a structured workflow to manage and update a GitHub wiki using local editing, folder organization, sidebar generation, and automated git operations — all based on KCS (Knowledge-Centered Service) principles.
Last updated: June 27, 2025
- Node.js (Make sure to check “Add to PATH” during installation)
- Git installed and configured
- A local clone of your GitHub wiki repo (e.g.
your-repo.wiki.git)
Clone the wiki:
git clone https://github.com/your-org/your-repo.wiki.gitStructure your Markdown files in meaningful folders:
📁 The-Escalation-Protocol.wiki/
├── Getting-Started/
│ └── Home.md
├── Defender for Endpoint/
│ └── Endpoint Detection and Response/
│ └── Alert Tuning/
│ └── Alert-Tuning-Quick-Start-Guide.md
...
Use markdown-file-tree, which supports folders.
Install it globally:
npm install -g markdown-file-treeEnsure C:\Users\<your-user>\AppData\Roaming\npm is in your PATH.
Run the following from the wiki root:
markdown-file-tree -f -o _Sidebar.mdThis scans your folders and outputs a tree-structured sidebar markdown file.
You can use these commands to stage, commit, and push changes:
git add .
git commit -m "Update wiki content and sidebar"
git pushAutomate the entire process by saving this to a file named push-wiki.ps1:
markdown-file-tree -f -o _Sidebar.md
git add .
git commit -m "Update wiki content and sidebar"
git pushThen run with:
.\push-wiki.ps1- Keep articles findable and consistent through folders.
- Use clear, concise titles for
.mdfiles. - Document fixes, procedures, or gotchas immediately after solving them.
- Periodically regenerate the sidebar to reflect structure accurately.
| Task | Tool/Command |
|---|---|
| Clone wiki | git clone <wiki-url> |
| Structure content | Folders + .md files |
| Generate sidebar | markdown-file-tree -f -o _Sidebar.md |
| Commit & push | git add . && git commit && git push |
Happy documenting! 📚
The-Escalation-Protocol.wiki
- Microsoft Defender Threat Intelligence
- Derecho informático
- Support Tips and Tools
- Github tricks
- Defender for Endpoint
- Defender Antivirus
- Endpoint Detection and Response
- Alert Tunning
- TVM
- Device Control