-
Notifications
You must be signed in to change notification settings - Fork 2
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
Reference Pages #10
Comments
For the reference, specifically the descriptions, you will need to follow the format here: https://github.com/processing/p5.js/blob/main/contributor_docs/contributing_to_the_p5.js_reference.md as in just go straight into the description text (with first line as the brief description) instead of adding a title. ie.
The first line where it is a link to the Ocsillator is not needed and the second line don't need the You also don't need to check the generated HTML from YUIDoc as we don't use them (we use the generated data.json file). As long as the command build and does not error it should be fine. |
ok excellent - just updated the oscillator + SinOsc, SawOsc, SqrOsc, TriOsc reference pages. |
Thanks @tmartinez88. |
hi @limzykenneth is there a way we can test the output data.json from yuidoc with the library and view the hosted examples to test? i've been adding examples and reference docs and wanted to be able to check to make sure docs are looking ok i see this documented here in the docs but it refers more to the core library and its build process: https://github.com/processing/p5.js/blob/main/contributor_docs/contributing_to_the_p5.js_reference.md#generating-and-previewing-the-reference |
@tmartinez88 For that it is more complicated but I'll try to break it down into steps
It is quite convoluted and for the most part I can help take care of making sure the reference is in the right format and can work with the rest of the site, so you don't have to go through all these steps above. As long as the contents needed are there, I should be able to finese them even if the format are not fully there yet. |
got it! if i'm feeling brave closer to the end I will try this out :) thx @limzykenneth |
Just added a reference page for the Oscillator class to test compatibility with this library and the new p5 site.
this project does not use grunt currently but if it must let's chat about adding that to the build process!
therefore
did not work so I used the standard install command from the YUIDoc homepage as follows...
I then created a reference for the Oscillator class in src/Oscillator.js and built the reference page using
Output was built to the 'out' folder...
I confirmed the reference was built and looks good by
Question: anything to consider or add so that the reference pages and source code/this library is compatible with the p5 website?
@Qianqianye @raclim can you make it so that I can tag Ken in this discussion?
The text was updated successfully, but these errors were encountered: