-
Notifications
You must be signed in to change notification settings - Fork 16
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
Create documentation using Processing docs tools #80
Comments
@jeremydouglass Maybe we could get some docs or help from the community about how to use those tools. |
Good idea. There are also multiple tools -- we are starting with public web documentation for beginners. Separately Processing also uses a python / XML / JavaDoc documentation build system do technical documentation. |
I have created a new repo: https://github.com/Processing-R/Processing.R-docs for documentation. |
FMI: https://github.com/kazimuth/processing-py-site is the web reference site for processing.py I prefer p5.js doc, and try to fork it 🤔 |
ref https://processing-r.github.io/Processing.R-docs/ Tring to generate reference from examples/reference, although it is full of bugs. Documentation is much more difficult than programming. 😪 |
I have built a tool to generate docs from The structure of
The structure of .property.yml, see examples/reference/arc/.property.yml as a example: category: <category of the functino>
subcategory: <subcategory of the function>
description: <descriptinon of the function>
syntax: <syntax of the function>
parametes:
- label: <name of the parameter>
description: <description of the parameter>
- ...
related:
- <name of related function>
- ... |
Excellent! If this format endures you should take the notes from this page and put it in a wiki page. Is the idea to have this eventually move to https://github.com/Processing-R/Processing.R-docs ? Should the examples/reference sketches go there? |
Is the concept still to integrate the examples with both documentation and unit test cases ( #10 )? Or will they be separate? How would this integration work if the documentation is in a separate repository? |
I think the example/references will be in this repo, Processing.R-docs will read from this repo. It needs a parameter which is the location of the source code of Processing.R, then it will find the example/references folder. |
I have invited some friends of me to contribute to Processing.R, so rewrite the first comment and put TODO list here: Tasks (category): |
Expanded the instructions above to explain how you know what hasn't been done / where to find it. |
Expanded instructions and migrated to wiki page for now -- easier to find and read than in an issue, and we want to keep them even after this issue is closed. https://github.com/gaocegege/Processing.R/wiki/How-to-document-Processing.R |
Close via #131 |
Please help migrate documentation from Processing to Processing.R -- pick any function and add a reference page, example, and test!
Detailed instructions here:
ref https://github.com/gaocegege/Processing.R/wiki/Documentation-and-E2E-Test-Generator-Tool
The text was updated successfully, but these errors were encountered: