Next meaningful milestone I’m working on for my PHP docs revamp: a fresh search experience, likely powered by Meilisearch.
@timacdonald This sounds interesting. What’s your PHP docs revamp?

@ramsey I’ve built out a new generator, in place of php/phd, and been experimenting with new ideas for the docs as a fun side project.

A few bits I’ve shared so far:

Some inline IDE style function / variable / constant info.

@ramsey some menu consolidation and reshuffling.

@ramsey other highlights are:

- a modern and much easier to understand, and thus contribute to, version of phd (*opinions)
- outputs static html instead of PHP
- preloads links (unless opted out or on a slow connection) for super quick navigation
- filtered out empty pages, so you never land on a page with no content. The current site is kinda full of them.

Next in the list is new search, code syntax highlighting with Shiki, dark mode, and a few other ideas I’ve got up my sleeve.

@ramsey this is where it all started: https://phpc.social/@timacdonald/109962180420910763

Although the design has changed substantially since then. All still very much a spike so but hacky in parts - but coming together slowly.

Tim MacDonald (@[email protected])

Attached: 2 images 🔨 Hacking on a side project...

PHP Community on Mastodon