Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Drupal 7's @mainpage (index.php in this project) are incorrect:
- Working with the Drupal API
- Example Modules
Drupal 8's @mainpage is in core.api.php in Drupal core repository. The problems are not exactly present. In fact at present they do not exist, however there are links that are redirected on D.O hence in the future could be invalidated (ie with 9.x). Probably fine.
However, documentation project repository has an outdated index.php with @mainpage annotation. Since this is misleading/incorrect, I wonder if it should be removed?
Comment | File | Size | Author |
---|---|---|---|
#6 | 2857775-redo-d7-landing.patch | 2.35 KB | jhodgdon |
#2 | 2857775-some-links-7x-1.patch | 742 bytes | NickDickinsonWilde |
Comments
Comment #2
NickDickinsonWildeDrupal 7 patch.
Comment #3
NickDickinsonWildeDrupal 8 information updated in issue summary.
Comment #4
jhodgdonI am not actually sure that the first change will work, in practice, on api.drupal.org. Maybe a full URL would be better? Thanks!
Comment #5
jhodgdonRegarding 8.x, I do not see the index.php file with mainpage in the 8.x-1.x branch?
Comment #6
jhodgdonReturning to this issue -- still broken on api.drupal.org. Let's see...
First off, there is nothing relevant in the D8 branch of the Documentation git repo. It's all in Core, so if there are problems with the D8 landing pages, that's a Core issue. So this issue is only for D7.
The patch above didn't apply... and I think we can do a bit better... How about this for the landing page:
Here's a patch that would make that the landing page. Any thoughts?
Comment #7
NickDickinsonWildeNever actually umh noticed your initial reply. Anyways, that new patch looks nice to me +1
Comment #9
jhodgdonThanks for taking a look. I have committed it. Should appear on api.drupal.org sometime soon.