Skip to content

Conversation

@promptless
Copy link
Contributor

@promptless promptless bot commented Oct 13, 2025

Resolves the issue where the Reference section navigation menu was empty in older versions on bazel.online. The docs.json already had Reference navigation configured for versions 6.5, 7.6, 8.0-8.4, but the files those navigation links pointed to were missing. This adds all required reference files (Build encyclopedia, Command line reference, Query Language, Flag cheatsheet) to versions 6.5.0, 7.6.1, 8.0.1, 8.1.1, 8.2.1, 8.3.1, and 8.4.2. Also adds query/language.mdx and reference/flag-cheatsheet.mdx to HEAD.

Open this suggestion in the Promptless dashboard


Help us improve Promptless — If this suggestion missed the mark, please share quick feedback.

If you want Promptless to make further changes on this PR, feel free to leave a comment tagging Promptless (It won't show up in the user drop down but Promptless will get it!)

@alan707
Copy link
Collaborator

alan707 commented Oct 15, 2025

@Promptless It seems this page is giving me a 404: https://bazel-promptless-add-reference-content-to-older-versions.mintlify.app/8.3.1/query/language

@promptless
Copy link
Contributor Author

promptless bot commented Oct 15, 2025

I've added the requested changes in commit d1c78ab

@alan707
Copy link
Collaborator

alan707 commented Oct 15, 2025

@Promptless, looks like it failed: https://github.com/alan707/bazel-docs/pull/76/checks?check_run_id=52861105247

@promptless
Copy link
Contributor Author

promptless bot commented Oct 15, 2025

I've added the requested changes in commit 0e11c6e

@alan707
Copy link
Collaborator

alan707 commented Oct 15, 2025

@Promptless failed again:

Verified update permissions
Fetching and validating config file...
Successfully validated docs.json
Fetched all file paths
Fetched 0 OpenApi file(s)
Fetched 0 AsyncApi file(s)
Skipped OpenAPI navigation generation
Skipped AsyncAPI navigation generation
No stale files found
Updating targeted paths:
  6.5.0/query/language.mdx
  7.6.1/query/language.mdx
  8.0.1/query/language.mdx
  8.1.1/query/language.mdx
  8.2.1/query/language.mdx
  8.3.1/query/language.mdx
  8.4.2/query/language.mdx
  query/language.mdx
Failed to parse page content at path 6.5.0/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 7.6.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.0.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.1.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.2.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.3.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.4.2/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path query/language.mdx: Could not parse expression with acorn
Encountered syntax error(s). Deployment not updated

@promptless
Copy link
Contributor Author

promptless bot commented Oct 15, 2025

I've added the requested changes in commit 5550693

@alan707
Copy link
Collaborator

alan707 commented Oct 15, 2025

@Promptless more errors:

Fetching and validating config file...
Successfully validated docs.json
Fetched all file paths
Fetched 0 OpenApi file(s)
Fetched 0 AsyncApi file(s)
Skipped OpenAPI navigation generation
Skipped AsyncAPI navigation generation
No stale files found
Updating targeted paths:
  6.5.0/query/language.mdx
  7.6.1/query/language.mdx
  8.0.1/query/language.mdx
  8.1.1/query/language.mdx
  8.2.1/query/language.mdx
  8.3.1/query/language.mdx
  8.4.2/query/language.mdx
  query/language.mdx
Failed to parse page content at path 6.5.0/query/language.mdx: Unexpected character `!` (U+0021) before name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a comment in MDX, use `{/* text */}`)
Failed to parse page content at path 7.6.1/query/language.mdx: Unexpected character `!` (U+0021) before name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a comment in MDX, use `{/* text */}`)
Failed to parse page content at path 8.0.1/query/language.mdx: Unexpected character `!` (U+0021) before name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a comment in MDX, use `{/* text */}`)
Failed to parse page content at path 8.1.1/query/language.mdx: Unexpected character `!` (U+0021) before name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a comment in MDX, use `{/* text */}`)
Failed to parse page content at path 8.2.1/query/language.mdx: Unexpected character `!` (U+0021) before name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a comment in MDX, use `{/* text */}`)
Failed to parse page content at path 8.3.1/query/language.mdx: Unexpected character `!` (U+0021) before name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a comment in MDX, use `{/* text */}`)
Failed to parse page content at path 8.4.2/query/language.mdx: Unexpected character `!` (U+0021) before name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a comment in MDX, use `{/* text */}`)
Failed to parse page content at path query/language.mdx: Unexpected character `!` (U+0021) before name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a comment in MDX, use `{/* text */}`)
Encountered syntax error(s). Deployment not updated```

@promptless
Copy link
Contributor Author

promptless bot commented Oct 15, 2025

I've added the requested changes in commit 11a8059

@alan707
Copy link
Collaborator

alan707 commented Oct 15, 2025

@Promptless more errors:

Verified update permissions
Fetching and validating config file...
Successfully validated docs.json
Fetched all file paths
Fetched 0 OpenApi file(s)
Fetched 0 AsyncApi file(s)
Skipped OpenAPI navigation generation
Skipped AsyncAPI navigation generation
No stale files found
Updating targeted paths:
  6.5.0/query/language.mdx
  7.6.1/query/language.mdx
  8.0.1/query/language.mdx
  8.1.1/query/language.mdx
  8.2.1/query/language.mdx
  8.3.1/query/language.mdx
  8.4.2/query/language.mdx
  query/language.mdx
Failed to parse page content at path 6.5.0/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 7.6.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.0.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.1.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.2.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.3.1/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path 8.4.2/query/language.mdx: Could not parse expression with acorn
Failed to parse page content at path query/language.mdx: Could not parse expression with acorn
Encountered syntax error(s). Deployment not updated

@promptless
Copy link
Contributor Author

promptless bot commented Oct 15, 2025

I've added the requested changes in commit beea693

@promptless
Copy link
Contributor Author

promptless bot commented Oct 16, 2025

I've added the requested changes in commit a9fd032

@promptless
Copy link
Contributor Author

promptless bot commented Oct 16, 2025

I've added the requested changes in commit 3ff54e5

@promptless
Copy link
Contributor Author

promptless bot commented Oct 18, 2025

I've added the requested changes in commit 7369873

@promptless
Copy link
Contributor Author

promptless bot commented Oct 22, 2025

I've added the requested changes in commit 7b82c3d

@alan707 alan707 deleted the promptless/add-reference-content-to-older-versions branch November 12, 2025 16:02
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.

2 participants