-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontext.yaml
More file actions
50 lines (47 loc) · 1.34 KB
/
Copy pathcontext.yaml
File metadata and controls
50 lines (47 loc) · 1.34 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
$schema: 'https://raw.githubusercontent.com/context-hub/generator/refs/heads/main/json-schema.json'
documents:
- description: 'Project structure overview'
outputPath: project-structure.md
overwrite: true
sources:
- type: tree
sourcePaths:
- src
filePattern: '*'
renderFormat: ascii
enabled: true
showCharCount: true
- description: 'Lit-Tests'
outputPath: testing/lit.md
sources:
- type: file
sourcePaths:
- tests/lit
filePattern: [ "*.tea", "*.team" ]
# sample programs are obtained from tests by removing comments
- description: 'Tea Programs Examples'
outputPath: tea-programs.md
sources:
- type: file
sourcePaths:
- tests/lit
filePattern: [ "*.tea", "*.team" ]
modifiers:
- name: sanitizer
options:
rules:
- type: regex
patterns:
"~\/\/(.*)\n~": "" # remove cpp single-line comments
- description: 'Changes in Current Commit'
outputPath: changes.md
sources:
- type: git_diff
description: Recent Git Changes
commit: staged
path: [ "src", "tests" ]
render:
strategy: llm
showStats: true
showLineNumbers: true
contextLines: 5