Hi. I've quickly recreated Flarum's PHP and JS documentation using Sami and ESDoc.
You can access the documentation for both the JS and PHP at https://datitisev.github.io/FlarumAPIDocs/
Right now, I have to pull, parse, render, and push the docs when changes are made to flarum/core. I'll probably add a bot soon that will automate this process.
PHP versions included:
I hope it's a useful resource for extension developers and core contributors! I'll be using it myself
I'll probably make a script to have multiple JS documentations for each version.
There are some glitches with the PHP documentation. Sometimes, the dropdown will show a version selected that is different from what the url path says. That must be a Sami bug. All the bugs mostly seem to have been fixed with the new theme.
If you have feedback other than "I like it", in which case you should like this post, please post your opinions!