Skip to content

docs(lifecycle): replace external image with local asset and remove AI-generated warning - #76

Merged
rodrigopavezi merged 1 commit into
mainfrom
03-03-docs_resources_align_lifecycle-of-a-request_with_legacy_content_and_local_assets_update_resources_lifecycle-of-a-request.mdx_to_match_legacy_lifecycle_documentation_while_removing_legacy-hosted_dependencies._-_removed_ai-generat
May 12, 2026
Merged

docs(lifecycle): replace external image with local asset and remove AI-generated warning#76
rodrigopavezi merged 1 commit into
mainfrom
03-03-docs_resources_align_lifecycle-of-a-request_with_legacy_content_and_local_assets_update_resources_lifecycle-of-a-request.mdx_to_match_legacy_lifecycle_documentation_while_removing_legacy-hosted_dependencies._-_removed_ai-generat

Conversation

@aimen74

@aimen74aimen74 commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

TL;DR

Replaced external GitBook image with local WebP image and updated documentation link reference.

What changed?

  • Added a new local WebP image file for the request lifecycle diagram at /images/architecture/lifecycle-of-a-request/request-lifecycle.webp
  • Replaced the external GitBook image URL with the local image reference in the Frame component
  • Removed the AI-generated content warning banner
  • Updated the documentation link from the Quickstart guide to the SDK (Legacy) overview page

How to test?

  1. Navigate to the lifecycle-of-a-request page
  2. Verify the request lifecycle diagram displays correctly
  3. Confirm the image loads from the local path instead of external GitBook URL
  4. Check that the SDK (Legacy) link at the bottom of the page works properly

Why make this change?

This change improves documentation reliability by hosting the lifecycle diagram locally instead of depending on external GitBook URLs, which could break or change. It also removes outdated AI-generated content warnings and updates navigation to point to the correct SDK documentation section.

This was referenced Mar 3, 2026
@aimen74Graphite App

aimen74 commented Mar 3, 2026

Copy link
Copy Markdown
ContributorAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

@aimen74aimen74 changed the title docs(resources): align lifecycle-of-a-request with legacy content and local assets Update resources/lifecycle-of-a-request.mdx to match legacy lifecycle documentation while removing legacy-hosted dependencies. - removed AI-generated warning banner - repdocs(lifecycle): replace external image with local asset and remove AI-generated warningMar 3, 2026
@aimen74aimen74 self-assigned this Mar 3, 2026
@aimen74
aimen74 requested a review from bassgetaMarch 3, 2026 14:46
@aimen74
aimen74 marked this pull request as ready for review March 3, 2026 14:46
@greptile-apps

greptile-appsBot commented Mar 3, 2026

Copy link
Copy Markdown

Greptile Summary

This PR localises the request lifecycle diagram by replacing a brittle external GitBook URL with a committed WebP asset, removes an outdated AI-generated content warning, and updates the footer link to the internal SDK (Legacy) overview page.

  • Image hosting: request-lifecycle.webp is added under images/architecture/lifecycle-of-a-request/ and referenced with the same /images/… path pattern used by every other local image in the repository; the <Frame> wrapper and alt text follow the project's AGENTS.md guidelines.
  • Link correction: The hardcoded external Quickstart URL is replaced with the local relative path /sdk-legacy/overview, which resolves to an existing sdk-legacy/overview.mdx page.
  • Housekeeping: The missing end-of-file newline is also fixed in the process.

Confidence Score: 5/5

Safe to merge — the change swaps an external image URL for a committed local asset and updates one internal link, both of which are verifiably correct.

The image file is committed at the expected path, the reference follows the same pattern used throughout the repo, the new link target sdk-legacy/overview.mdx exists, and the AGENTS.md style guidelines (Frame wrapper, alt text, frontmatter) are all satisfied. No logic or content is broken.

No files require special attention.

Important Files Changed

FilenameOverview
resources/lifecycle-of-a-request.mdxReplaces external GitBook image URL with local WebP reference, removes AI-generated warning, updates SDK link to local /sdk-legacy/overview page, and adds missing EOF newline.
images/architecture/lifecycle-of-a-request/request-lifecycle.webpNew binary asset — the lifecycle diagram image added locally to replace the dependency on an external GitBook URL.

