Documentation should link API #5639

Closed
opened 2026-01-22 15:13:27 +01:00 by admin · 3 comments
Owner

Originally created by @jkufner on GitHub (Aug 11, 2017).

Originally assigned to: @Ocramius on GitHub.

All mentions of classes and methods in the documentation should link to API documentation.

For example, at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/query-builder.html the Doctrine\DBAL\Connection#createQueryBuilder should link to http://www.doctrine-project.org/api/dbal/2.3/class-Doctrine.DBAL.Connection.html#_createQueryBuilder.

Such links make it much easier to understand and use the documented features in real applications.

Originally created by @jkufner on GitHub (Aug 11, 2017). Originally assigned to: @Ocramius on GitHub. All mentions of classes and methods in the documentation should link to API documentation. For example, at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/query-builder.html the `Doctrine\DBAL\Connection#createQueryBuilder` should link to http://www.doctrine-project.org/api/dbal/2.3/class-Doctrine.DBAL.Connection.html#_createQueryBuilder. Such links make it much easier to understand and use the documented features in real applications.
admin added the ImprovementDocumentationInvalid labels 2026-01-22 15:13:27 +01:00
admin closed this issue 2026-01-22 15:13:28 +01:00
Author
Owner

@Ocramius commented on GitHub (Aug 11, 2017):

Don't think we'd be able to do that automatically.

Closing here btw, this is a feature that could be built on https://github.com/doctrine/doctrine-website-sphinx

Consider reporting it there if you have a plan on how to implement this. Automation is required for that though.

@Ocramius commented on GitHub (Aug 11, 2017): Don't think we'd be able to do that automatically. Closing here btw, this is a feature that could be built on https://github.com/doctrine/doctrine-website-sphinx Consider reporting it there if you have a plan on how to implement this. Automation is *required* for that though.
Author
Owner

@Ocramius commented on GitHub (Aug 11, 2017):

doc

@Ocramius commented on GitHub (Aug 11, 2017): doc
Author
Owner

@jkufner commented on GitHub (Aug 11, 2017):

Doxygen does this automatically, even in Markdown pages.

@jkufner commented on GitHub (Aug 11, 2017): Doxygen does this automatically, even in Markdown pages.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5639