Conversation
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1934.quarto.org 🔄 Modified Documents |
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1934.quarto.org 🔄 Modified Documents |
|
I think I can tweak current improvement of #1932 I am doing to handle this use case. We currently have So I think we can come up with something similar here to have
I believe that would work if we want to avoid modifying the blog post YAML when making the merge of prerelease into main. And avoid forgetting to do it. What do think @cwickham ? |
|
@cderv Yes, that sounds like a great idea. I like tying it to |
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1934.quarto.org 🔄 Modified Documents |
ad1be58 to
5afe467
Compare
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1934.quarto.org 🔄 Modified Documents |
|
@gordonwoodhull I added a meta to help in #1932 I'll merge before this PR. Also your last commit quarto-web/docs/prerelease/1.9/_pre-release-feature.qmd Lines 1 to 5 in c15681d I think we could avoid that - again to minimize what needs to be modified when docs is out. |
|
I merged it so you should be able to try it if you rebase on main |
5afe467 to
2c33209
Compare
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1934.quarto.org 🔄 Modified Documents |
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1934.quarto.org 🔄 Modified Documents |
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1934.quarto.org 🔄 Modified Documents |
Co-authored-by: Charlotte Wickham <charlotte.wickham@posit.co>
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1934.quarto.org 🔄 Modified Documents |
The `prerelease-link-subdomain` variable is phase-aware but not version-aware — on the next RC cycle, old blog posts would incorrectly point to prerelease.quarto.org even though those docs already moved to quarto.org. Add a `prerelease-docs-url` shortcode extension that compares a version argument against the `version` key in `_quarto.yml` to decide whether docs live on quarto.org or prerelease.quarto.org. On the prerelease site (prerelease-docs profile), it always returns "prerelease." regardless of version. Follow-up to quarto-dev#1932, relates to quarto-dev#1934.
|
Successfully created backport PR for |
The `prerelease-link-subdomain` variable is phase-aware but not version-aware — on the next RC cycle, old blog posts would incorrectly point to prerelease.quarto.org even though those docs already moved to quarto.org. Add a `prerelease-docs-url` shortcode extension that compares a version argument against the `version` key in `_quarto.yml` to decide whether docs live on quarto.org or prerelease.quarto.org. On the prerelease site (prerelease-docs profile), it always returns "prerelease." regardless of version. Follow-up to #1932, relates to #1934.
* Replace prerelease-link-subdomain with version-aware shortcode The `prerelease-link-subdomain` variable is phase-aware but not version-aware — on the next RC cycle, old blog posts would incorrectly point to prerelease.quarto.org even though those docs already moved to quarto.org. Add a `prerelease-docs-url` shortcode extension that compares a version argument against the `version` key in `_quarto.yml` to decide whether docs live on quarto.org or prerelease.quarto.org. On the prerelease site (prerelease-docs profile), it always returns "prerelease." regardless of version. Follow-up to #1932, relates to #1934. * Update PDF accessibility blog post to use prerelease-docs-url shortcode
* Replace prerelease-link-subdomain with version-aware shortcode The `prerelease-link-subdomain` variable is phase-aware but not version-aware — on the next RC cycle, old blog posts would incorrectly point to prerelease.quarto.org even though those docs already moved to quarto.org. Add a `prerelease-docs-url` shortcode extension that compares a version argument against the `version` key in `_quarto.yml` to decide whether docs live on quarto.org or prerelease.quarto.org. On the prerelease site (prerelease-docs profile), it always returns "prerelease." regardless of version. Follow-up to #1932, relates to #1934. * Update PDF accessibility blog post to use prerelease-docs-url shortcode (cherry picked from commit 63a21f0)
* Replace prerelease-link-subdomain with version-aware shortcode The `prerelease-link-subdomain` variable is phase-aware but not version-aware — on the next RC cycle, old blog posts would incorrectly point to prerelease.quarto.org even though those docs already moved to quarto.org. Add a `prerelease-docs-url` shortcode extension that compares a version argument against the `version` key in `_quarto.yml` to decide whether docs live on quarto.org or prerelease.quarto.org. On the prerelease site (prerelease-docs profile), it always returns "prerelease." regardless of version. Follow-up to #1932, relates to #1934. * Update PDF accessibility blog post to use prerelease-docs-url shortcode (cherry picked from commit 63a21f0)
This replaces #1898
Blog post now destined for
main, using meta shortcode to point to prerelease docs for now.cc @cwickham