-
Notifications
You must be signed in to change notification settings - Fork 7
Fixing issues with github actions when generating docs and toolkit changes detectiong #780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jottakka
wants to merge
28
commits into
main
Choose a base branch
from
francisco/gendocsfixversion
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,206
−259
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
999a620
Fix npm version in gen tool docs
jottakka 9aca853
fixing second bug ...
jottakka 2fe71c9
fixign wrong flagsx
jottakka 8349059
updatint worfklow for better feedback
jottakka 3958c00
fixing matching checks errors
jottakka 934b32a
trying source agnostic compare approach
jottakka 6b29e11
fixing again the workflow...
jottakka 89b29a4
adding faster workflow for testing
jottakka 486fa1d
updating worflow again
jottakka 462693f
updating workflow
jottakka 6012b05
fixing some issues with ordering
jottakka 9836564
adding required all metadate flag
jottakka d5ad146
[AUTO] Adding MCP Servers docs update (#784)
github-actions[bot] 4a8d9bd
adding as cron job
jottakka 97306d7
ignoring generate jsons from linting checks
jottakka bedf07a
updating checks
jottakka e5d1a27
fixing biome errors
jottakka e3f31c5
minor update in test
jottakka 8dc2d5b
Merge branch 'main' into francisco/gendocsfixversion
jottakka 3962ed2
Revert integrations folder changes
jottakka ae28f3a
Revert toolkit-docs-generator/data changes
jottakka d6122d2
removing complex time check
jottakka b7f9ab7
fixing tests
jottakka 04f95c2
fix issue with matching again ...
jottakka fae185d
[AUTO] Adding MCP Servers docs update (#787)
github-actions[bot] 79ca4ff
fixing mismatch in components
jottakka 4b4521c
reverting pr changes
jottakka 44108b6
Again ...
jottakka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,21 @@ | ||
| import { createRequire } from "node:module"; | ||
| import type { NextConfig } from "next"; | ||
| import nextra from "nextra"; | ||
| import { withLlmsTxt } from "./lib/next-plugin-llmstxt"; | ||
| import { remarkGlossary } from "./lib/remark-glossary"; | ||
|
|
||
| const require = createRequire(import.meta.url); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure why we are adding all of these. |
||
| const designSystemMainPath = require.resolve("@arcadeai/design-system"); | ||
| const designSystemUtilsPath = require.resolve( | ||
| "@arcadeai/design-system/lib/utils" | ||
| ); | ||
| const designSystemVariablesPath = require.resolve( | ||
| "@arcadeai/design-system/assets/variables.css" | ||
| ); | ||
| const designSystemArcadeLogoPath = require.resolve( | ||
| "@arcadeai/design-system/assets/images/arcade-logo" | ||
| ); | ||
|
|
||
| // Set up Nextra with its configuration | ||
| const withNextra = nextra({ | ||
| defaultShowCopyCode: true, | ||
|
|
@@ -844,6 +857,23 @@ const nextConfig: NextConfig = withLlmsTxt({ | |
| }, | ||
| ]; | ||
| }, | ||
| webpack: (config) => { | ||
| config.resolve ??= {}; | ||
| config.resolve.alias ??= {}; | ||
|
|
||
| if (typeof config.resolve.alias === "object") { | ||
| config.resolve.alias["@arcadeai/design-system$"] = designSystemMainPath; | ||
| config.resolve.alias["@arcadeai/design-system/lib/utils"] = | ||
| designSystemUtilsPath; | ||
| config.resolve.alias["@arcadeai/design-system/assets/variables.css"] = | ||
| designSystemVariablesPath; | ||
| config.resolve.alias[ | ||
| "@arcadeai/design-system/assets/images/arcade-logo" | ||
| ] = designSystemArcadeLogoPath; | ||
| } | ||
|
|
||
| return config; | ||
| }, | ||
| headers: async () => [ | ||
| { | ||
| source: "/(.*)", | ||
|
|
||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.