Need a way to make a reliable link to an HTML file
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #1489000. --> Reported by: [jhodgdon](https://www.drupal.org/user/155601) >>> <p>Coming from <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupal/issues/699604" title="Status: Closed (fixed)">#699604: Use file name rather than full URL for links to Form API Reference page</a></span></p> <p>Right now there is no way to make a reliable link to an HTML file, such as forms_api_reference.html.</p> <p>The only thing you can do is put in the full URL to the page, but that is lame because it changes from version to version of Drupal, and people never get around to updating it.</p> <p>If you try putting in just the file name, like you can with other files, that doesn't work because the matching for file names goes on the {api_documentation}.title field [which is what you want if you want to find the ajax.inc file for instance], but for HTML files, what goes into that title field is the HTML page title not the file name.</p> <p>So we probably need to do something more intelligent for the matching.</p>
issue