feat(integrations): add support for glean - #6897
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
There was a problem hiding this comment.
2 issues found across 15 files
Confidence score: 2/5
docs/api-integrations/glean-oauth.mdxanddocs/api-integrations/glean.mdxboth import a generatedPreBuiltUseCasesmodule that is missing from the repo, which can cause docs build/render failures and break these integration pages in CI or production docs deploys — commit the generated files (or make generation a guaranteed build step) so imports always resolve.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/api-integrations/glean-oauth.mdx">
<violation number="1" location="docs/api-integrations/glean-oauth.mdx:89">
P1: The Glean (OAuth) page imports a generated `PreBuiltUseCases` module that is missing from the repository, so this page can fail the docs build/render. Including the generated `docs/snippets/generated/glean-oauth/PreBuiltUseCases.mdx` artifact (or removing the import and component) avoids the unresolved module.</violation>
</file>
<file name="docs/api-integrations/glean.mdx">
<violation number="1" location="docs/api-integrations/glean.mdx:87">
P1: The Glean page imports a generated `PreBuiltUseCases` module that is not present in the repository, so the page will fail to build or render unless every docs build happens to run the generator first. Adding the generated `docs/snippets/generated/glean/PreBuiltUseCases.mdx` artifact (or removing this import and component) keeps the new page buildable.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
|
||
| Enable them in your dashboard. Extend and customize to fit your needs. | ||
|
|
||
| import PreBuiltUseCases from "/snippets/generated/glean-oauth/PreBuiltUseCases.mdx" |
There was a problem hiding this comment.
P1: The Glean (OAuth) page imports a generated PreBuiltUseCases module that is missing from the repository, so this page can fail the docs build/render. Including the generated docs/snippets/generated/glean-oauth/PreBuiltUseCases.mdx artifact (or removing the import and component) avoids the unresolved module.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/api-integrations/glean-oauth.mdx, line 89:
<comment>The Glean (OAuth) page imports a generated `PreBuiltUseCases` module that is missing from the repository, so this page can fail the docs build/render. Including the generated `docs/snippets/generated/glean-oauth/PreBuiltUseCases.mdx` artifact (or removing the import and component) avoids the unresolved module.</comment>
<file context>
@@ -0,0 +1,93 @@
+
+Enable them in your dashboard. Extend and customize to fit your needs.
+
+import PreBuiltUseCases from "/snippets/generated/glean-oauth/PreBuiltUseCases.mdx"
+
+<PreBuiltUseCases />
</file context>
|
|
||
| Enable them in your dashboard. Extend and customize to fit your needs. | ||
|
|
||
| import PreBuiltUseCases from "/snippets/generated/glean/PreBuiltUseCases.mdx" |
There was a problem hiding this comment.
P1: The Glean page imports a generated PreBuiltUseCases module that is not present in the repository, so the page will fail to build or render unless every docs build happens to run the generator first. Adding the generated docs/snippets/generated/glean/PreBuiltUseCases.mdx artifact (or removing this import and component) keeps the new page buildable.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/api-integrations/glean.mdx, line 87:
<comment>The Glean page imports a generated `PreBuiltUseCases` module that is not present in the repository, so the page will fail to build or render unless every docs build happens to run the generator first. Adding the generated `docs/snippets/generated/glean/PreBuiltUseCases.mdx` artifact (or removing this import and component) keeps the new page buildable.</comment>
<file context>
@@ -0,0 +1,95 @@
+
+Enable them in your dashboard. Extend and customize to fit your needs.
+
+import PreBuiltUseCases from "/snippets/generated/glean/PreBuiltUseCases.mdx"
+
+<PreBuiltUseCases />
</file context>
Preview Deploy
|
Describe the problem and your solution