Skip to content

Commit a9d9611

Browse files
committed
Fix issue with keys in documents when rerendering
Not all projects use the file names in the compiler results. So we need to replace the correct item finding it by path. We use the array_find_key function of php for this. Since we support older php versions a polyfill is needed.
1 parent 813a175 commit a9d9611

File tree

4 files changed

+406
-261
lines changed

4 files changed

+406
-261
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"phpdocumentor/guides-markdown": "^1.0 || ^1.0@dev",
5151
"phpdocumentor/guides-restructured-text": "^1.0 || ^1.0@dev",
5252
"phpdocumentor/guides-theme-bootstrap": "^1.0 || ^1.0@dev",
53-
"phpdocumentor/guides-theme-rst": "^1.0 || ^1.0@dev"
53+
"phpdocumentor/guides-theme-rst": "^1.0 || ^1.0@dev",
54+
"symfony/polyfill-php84": "^1.33"
5455
},
5556
"require-dev": {
5657
"ext-dom": "*",

0 commit comments

Comments
 (0)