Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 21 additions & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,24 @@ jobs:
- name: Check dependency health
run: python3 -m scripts.dependencies.check_package_health --solution ModularityKit.Mutator.slnx

docs:
name: docs
runs-on: ubuntu-latest
needs: build

steps:
- uses: actions/checkout@v5

- uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x

- name: Install DocFX
run: dotnet tool update -g docfx

- name: Build docs
run: docfx docfx.json

tests:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -177,6 +195,7 @@ jobs:
needs:
- build
- dependency-health
- docs
- tests
- examples-core
- examples-governance
Expand All @@ -188,13 +207,15 @@ jobs:
run: |
echo "build: ${{ needs.build.result }}"
echo "dependency-health: ${{ needs.dependency-health.result }}"
echo "docs: ${{ needs.docs.result }}"
echo "tests: ${{ needs.tests.result }}"
echo "examples-core: ${{ needs.examples-core.result }}"
echo "examples-governance: ${{ needs.examples-governance.result }}"
echo "examples-governance-redis: ${{ needs.examples-governance-redis.result }}"

if [ "${{ needs.build.result }}" != "success" ] || \
[ "${{ needs.dependency-health.result }}" != "success" ] || \
[ "${{ needs.docs.result }}" != "success" ] || \
[ "${{ needs.tests.result }}" != "success" ] || \
[ "${{ needs.examples-core.result }}" != "success" ] || \
[ "${{ needs.examples-governance.result }}" != "success" ] || \
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea/
bin/
obj/
_site/
__pycache__/
*.pyc
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<BaseIntermediateOutputPath>$(MSBuildProjectDirectory)/obj/$(MSBuildProjectName)/</BaseIntermediateOutputPath>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj/$(MSBuildProjectName)/</BaseIntermediateOutputPath>
</PropertyGroup>
</Project>
289 changes: 0 additions & 289 deletions Docs/API/API-Reference.md

This file was deleted.

2 changes: 1 addition & 1 deletion Docs/API/Redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@ in-memory provider.

- [`src/Redis/README.md`](../../src/Redis/README.md)
- [`Examples/Governance/RedisQueries/README.md`](../../Examples/Governance/RedisQueries/README.md)
- [`API-Reference.md`](API-Reference.md)
- [`Reference.md`](Reference.md)
- [Governance API](API.md)
18 changes: 18 additions & 0 deletions Docs/API/Reference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# API Reference

DocFX generates the public API reference from the compiled assemblies and XML documentation files.

## Included packages

- `ModularityKit.Mutator`
- `ModularityKit.Mutator.Governance`
- `ModularityKit.Mutator.Governance.Redis`

## Build locally

```bash
dotnet tool update -g docfx
docfx docfx.json
```

The rendered API pages appear under the `API` section of the generated site.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ python3 -m scripts.dependencies.check_package_health --solution ModularityKit.Mu
```

The check reports vulnerable packages as a failing condition and prints outdated packages for review. When a package needs attention, update the affected `PackageReference` version in the owning project and rerun the check.

## Documentation

Build the DocFX site locally with:

```bash
dotnet tool update -g docfx
docfx docfx.json
```

The generated site includes the conceptual docs under `Docs/` and the public API reference for the
three published packages.
Loading
Loading