fix: correct base URL for Pages deployments#429
Merged
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
kashike
approved these changes
Jun 24, 2024
sowelipililimute
pushed a commit
to sowelipililimute/docs
that referenced
this pull request
Sep 7, 2025
Adds documentation for the POSS-NOUN Fluent function added by space-wizards/RobustToolbox#5799.
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.
Fixes broken metadata and makes the sitemap generate once again. To me, it seems like there's no way to get a deployment URL at build time, so this PR tries to guess it for previews.
Based on my observations, deployment URLs are formatted in the
https://<id>.papermc-docs.pages.devformat, where<id>is a<PR head branch owner>-<branch name>identifier capped to 28 characters and special characters (/,_,.) replaced with a dash.Examples:
https://papermc-feat-add-trial-chamb.papermc-docs.pages.devhttps://zlataovce-fix-highlight-cont.papermc-docs.pages.devhttps://papermc-121.papermc-docs.pages.dev