-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocsync.yaml
More file actions
310 lines (273 loc) · 7.02 KB
/
Copy pathdocsync.yaml
File metadata and controls
310 lines (273 loc) · 7.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# DOCSYNC Configuration for SEVE Framework
# Symbiotic Ethical Vision Engine
# Professional Documentation Synchronization System
# DOCSYNC - Document Synchronization Configuration
# Developed by EON Team - Symbeon Tech
sync_config:
# Source directories to monitor
source_dirs:
- src/seve_framework
- tests
- examples
- config
- docs # include docs as source for secondary validation
# Target directories for generated documentation
target_dirs:
- docs/technical
- docs/api
- docs/user-guides
- docs/development
- docs/operations
# Synchronization rules
sync_rules:
# Python modules
- pattern: "*.py"
template: "module_template.md"
target: "docs/technical/architecture"
auto_sync: true
validation:
- check_consistency
- check_completeness
- check_examples
# Test files
- pattern: "test_*.py"
template: "test_template.md"
target: "docs/development"
auto_sync: true
validation:
- check_test_coverage
- check_test_documentation
# Configuration files
- pattern: "*.yaml"
template: "config_template.md"
target: "docs/user-guides/installation"
auto_sync: true
validation:
- check_config_completeness
- check_config_examples
# Example files
- pattern: "example_*.py"
template: "example_template.md"
target: "docs/user-guides/tutorials"
auto_sync: true
validation:
- check_example_working
- check_example_documentation
# Operations playbooks and guides
- pattern: "DEPLOYMENT_GUIDE.md"
template: "tutorial_template.md"
target: "docs/operations/deploy"
auto_sync: true
- pattern: "TESTNET_PLAYBOOK.md"
template: "tutorial_template.md"
target: "docs/operations/testnet"
auto_sync: true
- pattern: "RPC_PROVIDERS.md"
template: "api_template.md"
target: "docs/operations/providers"
auto_sync: true
- pattern: "ENV_SETUP.md"
template: "config_template.md"
target: "docs/operations/env"
auto_sync: true
# Missing documentation - Critical documents
- pattern: "FAQ.md"
template: "faq_template.md"
target: "docs"
auto_sync: false # Manual generation for first version
validation:
- check_completeness
- check_links
- pattern: "TROUBLESHOOTING.md"
template: "troubleshooting_template.md"
target: "docs"
auto_sync: false # Manual generation for first version
validation:
- check_completeness
- check_examples
- pattern: "INTEGRATION_GUIDE.md"
template: "integration_template.md"
target: "docs/integration"
auto_sync: false # Manual generation for first version
validation:
- check_completeness
- check_code_examples
- pattern: "ADR-*.md"
template: "adr_template.md"
target: "docs/adr"
auto_sync: false # Manual creation per decision
validation:
- check_adr_format
- check_references
# Auto-sync settings
auto_sync:
enabled: true
interval: 300 # 5 minutes
trigger_on_change: true
batch_updates: true
# Validation settings
validation:
enabled: true
checks:
- consistency_check
- completeness_check
- example_validation
- link_validation
- format_validation
# Quality thresholds
quality_thresholds:
consistency_score: 0.95
completeness_score: 0.90
example_coverage: 0.80
link_validity: 0.98
# Notification settings
notifications:
enabled: true
channels:
- github_issues
- slack_webhook
- email
triggers:
- sync_failure
- validation_failure
- quality_threshold_breach
# Integration settings
integrations:
github:
enabled: true
auto_commit: false
create_pr: true
pr_template: "docsync_pr_template.md"
ci_cd:
enabled: true
pipeline: "docsync_pipeline.yml"
quality_gates: true
monitoring:
enabled: true
metrics:
- sync_performance
- validation_success_rate
- documentation_coverage
- quality_scores
# Template settings
templates:
base_path: "docs/templates"
custom_templates:
- name: "module_template"
path: "templates/module.md"
variables:
- class_name
- methods
- examples
- configuration
- name: "api_template"
path: "templates/api.md"
variables:
- endpoints
- parameters
- responses
- examples
- name: "tutorial_template"
path: "templates/tutorial.md"
variables:
- objectives
- prerequisites
- steps
- expected_results
- name: "faq_template"
path: "templates/faq_template.md"
variables:
- faq_index
- faq_sections
- support_resources
- last_updated
- name: "troubleshooting_template"
path: "templates/troubleshooting_template.md"
variables:
- troubleshooting_index
- troubleshooting_sections
- diagnostic_tools
- support_resources
- last_updated
- name: "integration_template"
path: "templates/integration_template.md"
variables:
- integration_index
- integration_sections
- integration_examples
- integration_considerations
- support_resources
- last_updated
- name: "adr_template"
path: "templates/adr_template.md"
variables:
- adr_number
- adr_title
- status
- date
- deciders
- context
- decision
- positive_consequences
- negative_consequences
- alternatives
- references
# Workflow settings
workflows:
documentation_update:
trigger: "code_change"
steps:
- detect_changes
- analyze_impact
- generate_docs
- validate_quality
- notify_stakeholders
quality_assurance:
trigger: "scheduled"
schedule: "daily"
steps:
- full_sync
- comprehensive_validation
- quality_report
- improvement_suggestions
# Security settings
security:
access_control:
read_access: "public"
write_access: "team_eon"
admin_access: "symbeon_tech"
data_protection:
encrypt_sensitive_data: true
audit_logging: true
backup_frequency: "daily"
# Performance settings
performance:
parallel_processing: true
max_workers: 4
cache_enabled: true
cache_ttl: 3600 # 1 hour
optimization:
incremental_sync: true
smart_caching: true
lazy_loading: true
# Reporting settings
reporting:
enabled: true
formats:
- markdown
- html
- pdf
schedules:
daily_summary: "09:00"
weekly_report: "monday"
monthly_analysis: "first_monday"
metrics:
- sync_performance
- quality_trends
- coverage_analysis
- improvement_suggestions
# DOCSYNC Version and Metadata
docsync_version: "1.0.0"
framework_version: "1.0.0"
last_updated: "2025-10-29"
maintained_by: "EON Team - Symbeon Tech"