chore: update docs
All checks were successful
Notify on new PR / Notify via Google Chat (pull_request) Successful in 1m12s
CI Workflow / Check GoReleaser config (pull_request) Successful in 1m17s
CI Workflow / Prepare GO cache (pull_request) Successful in 2m17s
CI Workflow / CI run build and linting (pull_request) Successful in 6m5s
CI Workflow / Code coverage report (pull_request) Successful in 46s
CI Workflow / CI run tests (pull_request) Successful in 7m58s
CI Workflow / Test readiness for publishing provider (pull_request) Successful in 12m59s
TF Acceptance Tests Workflow / Acceptance Tests (pull_request) Successful in 19m8s

This commit is contained in:
Marcel S. Henselin 2026-05-07 09:36:34 +02:00
parent c31a8a787a
commit 9955926b7c
4 changed files with 108 additions and 2 deletions

View file

@ -172,12 +172,12 @@ func workDocs() error {
case "data-sources":
dataSources[matches[0][1]] = append(dataSources[matches[0][1]], ResItem{
ItemName: matches[0][2],
ItemLink: fmt.Sprintf("docs/%s/%s", entry.Name(), matches[0][0]),
ItemLink: fmt.Sprintf("/docs/docs/%s/%s", entry.Name(), matches[0][0]),
})
case "resources":
resources[matches[0][1]] = append(resources[matches[0][1]], ResItem{
ItemName: matches[0][2],
ItemLink: fmt.Sprintf("docs/%s/%s", entry.Name(), matches[0][0]),
ItemLink: fmt.Sprintf("/docs/docs/%s/%s", entry.Name(), matches[0][0]),
})
default:
return fmt.Errorf("this should never have happened")