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
338 changes: 259 additions & 79 deletions .github/actions/update-index/src/Helper.psm1

Large diffs are not rendered by default.

25 changes: 21 additions & 4 deletions .github/actions/update-index/src/main.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
Import-Module -Name (Join-Path $PSScriptRoot 'Helper.psm1')

$repos = Show-RepoList
# Update-ActionList
# Update-FunctionAppList
Update-ModuleList -Repos $repos
LogGroup 'Initialize update-index run' {
Write-Host "Starting update-index in [$PSScriptRoot]"
}

LogGroup 'Collect repositories' {
$repos = Show-RepoList
Write-Host "Repository collection complete: $($repos.Count) records"
}

LogGroup 'Skipped generators' {
Write-Host 'Update-ActionList is currently disabled in main.ps1'
Write-Host 'Update-FunctionAppList is currently disabled in main.ps1'
}

LogGroup 'Update module catalog docs' {
Update-ModuleList -Repos $repos
}

LogGroup 'Finalize update-index run' {
Write-Host 'update-index run completed'
}
2 changes: 1 addition & 1 deletion .github/linters/.powershell-psscriptanalyzer.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
}
}
ExcludeRules = @(
'PSAvoidUsingWriteHost', # Write-Host is acceptable in guidance scripts.
'PSAvoidUsingWriteHost', # Write-Host is acceptable in scripts used for docs tooling and guidance.
'PSMissingModuleManifestField', # This rule is not applicable until the module is built.
'PSUseToExportFieldsInManifest'
)
Expand Down
1 change: 1 addition & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/site/
11 changes: 0 additions & 11 deletions src/docs/Modules/Dashboard-Extension/index.md

This file was deleted.

30 changes: 0 additions & 30 deletions src/docs/Modules/Dashboard-Extension/spec.md

This file was deleted.

2 changes: 0 additions & 2 deletions src/docs/Modules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This section is the local source of truth for:
- module catalog and module-level specs
- Process-PSModule structure and build flow
- repository anatomy and template onboarding
- optional dashboard extension specification for module telemetry

## Sections

Expand All @@ -18,4 +17,3 @@ This section is the local source of truth for:
- [Versioning](Versioning.md)
- [Catalog](Catalog/index.md) (auto-generated from PSModule repo metadata, release data, and README summaries)
- [Process-PSModule](Process-PSModule/index.md)
- [Dashboard Extension](Dashboard-Extension/index.md)
1 change: 0 additions & 1 deletion src/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ This site is now focused on PSModule-org specific documentation:
- [Modules](Modules/index.md): module catalog and module-specific standards
- [Process-PSModule](Modules/Process-PSModule/index.md): how modules are structured and built
- [Template onboarding](Modules/Process-PSModule/template-quickstart.md): how to start from the template
- [Dashboard extension](Modules/Dashboard-Extension/index.md): module telemetry documentation spec

## Cross-org guidance has moved

Expand Down
4 changes: 0 additions & 4 deletions src/zensical.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ nav = [
{"Build, Test, Pack, Publish" = "Modules/Process-PSModule/build-test-pack-publish.md"},
{"Template Quickstart" = "Modules/Process-PSModule/template-quickstart.md"},
]},
{"Dashboard Extension" = [
"Modules/Dashboard-Extension/index.md",
{"Spec" = "Modules/Dashboard-Extension/spec.md"},
]},
]},
{"Dictionary" = [
"Dictionary/index.md",
Expand Down