-
Notifications
You must be signed in to change notification settings - Fork 133
docs: Refactor of Build with AI section #2044
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e178ecc
docs: Refactor of Build with AI section
patrikbraborec e0c3388
docs: Fix lint errors
patrikbraborec 3111ae2
docs: Refactor of Build with AI section - v2
patrikbraborec 0346899
docs: fix vale error
patrikbraborec 5707fe5
docs: Change MCP section
patrikbraborec 5c8a3a4
docs: Improve message regarding to MCP
patrikbraborec 597bdbb
Apply suggestions from code review
patrikbraborec 362d91a
docs: Fix PR comments
patrikbraborec 407ee53
docs: Fix lint errors
patrikbraborec ba02668
Update sources/platform/actors/development/quick_start/build_with_ai.md
patrikbraborec 0077a45
docs: Fix PR comments
patrikbraborec 7b9c94d
Update sources/platform/actors/development/quick_start/build_with_ai.md
patrikbraborec 1d1d23c
Update sources/platform/actors/development/quick_start/build_with_ai.md
patrikbraborec 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
138 changes: 56 additions & 82 deletions
138
sources/platform/actors/development/quick_start/build_with_ai.md
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
Binary file added
BIN
+72.6 KB
sources/platform/actors/development/quick_start/images/copy-for-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| import React from 'react'; | ||
|
|
||
| import { ExternalLinkIcon } from '@apify/ui-icons'; | ||
| import { Text } from '@apify/ui-library'; | ||
|
|
||
| import styles from './InstallMCPButton.module.css'; | ||
|
|
||
| export default function InstallMCPButton({ link, label = 'Install MCP', children }) { | ||
| if (!link) return null; | ||
|
|
||
| return ( | ||
| <a href={link} className={styles.button} target="_blank" rel="noopener noreferrer"> | ||
| <div className={styles.wrapper}> | ||
| <div className={styles.iconWrapper} aria-hidden> | ||
| <ExternalLinkIcon size={16} className={styles.icon} /> | ||
| </div> | ||
| <Text | ||
| size="regular" | ||
| className={styles.label} | ||
| > | ||
| {children || label} | ||
| </Text> | ||
| </div> | ||
| </a> | ||
| ); | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| .wrapper { | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| color: var(--ifm-color-content); | ||
| } | ||
|
|
||
| .button { | ||
| width: fit-content; | ||
| display: inline-flex; | ||
| align-items: center; | ||
| height: 3rem; | ||
|
|
||
| display: flex; | ||
| align-items: center; | ||
| border-radius: 8px; | ||
| border: 1px solid var(--color-Neutral_SeparatorSubtle); | ||
| background-color: var(--color-Neutral_BackgroundMuted); | ||
|
|
||
| cursor: pointer; | ||
| transition: background-color 0.2s ease-in-out; | ||
|
|
||
| &:hover { | ||
| background-color: var(--color-Neutral_BackgroundMuted); | ||
| } | ||
| } | ||
|
|
||
| .label { | ||
| height: 100%; | ||
| display: flex; | ||
| align-items: center; | ||
| padding-right: 0.8rem; | ||
| min-width: 9.3rem; | ||
|
|
||
| /* prevents font size glitch when loading the page */ | ||
| margin: 0px; | ||
| font-size: 1.4rem; | ||
| font-weight: 400; | ||
| font-family: Inter, sans-serif; | ||
| } | ||
|
|
||
| .button:hover { | ||
| background-color: var(--color-Neutral_BackgroundMuted); | ||
| color: var(--ifm-color-content); | ||
| } | ||
|
|
||
| .iconWrapper { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| padding-left: 0.8rem; | ||
| padding-right: 0.4rem; | ||
| height: 100%; | ||
| } |
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
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.