Add the ability to turn on table of contents generation for blog posts on webkit.org.
Created attachment 454423 [details] Patch
Created attachment 454424 [details] Before applying patch
Created attachment 454425 [details] After applying patch
Comment on attachment 454423 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=454423&action=review r=me > Websites/webkit.org/wp-content/plugins/table-of-contents.php:24 > + public static function tocEnabled ($post_type) { Style: I think we'd prefer something like `shouldEnableTableOfContents`, as future developers might not know what "toc" is 😅 Unless `'build-toc'` is some WordPress concept?
Created attachment 454499 [details] Patch
The follow-up patch has been changed to use `'build-table-of-contents'`.
Committed r291185 (248344@main): <https://commits.webkit.org/248344@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 454499 [details].
<rdar://problem/90177978>