Skip to content
AI · INSIGHTS
𝕏
Workflow

توليد توثيق تلقائي من تعليقات الكود (n8n + Ollama)

Git commit → استخراج تعليقات الدوال → توليد Markdown موحّد بـ Ollama → نشر في Docusaurus.

Goal & Objectives

توثيق دائم التحديث بدون تكلفة كاتب تقني متفرّغ.

Step-by-step Execution

Steps

Step

Workflow Diagram

Visual route

flowchart RL S1["1. GitHub webhook on push"] S2["2. Diff changed files"] S3["3. Extract docstrings/comments"] S4["4. Ollama generate Markdown reference"] S5["5. Commit to docs/ branch"] S6["6. Docusaurus auto-rebuild"] S7["7. Telegram notify writer"] S1 --> S2 S2 --> S3 S3 --> S4 S4 --> S5 S5 --> S6 S6 --> S7 subgraph Tools["Tools Used"] T0(("n8n")) T1(("Ollama")) T2(("GitHub Webhook")) T3(("Docusaurus")) end style Tools fill:#fffbeb,stroke:#f59e0b,stroke-width:1px