-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revisiting consistency in documenting features that were previously experimental #6467
Comments
These are all great observations @VoxelMC , and your gut reactions here have been spot on! I would say that yes, we can update any "Since"'s to their official/non-experimental version numbers. I would also say that anything missing a Since at all could have them added, yes! I don't see anything on the images currently being marked as Experimental though? Can you point out specifically what you mean there. Right now, the only things that are experimental are listed here: https://docs.astro.build/en/reference/configuration-reference/#experimental-flags and I don't think there is documentation outside of this page for any of those? |
Just checking in on this issue @VoxelMC ! I'm confident saying that yes, anything that was at one point experimental but is no longer should have a Since/version that corresponds to when they were in the stable Astro core code (not introduced experimentally). For future historians checking in on this issue, that's how we roll with our (I don't immediately see what the problem is with the content collections nor images page from what you've linked, but the others do make sense to me, and updates to add/update the Since component are welcome!) |
(lol, hit the wrong button! This issue is open!) |
Sounds good! I will propose some.changes the moment I have a chance to sit down and check if I haven't missed anything :) As for experimental versions, will we be omitting those entirely? |
I'm not sure what you mean about omitting experimental versions? Usually we do sequester anything experimental to either the config reference page for experimental flags, or in some cases an entire guide or API page devoted to the experimental feature. So, really where I expect this is even an issue is in a page (or config ref entry) that was experimental but is no longer so. Can you give me an example of what falls under what you're asking so I can see what you mean? |
Just a ping to see if you're still interested in this, @VoxelMC ! Seems like it would be great for consistency! |
Just moving this up in the stack on the list! This would be a great help wanted initiative! I think it would be a lot of work to go too far back for a lot of these, but as we prepare for Astro 5.0 before the end of the year and most of our users are actually on some version of 4.0, I think prioritizing features introduced in 4.x would be helpful and achievable. If people want to get involved, you could do any combination of the following (and, tiny individual PRs would be fine! No need to get the whole thing done!)
You can make a PR with **one single You can find documentation on how to use this component inthe custom component reference in Astro Docs Docs |
closed by 8943 |
📚 Subject area/topic
Experimental Features
📋 Page(s) affected (or suggested, for new content)
Since
is current, but doesn't mention experimental.https://docs.astro.build/en/guides/view-transitions/
<Image />
and<Picture />
) - InconsistentSince
https://docs.astro.build/en/guides/images/
https://docs.astro.build/en/guides/content-collections/
export const prerender = true | false
) - NoSince
https://docs.astro.build/en/guides/server-side-rendering/#opting-in-to-pre-rendering-in-server-mode
Since
https://docs.astro.build/en/reference/configuration-reference/#dev-toolbar-options
📋 Description of content that is out-of-date or incorrect
Some features that have previously been added to Astro were first introduced as
experimental
.In doing so, the addition of these features was documented as
experimental
when first introduced.After the features were moved from
experimental
to officially supported, the documentation became inconsistent.In the case of View Transitions, the
transition:persist
directive is documented to be introduced inastro@2.10.0
. However, at this time, this would have beenexperimental
.astro@3.0.0
, which was when the featured moved out ofexperimental
?In Astro Assets, the
<Image />
component doesn't have a "since", while the<Picture />
tag is documented asastro@3.3.0
. Moreover, some documented properties of theImage
component are flagged as experimental, added in3.3.0
.Essentially, the documentation doesn't account for when something was experimental (if applicable). Those using older versions may believe that a feature is available when it was only experimental then.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
The text was updated successfully, but these errors were encountered: