Tags: symfony-tools/docs-builder
Tags
bug #203 Fix bug in PHP syntax highlighting (wouterj) This PR was merged into the main branch. Discussion ---------- Fix bug in PHP syntax highlighting Don't ask me why and how. I don't see why it breaks in this UX example, but doesn't in e.g. https://symfony.com/doc/current/messenger.html#creating-a-message-handler And I also don't see how this change fixes it. But it fixes it, and it doesn't appear to break any other PHP attributes in the test suite of this library (which is quite extensive). Commits ------- ebaae6a Fix bug in PHP syntax highlighting
bug #201 Fix the generation of Symfony AI links (javiereguiluz) This PR was squashed before being merged into the main branch. Discussion ---------- Fix the generation of Symfony AI links Fixes symfony/ai#1567 (comment) Commits ------- 18ee087 Fix the generation of Symfony AI links
feature #198 Improve the class directive code and add Symfony UX supp… …ort (javiereguiluz) This PR was merged into the main branch. Discussion ---------- Improve the class directive code and add Symfony UX support This addresses `@stof`'s comments about unoptimized code: #196 (comment) and adds support for Symfony UX classes too. Commits ------- bec9b30 Improve the class directive code and add Symfony UX support
feature #196 Update the class reference directive to support Symfony … …AI classes (javiereguiluz) This PR was merged into the main branch. Discussion ---------- Update the class reference directive to support Symfony AI classes We need to publish Symfony AI docs on symfony.com ASAP. The GitHub links generated for the classes used in Symfony AI docs are wrong, so we must fix that somehow. This PR proposes a possible fix. In the future we'll need something better ... but we'r ealso migrating to another doc builder project, so it's not worth it to try to make it perfect now. Commits ------- 74df6be Update the class reference directive to support Symfony AI classes
feature #195 Support multiple attributes in a single block (wouterj) This PR was merged into the main branch. Discussion ---------- Support multiple attributes in a single block Fixes #194 `@javiereguiluz` this contains one change for all attribute highlighting: the whole `#[...]` section is now wrapped in a single `.hljs-meta` element. This means that everything without style now also gets the green text color on symfony.com (e.g. parenthesis and commas). Commits ------- 701666f Support multiple attributes in a single block
feature #190 Add support for phpclass reference with namespace (alami… …rault) This PR was merged into the main branch. Discussion ---------- Add support for phpclass reference with namespace PHP have now classes with namespaces but it is not supported by `:phpclass:` reference yet https://www.php.net/manual/en/class.bcmath-number.php Commits ------- 9a75cd7 Add support for phpclass reference with namespace
bug #180 Highlight nested PHP comments (javiereguiluz, wouterj) This PR was merged into the main branch. Discussion ---------- Highlight nested PHP comments Related to symfony/symfony-docs#20121 This PR adds a failing test that shows the issue. This is the output change that would make test pass: ```diff - ), [ // wait - <span class="hljs-number">5</span> - seconds before processing + ), [ + <span class="hljs-comment">// wait 5 seconds before processing</span> ``` Commits ------- af7ee47 Allow one line comments in argument list 8f09af6 Highlight nested PHP comments
PreviousNext