-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation #260
Comments
documentation repository: https://github.com/php-standard-library/php-standard-library.github.io |
channel component documentation has been written 🎉 https://php-standard-library.github.io/#/components/channel/ |
class, interface, trait, and html components are now documented 🎉 https://php-standard-library.github.io/#/components/class/ |
shell component is now documented: |
Been through the links above: very clear explanations. Haven't really found any typos at this point either 🙂 |
pseudo-random, and secure-random components are now documented: https://php-standard-library.github.io/#/components/pseudo-random/ |
runtime component is now documented: https://php-standard-library.github.io/#/components/runtime/ |
shell exceptions are now documented: https://php-standard-library.github.io/#/components/shell/?id=exceptions |
@veewee wanna take care of |
json component is now documented: |
iter component is now documented: |
I don't mind, but am a bit limited in OS time the coming 2 months. We're working hard on a tight deadline. Fyi : Gonna mark every page I proof-read with an emoji to keep track :) |
I just added This helps 99% of the time, and makes things more readable, e.g: However, a big disadvantage is that it breaks for signatures such as everything gets highlighted correctly, except the so to get around this, i moved the generic templates declaration before the function name, so now it looks like this: It looks a bit weird, but works, and it's the only option i could come up with at the time. personally, i don't see it as an issue since before signatures are not real, but rather put in place to help people understand the function behavior. If anyone has a better option, I'm open for suggestions. commit: php-standard-library/php-standard-library.github.io@c40c729 |
Would it make sense to introduce an attribute for annotating the generics in the docs? |
Yes, |
yea, i think that would work, same for |
async component is now documented: |
HI @azjezz, I think it could be useful to add some documentation about why using this library (or maybe I missed it). So for instance, as a developper using |
I think that would be a nice addition, but currently it's not a high priority, as it's more important to document components then writing a comparison. |
fun, and promise components are now documented: https://php-standard-library.github.io/#/components/promise/ |
TCP component is now documented: |
Unix component is now documented: |
Fyi : The docs web site on my phone tries to display the content in about half the available screen size. It is due to the borders and the margins. It is a bit annoying, not sure if other people will read it on the phone though 😉 |
Yea, I'm aware of that issue, i will try fixing it after finishing up the documentation ( though, I am not really good with CSS stuff :p ) |
current documentation is mostly useless, as the same could be achieved by simply browsing through
src/Psl
directory.Plan:
Task list:
The text was updated successfully, but these errors were encountered: