Skip to content

Commit 998b7bc

Browse files
committed
added context7 config
1 parent 3597495 commit 998b7bc

File tree

3 files changed

+134
-1
lines changed

3 files changed

+134
-1
lines changed

Thinktecture.Runtime.Extensions.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "assets", "assets", "{21EB22
2525
.gitattributes = .gitattributes
2626
.editorconfig = .editorconfig
2727
.github\copilot-instructions.md = .github\copilot-instructions.md
28+
context7.json = context7.json
2829
EndProjectSection
2930
EndProject
3031
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{E6F200ED-86D2-4D5C-9D5F-34592908B107}"

context7.json

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
{
2+
"$schema": "https://context7.com/schema/context7.json",
3+
"projectTitle": "Thinktecture Runtime Extensions",
4+
"description": "Provides an easy way to implement Smart Enums, Value Objects and Discriminated Unions in .NET",
5+
"folders": [
6+
"docs",
7+
"samples"
8+
],
9+
"excludeFolders": [
10+
"test",
11+
".github",
12+
"docs/Version 7",
13+
"docs/Version 8",
14+
".git",
15+
".vs",
16+
".idea",
17+
"test-results"
18+
],
19+
"excludeFiles": [
20+
"LICENSE.md",
21+
"*.user",
22+
"*.DotSettings.user",
23+
"*.cache",
24+
"*.suo",
25+
"*.tmp",
26+
"*.binlog"
27+
],
28+
"rules": [
29+
{
30+
"name": "Core Documentation",
31+
"description": "Include main documentation files that explain the library's core concepts",
32+
"include": [
33+
"README.md",
34+
"docs/Smart-Enums.md",
35+
"docs/Value-Objects.md",
36+
"docs/Discriminated-Unions.md",
37+
"docs/Home.md",
38+
"docs/_Sidebar.md"
39+
]
40+
},
41+
{
42+
"name": "Technical Articles",
43+
"description": "Include comprehensive technical articles that provide detailed explanations and examples of core features",
44+
"include": [
45+
"docs/articles/Value-Objects-Solving-Primitive-Obsession-in-NET.md",
46+
"docs/articles/Handling-Complexity-Introducing-Complex-Value-Objects-in-dotnet.md",
47+
"docs/articles/Smart-Enums-Beyond-Traditional-Enumerations.md",
48+
"docs/articles/Discriminated-Unions-Representation-of-Alternative-Types-in-dotnet.md"
49+
]
50+
},
51+
{
52+
"name": "Utility Documentation",
53+
"description": "Include documentation for utility features",
54+
"include": [
55+
"docs/SingleItem.md",
56+
"docs/ToReadOnlyCollection.md",
57+
"docs/TrimOrNullify.md",
58+
"docs/Empty-....md"
59+
]
60+
},
61+
{
62+
"name": "Migration Guides",
63+
"description": "Include migration documentation for version upgrades",
64+
"include": [
65+
"docs/Migration-*.md",
66+
"docs/Migrations.md"
67+
]
68+
},
69+
{
70+
"name": "Version-Specific Documentation",
71+
"description": "Include current version documentation",
72+
"include": [
73+
"docs/Version-*.md"
74+
]
75+
},
76+
{
77+
"name": "Project Configuration",
78+
"description": "Include key project configuration files that affect library usage",
79+
"include": [
80+
"global.json",
81+
"Directory.Build.props",
82+
"Directory.Packages.props",
83+
"NuGet.config",
84+
".editorconfig"
85+
]
86+
},
87+
{
88+
"name": "Public API - Core Library",
89+
"description": "Include public interfaces and attributes that users interact with",
90+
"include": [
91+
"src/Thinktecture.Runtime.Extensions/**/*.cs"
92+
],
93+
"exclude": [
94+
"src/Thinktecture.Runtime.Extensions/**/Internal/**",
95+
"src/Thinktecture.Runtime.Extensions/**/*Internal*.cs",
96+
"src/Thinktecture.Runtime.Extensions/**/*Exception*.cs"
97+
]
98+
},
99+
{
100+
"name": "Integration Libraries - Public API",
101+
"description": "Include public APIs for framework integrations",
102+
"include": [
103+
"src/Thinktecture.Runtime.Extensions.AspNetCore/**/*.cs",
104+
"src/Thinktecture.Runtime.Extensions.EntityFrameworkCore*/**/*.cs",
105+
"src/Thinktecture.Runtime.Extensions.Json/**/*.cs",
106+
"src/Thinktecture.Runtime.Extensions.Newtonsoft.Json/**/*.cs",
107+
"src/Thinktecture.Runtime.Extensions.MessagePack/**/*.cs",
108+
"src/Thinktecture.Runtime.Extensions.Swashbuckle/**/*.cs"
109+
],
110+
"exclude": [
111+
"src/**/Internal/**",
112+
"src/**/*Internal*.cs",
113+
"src/**/*Exception*.cs"
114+
]
115+
},
116+
{
117+
"name": "Sample Projects",
118+
"description": "Include sample code demonstrating library usage patterns",
119+
"include": [
120+
"samples/**/*.cs",
121+
"samples/**/*.csproj",
122+
"samples/**/Program.cs",
123+
"samples/**/appsettings*.json"
124+
],
125+
"exclude": [
126+
"samples/**/bin/**",
127+
"samples/**/obj/**"
128+
]
129+
}
130+
],
131+
"previousVersions": []
132+
}

docs

Submodule docs updated from ca75fcc to 392ede4

0 commit comments

Comments
 (0)