georgringer / doc

Project documentation for editors & integratiors, visible in the TYPO3 backend
Other
21 stars 9 forks source link

[TASK] Improve docRoothPath generation for TYPO3 v11 compatibility #8

Closed peterkraume closed 3 years ago

peterkraume commented 3 years ago

EXT:doc isn't completely TYPO3 v11 compatible yet. With v11 the path parameter is attached to docRootPath with & instead of ?:

var docRootPath = '/typo3/ajax/doc/serve&path=/typo3conf/ext/mypackage/Resources/Private/Documentation/';

This patch mitigates the problem with the hard coded & and is tested with v10 and v11.