-
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
Add a DevHub manifest #15254
Add a DevHub manifest #15254
Conversation
We may also want to look at coordinating with the DevHub team to see if we can have some kind of global notice at
|
Another improvement here might be to allow passing That said, having multiple manifests is hopefully just temporary… so maybe not worth the energy :) |
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.
Looks good! New manifest file is created and looks to be correct.
One minor thing, after running docs:build there appeared to be a white-space difference in the file
packages/core-data/README.md
- you will probably need to commit that or you'll get an error
With the changes here, the top-level TOC will be:
* means it contains subsections. I'd change a few titles (the H1 in the proper README) and would move the reference docs to the bottom so it becomes:
I'd like to see the other reference docs also moved to the top-level for coherence (Block API Reference, Filter Reference & Tutorials), but I'm also open to use this as a base and review the rest before launch. |
A few other logistic things:
|
@nosolosw The handbook and DevHub don't directly reference Because we're changing the output of the manifest generation script to create a Once the redirects are in place, we'll be able to disable new builds on the legacy handbook site entirely so the I didn't do a super deep comparison on |
(Also my hope is that we don't need to merge this in to actually test the DevHub sync; I wrote the PR this way with the assumption that we would only need to merge it in once we were confident this was the correct path forward.) |
Ah, great, that simplifies things a bit (I actually thought the sidebar was created from it).
Got it. Wasn't clear if we intended to merge this as it is.
The problem wasn't the discrepancy between My old-self to the rescue 😅 #14794 |
@nosolosw Oh shoot - those placeholder replacements aren’t working? That’s definitely a problem… I understand now. Hmm… |
As per this Slack convo we agreed to apply these changes and promote tutorials as a top-level section. Pushed changes as individual commits so we can revert as necessary. |
The Block Editor handbook on DevHub has been updated to reflect these latest changes. A request and a suggestion:
|
Done at 740bd75 .
I can prepare this change independently, as to have a good signal-to-noise balance in this PR. |
Here's a WIP draft PR to address this #15411 AFAIK the current thinking of project members is that Gutenberg should be used for anything project-related and Block Editor is for the first product that came of Gutenberg. It's a transitional period, so things may be a bit confusing and intertwinned. |
4c74813
to
8dc866c
Compare
This has been rebased with the latest changes done to the doc tool. |
Comment spun from this conversation with @coffee2code that I wanted to post here so people following this can participate. Now that we're closer to the merge status, I'd like to expand on the plan to roll this:
|
What's the overall ongoing plan for the handbook at https://wordpress.org/gutenberg/? That handbook uses a custom importer that differs from the one used on DevHub With the relative link changes applied to its manifest ( Based on the latest comment, it looks like the entire handbook will soon redirect to the Block Editor handbook on DevHub, in which case I would be inclined to not make an effort to update the importer for the legacy Gutenberg handbook. (The legacy handbook will remain as you see it today until redirects are activated, at which point the handbook will no longer be accessible.) |
@coffee2code Yes, the plan is to fully deprecate the custom handbook and move into DevHub permanently! I agree; the old handbook should not be updated at this point, except to disable syncing and add redirects. |
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.
This is ready! Let ship this to users :)
The front-page of the handbook is the one whose slug is handbook. This is generated by looking at the path (docs/readme.md), so we substitute the old README with the new one.
cc3ed5e
to
cd8d5b3
Compare
Rebased this from |
@@ -1,11 +0,0 @@ | |||
# Designer & Developer Handbook | |||
|
|||
The Gutenberg project is transforming the way content is created on WordPress. A block editor was the first product launched creating a new methodology for working with content. This handbook provides documentation for how designers and developers can extend the editor. |
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.
Note that the current handbook sync has been disabled so this removal won't trigger any update (nor the other minor content updates).
DO NOT DELETE THIS BRANCH YET. See. |
Thanks for seeing this through to the finish line @nosolosw — gold stars for you! ⭐️⭐️⭐️⭐️⭐️ |
For reference: @aduth locked this branch from being deleted. We should remove the lock when we're ready to proceed with the next steps. I'll post here. |
The manifest location for the new Block Editor handbook now uses the file in master and is now available to all visitors. The legacy handbook now redirects to the new handbook. It should be safe to delete this branch. Then whenever it is so desired, a meta.trac ticket can be opened to re-point the handbook to a manifest file in a wp/{version} branch. |
See #15785. New Block Editor handbook should be using |
We still keep two files in the repository but it looks like we only update |
Not to merge until core Trac tickets are solved
Description
Based on today's WordPress #docs meeting (registration required), this PR adds a new manifest intended for consumption by DevHub.
This is intended to accomplish a few things:
The plan from here would be to…
./docs/designers-developers
to the top level of./docs
and updatetoc.json
accordingly (not doing this here so we can avoid unnecessarily complicating this PR)manifest-devhub.json
back to justmanifest.json
(once the above steps are working as expected) and consolidate down to a single build targeted at DevHub.There may be a further desire to move the packages documentation up to the top level, but I'm avoiding that in this initial PR. I think it's worth seeing how this works first before we go further.
cc @Kenshino and @coffee2code