FMG-8: link stlview.js to the Codeberg source in the guide #4

Merged
fmartingr merged 1 commit from butterrobot/fmg-8-stlview-source-link into master 2026-09-09 21:38:25 +02:00 AGit
Contributor

A reader emailed after getting stuck at step 3 of "Adding STL 3D Previews to Forgejo": the only link to the full stlview.js was in the intro paragraph, and the code block in that step is an explanatory excerpt rather than the whole file, so it was unclear what the file should contain.

  • Step 2 (footer template): the stlview.js mention now links to the Codeberg source.
  • Step 3: links the Codeberg source, tells the reader to copy that file into custom/public/assets/stlview.js, and says the snippets below are partial.
  • After the asset file tree: a short note on where each file comes from (Codeberg for stlview.js, the three.js r160 release for the bundled modules).

Content-only change; no template or config changes. Both external links verified to return 200. Hugo is not installed in this environment, so the site build was not run locally — the PR build covers it.

Closes FMG-8

A reader emailed after getting stuck at step 3 of "Adding STL 3D Previews to Forgejo": the only link to the full `stlview.js` was in the intro paragraph, and the code block in that step is an explanatory excerpt rather than the whole file, so it was unclear what the file should contain. - Step 2 (footer template): the `stlview.js` mention now links to the Codeberg source. - Step 3: links the Codeberg source, tells the reader to copy that file into `custom/public/assets/stlview.js`, and says the snippets below are partial. - After the asset file tree: a short note on where each file comes from (Codeberg for `stlview.js`, the three.js r160 release for the bundled modules). Content-only change; no template or config changes. Both external links verified to return 200. Hugo is not installed in this environment, so the site build was not run locally — the PR build covers it. Closes FMG-8
FMG-8: link stlview.js to the Codeberg source in the guide
All checks were successful
Build and deploy / build-and-deploy (pull_request) Successful in 51s
46f7f2a79f
A reader got stuck at step 3 because the post never says where the full
stlview.js comes from: the only link to it was in the intro paragraph,
and the code block in that step is an explanatory excerpt rather than the
whole file. Link the source from the footer template step and from step 3
itself, say the snippets are partial, and note where each asset in the
file tree comes from.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
fmartingr approved these changes 2026-09-09 21:38:21 +02:00
fmartingr merged commit 3d92244cea into master 2026-09-09 21:38:25 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
fmartingr/fmartingr.com!4
No description provided.