Add rendered example to multiple files section of Download component#4299
Closed
fern-api[bot] wants to merge 3 commits into
Closed
Add rendered example to multiple files section of Download component#4299fern-api[bot] wants to merge 3 commits into
fern-api[bot] wants to merge 3 commits into
Conversation
Contributor
|
🌿 Preview your docs: https://fern-preview-4eed1547-8484-4202-a6e6-58459f4918da.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
Contributor
Author
|
Requested by: devin |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds a rendered example (highlight-frame with a clickable button) to the "Multiple files as ZIP" section of the Download component page, matching the style of the existing single file section.
The rendered example uses real, publicly accessible files hosted via
raw.githubusercontent.comso the download button produces a working ZIP. Two small plant-themed text files (fern-care-guide.txt,watering-schedule.txt) are added alongside the existingall-about-ferns.pdfas downloadable assets. The code block below the rendered example uses the same URLs for consistency.Updates since last revision
raw.githubusercontent.comURLs as the rendered example, so the two are consistent (previously the code block used genericexample.complaceholder URLs).Review & Testing Checklist for Human
plant-care-bundle.zipis produced containing all 3 files (all-about-ferns.pdf,fern-care-guide.txt,watering-schedule.txt). The raw GitHub URLs point to@main, so the new.txtfiles won't resolve until this PR is merged.raw.githubusercontent.comURLs in the code block are acceptable for documentation, or if shorter/generic URLs would be preferable for readability.txtfiles don't cause unexpected docs build side effects (e.g., being indexed as pages)Notes
.txtfiles are not yet on themainbranch. The existingall-about-ferns.pdfURL will resolve, but the other two will fail until merge.Link to Devin session: https://app.devin.ai/sessions/08bb6c8e95804d04960abb2cd07c4335