Transitions Tables to a Heading Layout for API Reference#6208
Transitions Tables to a Heading Layout for API Reference#6208sarah11918 merged 6 commits intowithastro:mainfrom
Conversation
- Changes 2/3 tables to Heading based layout similar to the Configuation reference page.
- Re-formatted tables to heading layout consistent with the rest of the page and configuration reference page.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
|
Thanks for starting to work on this, @SatanshuMishra! I would suggest making this a Draft PR for now, as it's not quite done yet. @sarah11918 for the sake of consistency, how do you feel about the way that these properties are documented? I don't think they would work for the properties in |
|
So to answer the questions so far: YES DESTROY ALL TABLES. I want no tables remaining. 😄 As to the I'm not sure stretching everything out into headings is visually helpful, even if structurally it makes sense. I'll ask some others to take a look here! |
|
Sounds good! I have a meeting in an hour or so. I will make the changes after :)! |
|
Alright, so after some chatting, I say leave As for the tables, let's keep going with the headings. It's the best structure, and so it does make sense to use it. If we need to do visual adjusting from that, we always can later. |
- Converted the table found under the `The pagination page prop` to a heading layout. The style is in sync with the rest of the page and previous changes.
I definitely agree with this. Just wanted to make sure it aligned well with you and DX's standpoint. Also, perhaps another PR is in order later to reword some of the property descriptions. But that's just my opinion |
|
@sarah11918, I've made all the changes you were looking for, and they're now available for you to review together :) |
|
Thank you @SatanshuMishra ! We were even talking about asking our designer if he had an opinion to share. I think structurally, this is the best format. Some other docs maintainers and I will review the specific changes to see what we think, but we VERY MUCH appreciate you starting this off and giving us something to look at! |
|
@SatanshuMishra chiming in real quick. I like this format better than the table! My only comment would be that the vertical rhythm needs some help.
As of now in the example above taken from the preview link all the spacing between lines is very similar if not identical. Where there are arrows I would shrink the space so each line of each section can show that they are connected. Also, helps with readability. Let me know if I can provide more guidance! |
The space between the Edit: Nevermind, the top-margin of the |
|
Thanks to Mark, our designer, for weighing in! We've discussed and decided that the scope of this PR should just be moving to headings... freeing the data from the tables and putting it reasonably out into headings. Yeah, spacing is a little wide (Chris thinks he found a specific docs issue) and so things aren't visually grouped as well as they could be, but Chris will work separately on that! All we need to do here is liberate the data! I'll do a closer review of this tomorrow just to make sure, but right now, all we need to worry about is the info structure. We'll tackle styling separately! 🙌 |
|
Sounds good! Even though the focus for this PR is content, I am happy to maybe start a thread on discord or some form of discussion (maybe another issue) to start exploring different spacing options and styles with @doodlemarks and @VoxelMC. |
VoxelMC
left a comment
There was a problem hiding this comment.
LGTM, but pending my comment :)
- Removed commented from the file. This was replaced by a heading based layout in the previous commit.
dreyfus92
left a comment
There was a problem hiding this comment.
Thank you for handling this @SatanshuMishra, as well to our amazing reviewers. LGTM ✅
sarah11918
left a comment
There was a problem hiding this comment.
Looks great! Thank you so much for grabbing this issue, responding to feedback, and working collaboratively with us! This is an amazing first-time contribution, and we're so happy to welcome you to Team Docs! 🥳
Co-authored-by: voxel!() <20650404+VoxelMC@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Co-authored-by: Mark Peck <2244813+doodlemarks@users.noreply.github.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>





Description (required)
This PR replaces the Tables on the API Reference page to use Headings instead. The changes maintain the same heading structure in the side-bar and bring the page to a similar layout to the rest of the page and the configuration reference page. Preview of changes attached below:
Related issues & labels (optional)
Special thanks to @VoxelMC for his help!