Closed (fixed)
Project:
Documentation
Component:
Placement/Navigation/Structure
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2024 at 22:51 UTC
Updated:
15 May 2025 at 02:19 UTC
Jump to comment: Most recent
Comments
Comment #2
hansfn commented@drumm, could you mass delete Zen for Drupal 5 and 6. Several of the other "big" themes like Fusion and Omega still use these guides and should be migrated - if we still care about D7 ...
Comment #3
quietone commentedJust adding the top level pages.
Comment #4
quietone commentedI came across Organic Groups. So I looked that the Organic group project page and there is a link there, http://drupal.org/node/1114858, with no text. And that links directs to a href="https://www.drupal.org/node/1114858">Organic Groups in this Site Building Guide. So, I thought I would migrate it to the Organics Group project. However, I am faced with this
Which, if I understand correctly, then I do not have the permissions needed to migrate the docs.
Comment #5
hansfn commentedYes, you lack permission. I don't, but got
In addition OG was missing a D7 guide to migrate to, but I have created that now and added you as maintainer.
In other words, you should be able to migrate (in multiple steps) now. Or maybe deleting the D6 stuff first gets you under the 30 child node limit.
Comment #6
avpadernoquietone is not one of the maintainers for the Contributed module documentation documentation guide; that is the reason for the lack of permissions. (I apologize: I was just curious of how permissions on documentation work.)
Comment #7
quietone commented@hansfn, thanks. Even the latest D7 documentation is over 30 nodes. :-(
I did start on migrating 'Organic Groups' and got this message
So, this will take more work than I expected. It seems like I should do 1) migrate a set of pages, say Setup 2) Create a Guide, 'Setup', in OG 3) Move all the pages just migrated to the new guide. And then repeat that for each part of the OG documentation.
Comment #8
quietone commentedI migrated the Organic Groups documentation for the latest D7 version to the new system. This is a good test case due to the size.
The problems I found are
What I am think now is that we should have an issue generated for each project to alert the maintainers that the docs are leaving. The issue should be Critical and an expected date of documentation deletion given. This is a related issue I made for the Tour module, #3445861: Add link to module documentation on project page. Not quite the same as it does involve migrating old documentation.
Comment #9
quietone commentedComment #10
quietone commentedComment #11
quietone commentedFind quite a few that have no releases for Drupal 7+. Can those be bulk deleted?
Comment #12
hansfn commentedReading your experience with migrating the Organic Groups documentation, I remember that I had the same experience long time ago (when we started migrating stuff). It is too much work for us to handle. I suggest:
Comment #13
quietone commentedI agree with #12. I created a child issue for #12.2. And will work up some text for discussion for #12.1
Comment #14
quietone commentedHow is this for an issue?
Issue title: Migrate documentation to new documentation system
Priority: Critical
Category: Task
Comment #15
hansfn commentedSome suggested changes to the "How to migrate documentation" list:
Open questions:
I think I will answer yes to the first three. I guess Drumm should set the deadline, but if not - 1st of October?
Comment #16
quietone commentedI like those changes, I did remove the 'first, second and finally' because it is redundant in an ordered list. Then, for question 3, I added a sentence for the Drupal 7 documentation links. So, there are now links to both D7 and D8 and the maintainer can select the one(s) they need.
Answer to questions
1. I would prefer a tag but if there are objections, than a google spreadsheet.
2. Sure, if if can be automated.
3. As above
4. I am not sure about the deadline. I have 3 months in my head because of working in Bug Smash. That would be from the date of the email too, which would be later that October 1. But that may be long enough for people to forget, so something shorter. Maybe there is some precedence we can use?
This is coming along nicely, :-)
Comment #17
drummFor contributed modules, themes, and distributions - I think we just have to migrate everything as-is, potentially into a guide labeled “Archival” or similar. There isn’t a good machine-readable project ↔ documentation linking, so even tracking down each project to get the list of maintainers would be quite a task. And even then, I suspect maintainer response rates would be quite low.
Comment #18
quietone commentedArchival is fine by me.
Will this break the links that any module/theme/distribution is using?
What will happen to the book outline for the pages?
Should there be a blog post to inform maintainers of the move and consequences?
Comment #19
drummI completed the deletions from the issue summary, except for https://www.drupal.org/docs/7/modules/ultimate-cron. That is already migrated, and I don’t have an automated process for recursively deleting a documentation guide. There’s a decent chance I’d manually delete the 30 pages, even though that is a bit much to not automate.
In general, migrations and page merges have added redirects as they go.
I’ve been working towards tooling that can migrate with hierarchy, some notes are at #2762837: [Meta] Migrate documentation into the new system. Many of the sections for single modules/themes might be flattened to one page first. For example, https://www.drupal.org/node/402796 could have its 2 child pages merged into itself.
We could probably use a general blog post highlighting the need for help triaging old book pages, and mentioning its progress toward upgrading Drupal.org.
Comment #20
wylbur commented@drumm @quietone, see my child issue for a list of theme pages we can delete. This list is for modules that are unsupported or only have D6 releases. https://www.drupal.org/project/documentation/issues/3504356
Comment #21
wylbur commentedComment #22
wylbur commented@drumm
I have created a issue for deleting contrib module pages. https://www.drupal.org/project/documentation/issues/3504597
I was not finding many pages to delete, so I am going to work on migrating the theme pages and creating module issues.
Comment #23
wylbur commentedComment #24
drummFor module documentation, I can go ahead and bulk migrate the remaining documentation as-is. It still could use attention from project maintainers, but we don’t need to have everyone spend time on repetitive migrations. I may do the same for module & theme documentation.
Comment #25
drummAnd just parent pages to be deleted can be listed, I have automated deleting trees of book pages.
Comment #26
wylbur commented@drumm I added another ticket, and came up with lots more pages to delete.
https://www.drupal.org/project/documentation/issues/3505283
I've started migrating the Contributed Themes, and will be finished with that in the next week or two. I'll add issues to track that effort too.
Comment #27
wylbur commented@drumm
I have finished migrating ALL the Contributed Themes in the Site Building Guide! You can delete this and all subpages.
https://www.drupal.org/node/196218
You can review my work in these issues
#3505665: Migrate Contrib Themes from Site Building Guide to D7 Wiki - Part 1
#3505962: Migrate Contrib Themes from Site Building Guide to D7 Wiki - Part 2
#3506220: Migrate Contrib Themes from Site Building Guide to D7 Wiki - Part 3
#3507289: Migrate Contrib Themes from Site Building Guide to D7 Wiki - Part 4
Comment #28
drummwylbur - you should have seen a warning block at the top of book pages with
If you don't have that, let me know and I’ll double check access to that. Using the links in that block migrates the pages in-place, preserving authorship and revisions, and the old pages are moved, so no additional deletion is needed. This also removes the need to add any redirects or other affordances for URLs changing.
For the theme documentation, we’ll have to continue as-is, it isn’t worth the time to do additional cleanup. I’ll delete the book pages and resolve the issues.
Please do not migrate module documentation, except for special cases and identifying pages to delete. The migration process is cumbersome for more than a handful of pages, or anything with some hierarchy. I don’t want people spending time on busywork that should be automated. A special case might be something like - a module has new documentation and the book pages are being migrated into the module’s existing new documentation section.
Comment #29
quietone commentedComment #30
ghost of drupal pastThings to delete:
https://www.drupal.org/node/2008758 the last commit to https://www.drupal.org/project/vdd was seven years ago. It's dead, Jim.
https://www.drupal.org/node/417180 nothing here applies to modern Drupal.
Comment #31
quietone commented@ghost of drupal past, thanks!
I have updated the IS with the info from #30.
Comment #32
quietone commentedComment #33
quietone commentedComment #34
quietone commentedAdd item provided in Slack by chx.
Comment #35
quietone commentedComment #36
drummI now have a script to migrate sections of book hierarchy. My process will be:
Comment #37
drummThe pending deletions in the issue summary are now all done
Comment #38
drummDistribution documentation is now at https://www.drupal.org/docs/getting-started/drupal-distributions/distrib...
Comment #39
drummThe comparison of modules is now at https://www.drupal.org/docs/7/extend/comparison-of-contributed-modules
The remaining module documentation is now at https://www.drupal.org/docs/extending-drupal/contributed-modules/contrib... where it can continue to be pruned, improved, moved, or left until the next major reorganization
Thanks everyone!
Comment #40
quietone commented@drumm, thanks for all the help here. And for creating that archive with clear instructions for everyone.