Ok, so which html reference system should I leverage here?
Probably something using css and an html template that make it easy for people to fill out. I’d say 1 main html file for each object to document w/ room for sub pages if needed. Different languages can live in different folders.
The nice thing about this approach is lots of people can edit html, there are plenty of designers, the files can be rendered by pretty much anything, etc. Another option is to have a templating system that uses Markdown, etc and just renders to html. It can then live in it’s own source repository for shared work and be used as a basis for online as well as distributed documentation.
Maybe a good start would be to look at the pure data object database/wiki that is around somewhere. I can’t find the link off the top of my head.
Where will the html files get stored, and how do we get from clicking the link in the help patch (I'm assuming we're still using the current help patches to show a simple demo of the object) to opening the html doc in the correct language?
Just like opening a help patch with a context menu option or maybe links we can open from the patch itself. Use the current help paths for searching and use tcl to launch the path in the system web browser if found.
I’d say the most useful thing would be add linking between patches and external files (html, etc) in general. I believe Hans had this in extended for the pd-doc stuff.
I’m suggesting this approach partially so you/we don’t end up reinventing the wheel. A custom, integrated system would be *nice* but I feel that will require too much backend work to build and them probably too much work to maintain/extend in the future. HTML+CSS has the option of being loaded into a web view within TK I imagine, so another option would be a side pane or extra window that can open up right in PD. I’d suggest staying away from building extra widgets etc to render a custom approach within the patch itself.
Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Feb 26, 2016, at 4:44 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
-Jonathan
On Friday, February 26, 2016 4:34 PM, Dan Wilcox danomatika@gmail.com wrote:
I think what implying is that maybe Pd *doesn’t* need to handle it. Simply, Pd could open a local webpage, similar to how the Processing “Find in reference” context menu option works when highlighting a function in the editor.
Not to say you/we can’t work out a file format/system to handle alot of this, but I’m thinking that html reference already works well for many other contexts an doesn’t require building new formats/systems to solve alot of the same problems.
Dan Wilcox @danomatika applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8 danomatika.com applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8 robotcowboy.com applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8
On Feb 26, 2016, at 2:08 PM, Jonathan Wilkes <jancsika@yahoo.com applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8> wrote:
html could be leveraged, but I'm really looking for a spec for how Pd handles it. Is it a GUI widget? An abstraction? A canvas method? A new "#" directive?
Do the translations get saved along with the help patch, or are they stored in a directory and fetched when needed? Etc.
-Jonathan
On Friday, February 26, 2016 1:02 PM, Dan Wilcox <danomatika@gmail.com applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8> wrote:
I'll implement any *clear* spec for multi-language help patches someone comes up with with the following constraints:
- it separates design from content.
- in only requires documentation writers to care about content.
- it does not pigeonhole help patches into having a single, ugly design
- documentation writers will be guaranteed that whatever they write, it won't
overlap patch content. 5. it is maintainable and scalable
Sounds like .html.
Dan Wilcox @danomatika applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8 danomatika.com applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8 robotcowboy.com applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8
Pd-list@lists.iem.at applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8 mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list applewebdata://9A573E33-3C9E-4211-B71F-8EE2FC1E4AF8