Sequence Diagram

sequenceDiagram
participant Browser
participant MintlifyDocs as Mintlify Docs
participant LocalAsset as /images/ (local)
note over Browser,LocalAsset: Before PR — image loaded from external GitBook CDN
Browser->>MintlifyDocs: GET lifecycle-of-a-request
MintlifyDocs-->>Browser: HTML referencing external GitBook URL
Browser->>Browser: Fetch external image (could break)
note over Browser,LocalAsset: After PR — image served locally
Browser->>MintlifyDocs: GET lifecycle-of-a-request
MintlifyDocs-->>Browser: HTML referencing /images/architecture/lifecycle-of-a-request/request-lifecycle.webp
Browser->>LocalAsset: Fetch local image asset
LocalAsset-->>Browser: request-lifecycle.webp
Loading

Reviews (2): Last reviewed commit: "docs(resources): align lifecycle-of-a-re..." | Re-trigger Greptile

@greptile-appsgreptile-appsBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@rodrigopavezi
rodrigopavezi changed the base branch from 03-03-docs_resources_clean_easyinvoice_and_request_scan_pages_for_tools_examples_refine_the_tools_examples_docs_by_removing_low-value_placeholder_sections_while_keeping_the_key_product_walkthrough_content_intact._-_request-network-api to graphite-base/76March 30, 2026 18:23
@rodrigopavezi
rodrigopavezi changed the base branch from graphite-base/76 to mainMarch 30, 2026 18:23
@rodrigopavezi
rodrigopavezi changed the base branch from main to 03-03-docs_resources_clean_easyinvoice_and_request_scan_pages_for_tools_examples_refine_the_tools_examples_docs_by_removing_low-value_placeholder_sections_while_keeping_the_key_product_walkthrough_content_intact._-_request-network-apiMarch 30, 2026 18:24
@rodrigopaveziGraphite App

rodrigopavezi commented May 12, 2026

Copy link
Copy Markdown
Contributor

Merge activity

  • May 12, 4:02 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 12, 4:53 PM UTC: Graphite rebased this pull request as part of a merge.
  • May 12, 4:53 PM UTC: @rodrigopavezi merged this pull request with Graphite.

@rodrigopavezi
rodrigopavezi changed the base branch from 03-03-docs_resources_clean_easyinvoice_and_request_scan_pages_for_tools_examples_refine_the_tools_examples_docs_by_removing_low-value_placeholder_sections_while_keeping_the_key_product_walkthrough_content_intact._-_request-network-api to graphite-base/76May 12, 2026 16:50
@rodrigopavezi
rodrigopavezi changed the base branch from graphite-base/76 to mainMay 12, 2026 16:51
… local assets
Update `resources/lifecycle-of-a-request.mdx` to match legacy lifecycle
documentation while removing legacy-hosted dependencies.
- removed AI-generated warning banner
- replaced external GitBook image URL with local repo asset:
`/images/architecture/lifecycle-of-a-request/request-lifecycle.webp`
- preserved legacy lifecycle flow and section structure:
- Create a request
- Update a request
- Pay a request
- Retrieve a request / Detect a payment
- kept the Tron mention in the “Create a request” info note as requested
- replaced legacy external quickstart URL with internal docs link:
`/sdk-legacy/overview`
- retained payment-reference and declarative/request-balance explanations
@rodrigopavezi
rodrigopaveziforce-pushed the 03-03-docs_resources_align_lifecycle-of-a-request_with_legacy_content_and_local_assets_update_resources_lifecycle-of-a-request.mdx_to_match_legacy_lifecycle_documentation_while_removing_legacy-hosted_dependencies._-_removed_ai-generat branch from 6f231b0 to f2499feCompareMay 12, 2026 16:52
@rodrigopavezi
rodrigopavezi merged commit 183afa3 into mainMay 12, 2026
3 checks passed
@rodrigopavezi
rodrigopavezi deleted the 03-03-docs_resources_align_lifecycle-of-a-request_with_legacy_content_and_local_assets_update_resources_lifecycle-of-a-request.mdx_to_match_legacy_lifecycle_documentation_while_removing_legacy-hosted_dependencies._-_removed_ai-generat branch May 12, 2026 16:53
Sign up for freeto 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

@aimen74@rodrigopavezi