foxfirefey (
foxfirefey) wrote in
dw_styles2010-06-21 05:22 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Entry tags:
Styles documentation update
So, as a recap after about a week of work, there are now two main documentation bodies springing up for S2. I think there's currently enough space both for beginner and more advanced level documentation within those two sets.
S2 Guide: The Language Tutorial is filling out nicely as a first draft. However, the more I work at it in its current state, the more I think it's going to need to be rearranged for better flow at teaching beginners. The Style System Overview has a little bit of content, but is still kind of clunky. But the Troubleshooting section has some pretty awesome stuff right now, if I do say so myself. Haven't yet started on the Core2 Overview, Backend, Glossary, or Language Reference (a more concise version of the Language Tutorial, for cheatsheet checking or referral by people who already know programming).
S2 Cookbook: This starts out with a testbed layout that lets people have a really simple environment to test out code bits. A couple example pages starting to get filled in are strings and on Dates.
Other miscellanea:
*
matgb has pointed out that the advanced page points to defunct documentation URLs. What's worse, the layout editor does, too. Hopefully we can point it at the S2 guide instead, or the core2 layer documentation.
* Doing this documentation has also given me several ideas for built in functions to add. For instance, S2 has a split function for strings, but no "join" function for string arrays. Why is there no join function! Does anybody have any input on that?
* Some people have already been diving in to tweaking and editing! Thank you
murklins and
azurelunatic for your assistance. And thank you everybody who gave your input on the last post on this topic!
*
ninetydegrees has some suggestions up regarding this area: Your Layers page: redesign layers table as a tree , Styles: Add links to Your Layers, and Improve the S2 Compiler. They're making me think that instead of wee changes, each area should just go through a redesign. What do you envision the advanced customization area operating like?
S2 Guide: The Language Tutorial is filling out nicely as a first draft. However, the more I work at it in its current state, the more I think it's going to need to be rearranged for better flow at teaching beginners. The Style System Overview has a little bit of content, but is still kind of clunky. But the Troubleshooting section has some pretty awesome stuff right now, if I do say so myself. Haven't yet started on the Core2 Overview, Backend, Glossary, or Language Reference (a more concise version of the Language Tutorial, for cheatsheet checking or referral by people who already know programming).
S2 Cookbook: This starts out with a testbed layout that lets people have a really simple environment to test out code bits. A couple example pages starting to get filled in are strings and on Dates.
Other miscellanea:
*
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
* Doing this documentation has also given me several ideas for built in functions to add. For instance, S2 has a split function for strings, but no "join" function for string arrays. Why is there no join function! Does anybody have any input on that?
* Some people have already been diving in to tweaking and editing! Thank you
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
*
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
no subject
PS If you want to dole out any other tasks to me, I am more than willing to tackle something.
no subject
no subject
no subject
I kinda miss talking about s2, too. Like, just making it do all kinds of ridiculous things and... stuff. Or utilitarian things, which ultimately end up being ridiculous. Stuff!
"May your compiler errors be exciting"? ;-)
no subject
no subject
no subject
no subject
no subject
Now, it'll stop when the style hits its rendering time limit, but it's definitely a while loop! You just need to put the condition around the part that adds the new item to the array and increments the position, and voila, while loop.
no subject
no subject
Would you like to start doing some cookbook recipes? Generally what I do is come up with a short code example that works in the testbed layout for each section! (That might not work for all needed examples, for instance the Page ones, but it's a start.)
no subject
Cookbook recipes sound good! I'll start poking around tomorrow.