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.
-Jonathan
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.
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
I'll implement any *clear* spec for multi-language help patches someone comes up
with with the following constraints:
1. it separates design from content.
2. in only requires documentation writers to care about content.
3. it does not pigeonhole help patches into having a single, ugly design
4. documentation writers will be guaranteed that whatever they write, it won't
overlap patch content.
5. it is maintainable and scalable
Sounds like .html.
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list