jordanjay29 Just got to use this today. I feel like the font style/size is too thin and small within the php class lists (for example). But I find no other flaws with it.
datitisev jordanjay29 Sorry about the late response. I forgot about you message, however I did slightly increase the font size 28 days ago in commit 04192fa
tankerkiller125 The PHP Docs still seems to be weird... Notably, the Http section is missing quite a bit? Like there's a Flarum/Http/WebApp namespace and it's not shown at all. And the Core namespace just goes to some Core class that doesn't even seem to exist?
datitisev tankerkiller125 The WebApp is shown in the master documentation, but you are right. There are many weirdos bugs with Sami's versions (using branches and tags) and its actual doc content. I'll see if I can make a weird script so I change the branch/tag, and all Sami does is parse and render... ?
datitisev UPDATE Created custom script for PHP documentation as well Most bugs with Sami having wrong version and missing classes should be resolved There was some trouble when I accidentally created documentation for JS instead of PHP from beta.2 to beta.6. This is the status of that commit with my error: ? Everything should be resolved now, though. /cc @tankerkiller125
datitisev It has been a long time since the latest update. UPDATE Added v0.1.0-beta.7 documentation Updated master & next-back documentation Removed next-front documentation, as Toby symlinked a file to his computer's path Fixed file permissions
luceos datitisev Removed next-front documentation, as Toby symlinked a file to his computer's path Toby mentioned on discord: "next-front is dead"
Toby datitisev I'm not seeing beta 7 docs. Also there are a lot of JS components missing in all versions. ?
datitisev Toby https://datitisev.github.io/FlarumAPIDocs/js/v0.1.0-beta.7 & https://datitisev.github.io/FlarumAPIDocs/php/v0.1.0-beta.7? Can you give examples of the JS components? I just let ESDoc do its thing.
datitisev jordanjay29 Ah, I forgot to add them to the lists. Whoops! Toby Hm, I'll see what I can find with ESLint debugging.
datitisev Well, it's a few months after I promised a fix... but better later than never Update Fixed a big part of the JS documentation not being available Occurred because of React.... easy fix with yet another plugin ? Before After
datitisev Update Added Github links to quickly find the source code of the piece of documentation you are looking at. Classes/interfaces/traits list Namespace Class/interface/trait property method
datitisev Update PHP: Escaped property descriptions to fix HtmlDocument hiding more than half the documentation in a <title> tag.
datitisev Update JS: Fixed some files in the master branch not being generated because of ES6 Added esdoc-ecmascript-proposal-plugin to solve the issue
datitisev Update PHP Updated Sami (documentation generator) to v4 Using Sami fork @ https://github.com/blueend-ag/Sami Now more classes are parsed successfully Applied most of the previous theme's changes to the default theme There were some issues because Twig or something had been updated, so everything broke, and I had no clue how to fix it Switched to webpack for asset management Note: These changes only apply to the master version of the PHP documentation. The theme will look a bit different. I tried to make it as close as possible without spending 5 hours on it... which I did ?.