$this->cchunk["fieldsynopsis"]["modifier"] was not set for atrributes due to the early return, but this value is needed in order to be able to decide if the fieldsynopsis refers to a constant or a property at d7f7004639/phpdotnet/phd/Package/Generic/XHTML.php (L1608)
Preface elements are now rendered inline in the parent page instead of
being chunked into separate pages. Explicit annotations like
chunk:true or phd:chunk="true" can still force chunking.
Add rendering support for DocBook's <packagesynopsis> and <package>
elements so that namespaced PHP classes and enums can display a proper
`namespace X;` declaration above the class/enum synopsis.
Both sdesc and ldesc are always initialized as "" in storeInfo() and
populated with htmlentities(trim(...)) results, so they are always
strings. Using empty() is overly broad here since it would also treat
a legitimate "0" value as empty. Replace with === "" for precision.
The third occurrence in Package/PEAR/Web.php was already removed in
commit 53f9afe.
When <function> contains <replaceable>, skip link/parentheses
processing in format_function_text() and output plain text instead.
Uses the role stack pattern already established by format_constant().
Fixesphp/phd#171
When <enumidentifier> contains a fully qualified name with :: separator
(e.g., RoundingMode::HalfAwayFromZero), the enum name is extracted and
used to generate a link to the corresponding enum documentation page.
Links are not generated in enumsynopsis context (where enumidentifier
defines the case) or when the enum is not found in the index.
Refs php/phd#180
* Fix: Stop using null as array offset (Resolves#227)
* This also avoids accessing "path" on a null source when sourceInfo() returns null.
---------
Co-authored-by: lacatoire <louis-arnaud.catoire@external.drivalia.com>
* Chunked XHTML with JS search
* Improve prev/next nav alignment/sizing with differing content
* Refactor to merge changes into Chunked XHTML directly;
New search indexes pushed up to Web (allowing search.js changes to be pushed to web-php, avoiding duplication)
* Add search access key hint
* Update tests
* Exclude search from CHM format
* Chunked XHTML with JS search (don't use the localStorage cache for local docs)
This allows us to set 'interactive' annotations on books, sets, and chapters to
signal to the WASM code runner that examples in these areas can be run.
The WASM code runner also checks for the 'non-interactive' annotation and
selectively disables running code for that example.