phpDocumentor / guides

Guides library to parse documentation
MIT License
30 stars 15 forks source link

[TASK] Add getter for Documents to RenderContext #1001

Closed linawolf closed 2 months ago

linawolf commented 2 months ago

Currently to get the current document you have to do

$document = $renderContext->getDocumentNodeForEntry($renderContext->getCurrentDocumentEntry());

even though the document is saved in a variable

phpdoc-bot commented 2 months ago

💚 All backports created successfully

Status Branch Result
✅ 1.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details