-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix broken links to the block editor developer handbook #29663
Conversation
Size Change: -387 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
@JustinyAhin I think the newly added page for Block Variations is now also missing from the handbook - #29515 At least I couldn't see it (cc @ntsekouras) |
I just added it in c064acf |
Rename /contributors/code/getting-started to /contributors/code/getting-started-with-code-contribution. This is done to avoid having two handbook pages with the same slug, because this results in some confusion when the pages are generated. Also, replace all the occurence of the first with the second.
If you look at the homepage, you’ll see these two "Getting Started" It is a bit weird because the first lines of toc.json (https://github.com/WordPress/gutenberg/blob/trunk/docs/toc.json#L2) say there should be an only one "Getting Started" page with "Tutorials" as subfolder and I assume this is duplicated because there is another page with the same slug. I tried to fix it in 93e92af. cc @mkaz do you have any idea/input about this? |
The first getting started is from the title of the The second Getting Started is the section from: |
Ok, i think I get it now. Thanks :) |
@mkaz per your comment https://wordpress.slack.com/archives/C02QB2JS7/p1615307264011000?thread_ts=1615289099.009500&cid=C02QB2JS7 So this means we'll end up with a structure like
So we get rid of the Getting Started (https://developer.wordpress.org/block-editor/getting-started/) folder. Am I right? |
@JustinyAhin yes, that is what I was thinking if that works. I wasn't sure about Reference or Explanations, I think I do like it in Explanations better (how you have it) since I think of Reference more as API Reference. There are some weird issues sometimes when documents have the same name, I'm not sure if that is what is causing it or the root cause of why things get weird sometimes. I think it has to do with it published to WP pages and if the URL is not quite right WordPress will do an internal lookup and find the page. But I'm not positive what is happening in this case, sometimes easiest to have different names 😁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for finding and fixing the links 👍
Let's merge these in, since its a good first pass and we can continue to find additional and update as we go.
Thanks for tackling the reorg issue, I've wanted to do it for awhile but knew it would be messy and didn't quite have the courage to do so. So appreciate you "ripping the band-aid off" and getting the update. out.
Thanks for handling this!
I didn't see the link for block variations here: https://developer.wordpress.org/block-editor/reference-guides/block-api/ |
Fixes #29662.