chore: simplify the api docs workflow#3186
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3186 +/- ##
========================================
Coverage 78.19% 78.20%
========================================
Files 695 695
Lines 124086 124192 +106
Branches 17222 17246 +24
========================================
+ Hits 97035 97129 +94
- Misses 26129 26142 +13
+ Partials 922 921 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
justsmth
reviewed
Jun 9, 2026
Contributor
|
🔒 Security Review — View Report Please review before merging. |
justsmth
previously approved these changes
Jul 16, 2026
WillChilds-Klein
approved these changes
Jul 23, 2026
justsmth
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issues:
Resolves: none
Description of changes:
The
doc.gotool requires being run from theutil/directory with explicit--configand--outflags. This makes the GitHub Pages workflow brittle and the tool unusable from the repo root.as a reminder, the final doc URL: https://aws.github.io/aws-lc/api/headers.html
Changes:
doc.goauto-locates its config file viaruntime.Caller(0)— no more CWD dependencyOutputDirectoryfield todoc.configso output path lives in config, not the CLIBaseDirectoryandOutputDirectoryrelative to config file locationdoc.csscopy path to be config-relativeCall-outs:
workflow_dispatchcan be used to test manually after merge--configand--outflags still work as overridesTesting:
Run locally:
go run util/doc.gofrom repo root — generates docs inpages-output/, with the main entrypointpages-output/headers.html.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.