Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ca95e1f
feat(llmstxt): code init
ice6 Jan 1, 2026
7f46647
feat(ComponentAnalyzer): simplify type name handling and add regex fo…
ice6 Jan 2, 2026
1c289ee
fix: sync the llmstxt outputs
ice6 Jan 2, 2026
22d5c39
feat(DocsGenerator): add check for index file freshness against compo…
ice6 Jan 2, 2026
ca50a4b
fix(typo): multiple typos fixed
ice6 Jan 2, 2026
d270498
refactor(ComponentAnalyzer): simplify GetClassName method by removing…
ice6 Jan 2, 2026
d80739b
feat: 添加 LlmsDocsGenerator 的中文文档
ice6 Jan 2, 2026
e1ae93a
refactor: 更改文件夹名称为 llms
ArgoZhang Jan 2, 2026
4cce1c4
chore: 更新忽略文件
ArgoZhang Jan 2, 2026
c44e11f
chore: 增加 llms 工具项目
ArgoZhang Jan 2, 2026
d05e49f
chore: 移除 llms 静态文件
ArgoZhang Jan 2, 2026
2c2a21b
revert: 撤销 build action 更改
ArgoZhang Jan 2, 2026
b44f47e
revert: 撤销 docker action 更改
ArgoZhang Jan 2, 2026
df7707f
revert: 撤销 dockerfile 更新
ArgoZhang Jan 2, 2026
ebe23bb
Merge remote-tracking branch 'origin/main'
ArgoZhang Jan 2, 2026
99741e8
fix(DocsGenerator): 修复获取最新组件源文件时间戳的逻辑
ice6 Jan 2, 2026
9558688
fix(DocsGenerator): 使用组件的最后修改时间替代源文件时间戳计算最新组件时间
ice6 Jan 2, 2026
073d26e
feat(DocsGenerator): 确保输出目录存在以避免文件写入错误
ice6 Jan 2, 2026
6cf4a8e
feat(DocsGenerator): 添加 CLI 工具配置和使用说明
ice6 Jan 2, 2026
2d9cf90
chore: 更新字典增加 llms 单词
ArgoZhang Jan 2, 2026
5713f1c
doc: 更新 readme 文档
ArgoZhang Jan 2, 2026
113f1e2
chore: 增加 llms-docs 自动化脚本
ArgoZhang Jan 2, 2026
7ec4e74
typo
ice6 Jan 2, 2026
27a106a
fix: 修正 llmsdocsgenerator 的包名和命令行工具名称
ice6 Jan 2, 2026
44509c5
chore: 更新依赖到最新
ArgoZhang Jan 2, 2026
b6c9dd3
refactor: 重构代码防止参数为空
ArgoZhang Jan 2, 2026
b2d0ee2
refactor: 修正生成文件目标位置逻辑
ArgoZhang Jan 2, 2026
4a80d40
refactor: 代码格式化
ArgoZhang Jan 2, 2026
1ee4a4c
chore: 更新 dotnet tool cli
ArgoZhang Jan 2, 2026
7d040c0
feat: 增加 --root 参数适配 cli
ArgoZhang Jan 2, 2026
17bc3bf
feat: 增加调试信息输出配置
ArgoZhang Jan 2, 2026
d2da910
feat: 重构文档生成逻辑,支持每个组件单独生成文档文件
ice6 Jan 2, 2026
ee0c216
chore: remove project into extensions lib
ArgoZhang Jan 3, 2026
260b7fc
revert: 撤销更改
ArgoZhang Jan 3, 2026
89f0100
revert: 撤销更改
ArgoZhang Jan 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -379,3 +379,9 @@ src/**/wwwroot/**/uploader

# css
**/BootstrapBlazor/wwwroot/css/bootstrap.blazor.bundle.*.css

# Code Agents
.claude

# llms
**/wwwroot/llms
7 changes: 7 additions & 0 deletions dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"css-bundler"
],
"rollForward": false
},
"bootstrapblazor.llmsdocsgenerator": {
"version": "10.0.0",
"commands": [
"llms-docs"
],
"rollForward": false
}
}
}
1 change: 1 addition & 0 deletions exclusion.dic
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,4 @@ Protocol
vditor
alertdialog
blazorbootstrap
llms
9 changes: 9 additions & 0 deletions src/BootstrapBlazor.Server/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project>

<Target Name="LLMs" AfterTargets="Build" Condition="'$(TargetFramework)' == '$(RunTargetFramework)'">
Copy link

Copilot AI Jan 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The LLMs target runs after every build when the TargetFramework matches RunTargetFramework. This means the documentation generation will execute on every build, even for incremental builds during development. Consider adding a condition to skip this in development environments or making it opt-in via a build property (e.g., Condition="'$(GenerateLlmsDocs)' == 'true'"), to avoid impacting build performance during routine development.

Suggested change
<Target Name="LLMs" AfterTargets="Build" Condition="'$(TargetFramework)' == '$(RunTargetFramework)'">
<Target Name="LLMs" AfterTargets="Build" Condition="'$(TargetFramework)' == '$(RunTargetFramework)' and '$(GenerateLlmsDocs)' == 'true'">

Copilot uses AI. Check for mistakes.
<Message Text="LLMs documentation generating ..." Importance="high"></Message>
<Exec Command="dotnet tool restore"></Exec>
Comment on lines +3 to +5
Copy link

Copilot AI Jan 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running "dotnet tool restore" on every build can slow down the build process unnecessarily. Consider checking if the tool is already available before restoring, or move the tool restore to a separate target that only runs when needed. Alternatively, document that developers should run "dotnet tool restore" manually before building.

Suggested change
<Target Name="LLMs" AfterTargets="Build" Condition="'$(TargetFramework)' == '$(RunTargetFramework)'">
<Message Text="LLMs documentation generating ..." Importance="high"></Message>
<Exec Command="dotnet tool restore"></Exec>
<PropertyGroup>
<!-- Set to true to restore local .NET tools explicitly when needed -->
<RestoreDotNetTools>false</RestoreDotNetTools>
</PropertyGroup>
<Target Name="RestoreDotNetToolsTarget" Condition="'$(RestoreDotNetTools)' == 'true'">
<Exec Command="dotnet tool restore"></Exec>
</Target>
<Target Name="LLMs" AfterTargets="Build" Condition="'$(TargetFramework)' == '$(RunTargetFramework)'">
<Message Text="LLMs documentation generating ..." Importance="high"></Message>

Copilot uses AI. Check for mistakes.
<Exec Command="dotnet llms-docs --root=$(MSBuildThisFileDirectory) --debug"></Exec>
Copy link

Copilot AI Jan 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --debug flag appears to be included in the production build target. Consider making this conditional based on the build configuration (e.g., only include --debug when Configuration is Debug) to avoid unnecessary debug output in release builds.

Suggested change
<Exec Command="dotnet llms-docs --root=$(MSBuildThisFileDirectory) --debug"></Exec>
<Exec Command="dotnet llms-docs --root=$(MSBuildThisFileDirectory) --debug" Condition="'$(Configuration)' == 'Debug'"></Exec>
<Exec Command="dotnet llms-docs --root=$(MSBuildThisFileDirectory)" Condition="'$(Configuration)' != 'Debug'"></Exec>

Copilot uses AI. Check for mistakes.
</Target>

</Project>