Skip to content

Conversation

@rmainwork
Copy link
Contributor

@rmainwork rmainwork commented Apr 16, 2025

Launches terraform-docs-agents by merging into main.

heatlikeheatwave and others added 13 commits March 20, 2025 17:56
…than *.mdx files (#226) (#231)

* Broken link checker should only run on .mdx files

* Add a test to catch a broken link

* Edit a JSON file

* Move to always using head.sha when link checking

* Miss a place for the head.sha

* print the changed files

* Move back to using nick-fields/retry

* Fix misspelling and add another test

* Fix wrong var being pass in

* Fix misspelling of variable

* Found another misspelling :face_palm:

* get-changed-files output is space not comma sep

* Give action a clearer name

* Fix dev-portal cache

* Revert testing changes

* Put back space
* Add readme

* Update command in package.json

* Add test output folder to gitignore

* Shorten example response

* Add default values for old and new APIs

---------

Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
* Fix content not showing up in preview and link checker checking more than *.mdx files (#226)

* Broken link checker should only run on .mdx files

* Add a test to catch a broken link

* Edit a JSON file

* Move to always using head.sha when link checking

* Miss a place for the head.sha

* print the changed files

* Move back to using nick-fields/retry

* Fix misspelling and add another test

* Fix wrong var being pass in

* Fix misspelling of variable

* Found another misspelling :face_palm:

* get-changed-files output is space not comma sep

* Give action a clearer name

* Fix dev-portal cache

* Revert testing changes

* Put back space

* Enable vercel deployment protection bypass (#230)

* Expand lychee command to multiple lines

This makes the arguments easier to read (multiple small lines rather than one
line line that stretches for miles)

* Add vercel protection bypass header to lychee command

* Disable prod workflows outside of public repo (#234)

* Disable prod workflows outside of public repo

* Moving to using job level if

* Mock imports in app/utils/utils.test.ts to run without prebuild step (#238)

* Mock import in app/api/content/[productSlug]/redirects/route.test.ts to run without prebuild step (#241)

* Mock imports in app/api/all-docs-paths/route.test.ts to run without prebuild step (#239)

* Mock imports in app/utils/allDocsPaths.test.ts to run without prebuild step (#237)

* repo sync between public and internal repos for web-unifed-docs GHA (#236)

* Change repo owner to hashicorp in repo-sync workflow (#242)

* Mock import of version metadata in app/api/content/[productSlug]/version-metadata/route.ts (#240)

* Mock import of version metadata (#244)

* Mock import of versionMetadata in app/api/assets/[productSlug]/[version]/[...assetPath]/route.test.ts(#245)

* Mock imports in app/api/content/[productSlug]/doc/[version]/[...docsPath]/route.test.ts (#243)

* Mock imports for versionMetadata.json, docsPathsAllVersions.json, and productConfig.mjs

* Remove path navigation from fixtures import (#1) (#247)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

---------

Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
Co-authored-by: Robert Main <50675045+rmainwork@users.noreply.github.com>
Co-authored-by: HashiBot <62622282+hashibot-web@users.noreply.github.com>
* Change arg to d for drop-keys

* Added functionality to test content-versions API

* Add examples to the readme
* Fix content not showing up in preview and link checker checking more than *.mdx files (#226)

* Broken link checker should only run on .mdx files

* Add a test to catch a broken link

* Edit a JSON file

* Move to always using head.sha when link checking

* Miss a place for the head.sha

* print the changed files

* Move back to using nick-fields/retry

* Fix misspelling and add another test

* Fix wrong var being pass in

* Fix misspelling of variable

* Found another misspelling :face_palm:

* get-changed-files output is space not comma sep

* Give action a clearer name

* Fix dev-portal cache

* Revert testing changes

* Put back space

* Enable vercel deployment protection bypass (#230)

* Expand lychee command to multiple lines

This makes the arguments easier to read (multiple small lines rather than one
line line that stretches for miles)

* Add vercel protection bypass header to lychee command

* Disable prod workflows outside of public repo (#234)

* Disable prod workflows outside of public repo

* Moving to using job level if

* Mock imports in app/utils/utils.test.ts to run without prebuild step (#238)

* Mock import in app/api/content/[productSlug]/redirects/route.test.ts to run without prebuild step (#241)

* Mock imports in app/api/all-docs-paths/route.test.ts to run without prebuild step (#239)

* Mock imports in app/utils/allDocsPaths.test.ts to run without prebuild step (#237)

* repo sync between public and internal repos for web-unifed-docs GHA (#236)

* Change repo owner to hashicorp in repo-sync workflow (#242)

* Mock import of version metadata in app/api/content/[productSlug]/version-metadata/route.ts (#240)

* Mock import of version metadata (#244)

* Mock import of versionMetadata in app/api/assets/[productSlug]/[version]/[...assetPath]/route.test.ts(#245)

* Mock imports in app/api/content/[productSlug]/doc/[version]/[...docsPath]/route.test.ts (#243)

* Mock imports for versionMetadata.json, docsPathsAllVersions.json, and productConfig.mjs

* Remove path navigation from fixtures import (#1)

* Remove path navigation from fixtures import (#1) (#247)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

* Remove paths arg to allow Test & Lint action to run on every PR (#253)

* Remove PR lock logic from repo-sync workflow (#263)

* Repo sync (#34)

* Remove path navigation from fixtures import (#1) (#247)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

* Remove paths arg to allow Test & Lint action to run on every PR (#253)

* Remove PR lock logic from repo-sync workflow (#263)

---------

Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>

* Repo sync (#291)



* Repo sync (#34)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

* Remove paths arg to allow Test & Lint action to run on every PR (#253)

* Remove PR lock logic from repo-sync workflow (#263)

---------

Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>

* Repo sync (#38)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

* Remove paths arg to allow Test & Lint action to run on every PR (#253)

* Remove PR lock logic from repo-sync workflow (#263)

---------

Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>

* Add Vercel link to deploy preview (#39)

* Add Vercel link to deploy job (#290)

* Fix for dev-portal is failing to build in UDR internal repo

* Repo sync (#326)

* Repo sync (#73)

* Fix content loading (#235)

* Use vercel protection bypass headcer

Builds were previously breaking when UDR attempted to make HTTP requests to the
CDN (vercel public folder) to retrieve content.

Adding the `x-vercel-protection-bypass` header should fix that

* Add use server directive

* Revert "Add use server directive"

Adding a 'use server' directive to this file causes 404s on the content
API.

This reverts commit 4f2ecae.

---------

Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>
Co-authored-by: HashiBot <62622282+hashibot-web@users.noreply.github.com>
* Remove terraform-docs-common from develop branch

* Comment out terraform-docs-common

Disable terraform-docs-common in product config

* Undo removal of content dir mapping

---------

Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>
Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
@rmainwork rmainwork requested a review from a team as a code owner April 16, 2025 16:59
@rmainwork rmainwork requested review from heatlikeheatwave and removed request for heatlikeheatwave April 16, 2025 16:59
@github-actions
Copy link
Contributor

github-actions bot commented Apr 16, 2025

Vercel Previews Deployed

Name Status Preview Updated (UTC)
Dev Portal ✅ Ready (Inspect) Visit Preview Wed Apr 16 17:07:25 UTC 2025
Unified Docs API ✅ Ready (Inspect) Visit Preview Wed Apr 16 17:03:10 UTC 2025

@github-actions
Copy link
Contributor

Broken Link Checker

Summary

Status Count
🔍 Total 836
✅ Successful 728
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 41
❓ Unknown 0
🚫 Errors 67

Errors per input

Errors in content/terraform-docs-agents/v1.4.x/docs/cloud-docs/agents/requirements.mdx

Errors in content/terraform-docs-agents/v1.11.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.2.x/docs/cloud-docs/agents/index.mdx

Errors in content/terraform-docs-agents/v1.7.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.3.x/docs/cloud-docs/agents/index.mdx

Errors in content/terraform-docs-agents/v1.9.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.13.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.3.x/docs/cloud-docs/agents/agents.mdx

Errors in content/terraform-docs-agents/v1.5.x/docs/cloud-docs/agents/requirements.mdx

Errors in content/terraform-docs-agents/v1.15.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.3.x/docs/cloud-docs/agents/requirements.mdx

Errors in content/terraform-docs-agents/v1.19.x/docs/cloud-docs/agents/changelog.mdx

Errors in content/terraform-docs-agents/v1.4.x/docs/cloud-docs/agents/agents.mdx

Errors in content/terraform-docs-agents/v1.5.x/docs/cloud-docs/agents/agent-pools.mdx

Errors in content/terraform-docs-agents/v1.4.x/docs/cloud-docs/agents/agent-pools.mdx

Errors in content/terraform-docs-agents/v1.4.x/docs/cloud-docs/agents/index.mdx

Errors in content/terraform-docs-agents/v1.5.x/docs/cloud-docs/agents/index.mdx

Errors in content/terraform-docs-agents/v1.12.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.3.x/docs/cloud-docs/agents/agent-pools.mdx

Errors in content/terraform-docs-agents/v1.5.x/docs/cloud-docs/agents/agents.mdx

Errors in content/terraform-docs-agents/v1.14.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.6.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.10.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.8.x/docs/cloud-docs/agents/telemetry.mdx

Errors in content/terraform-docs-agents/v1.16.x/docs/cloud-docs/agents/telemetry.mdx

@rmainwork rmainwork merged commit d53d654 into main Apr 16, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants