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
A spec style/structure checklist? #136
Comments
I'm a bit concerned that it could quickly become overly bureaucratic if it's a document that we drop onto people. I could see giving people advice / mentoring about how to approach documents upon request, and maybe eventually distilling a few bits of advice from that. |
I'd love to have something rough to drop into: Just simple/human things to put in there (i.e., keep this targeted at developers) - and maybe just some links to what we consider good examples of an explainer (e.g., the SW one). |
Do we have an ‘empty skeleton’ or template that we maintain, that we can point people at? Also, the AB is concerned that the /TR page is an un-navigable list (‘graveyard’ has been used). Templates or other work that help classify specs (some semantic tagging) might help. I like templates, as they could include sections which are not uniformly present — how to report an issue and how to see reports of issues; security and privacy considerations; and so on David Singer |
The WICG starter kit includes a ReSpec and BikeShed template... which point to helpful guides produced by the TAG (the API design guide, and the guide on specs that make use of promises). https://github.com/WICG/starter-kit/tree/master/templates As I'm not a spec novice, I'm not in a position to judge if those are good or not - so feedback welcome if they should be improved.
Could you kindly clarify what you mean by "semantic tagging"?
BikeShed and ReSpec's templates include links to GitHub repos... and both processors get upset if you don't have security and privacy considerations sections. |
I think there was an effort once to include keywords, RDFa and so on, to enable classification of specs. The TR page is an undifferentiated list of specs; I have a vague dream that one might be able to find (for example) all specs that talked about being an HTML extension, or about styling, or the DOM, and so on. It’s very vague. We don’t do well at helping developers find stuff right now, and I am waffling about tagging as a possible way to help. David Singer |
@dwsinger, thanks for the clarification - I see what you mean. And yeah, having just had al look at TR for the first time in years - it's pretty terrible... A good source of inspiration for organization might be something like: https://developer.mozilla.org/en-US/docs/Web The above far from perfect - but it would be great for TR to at least remove all the dead stuff and focus on the central themes of HTML, CSS, JS Web APIs (Web Platform). And maybe a totally separate part for the "data" efforts - where all the X* things would go. Having those things automatically organized might be a bit of an ask... but the W3C could just put that on GitHub and let the community help manage it. |
Yes. |
had some discussion with @sideshowbarker about editor's training. Adding him into this loop. |
@deniak is also in the loop (now by reference) |
I have nothing to add at this point other than to say, Yeah we need to produce some guidelines docs for spec editors in WGs (along with guidelines docs for test writers in WGs). I guess we (at least @plh and I) just need to put a more concrete plan/timeline behind it. |
Let me repeat the same suggestions I made during the TPAC session on spec publishing:
|
Agree with @tobie regarding 1. There is a gross "trial by fire" culture wrt editing specifications around here that we need to root out. This will take time tho. I've had people complain at me that new contributors to the WICG don't know how to edit specs - like it's some magical thing that they should know how to do or that they should know all the magical binding behavior in WebIDL, etc. Re: 3 - so much yes. But we need to make a decision there. Either gh-pages is the source of truth or TR is... and if TR is, then Echidna and Specrebus have got to get a lot more user friendly. It's not that those folks working on those have not done a great job - but like @tobie, it's just too inside baseball and still way too hard to use. I tried to fix that by writing the wiki pages that describe the process for using some of those... but it's still super confusing to auto-publish. Re: 4... we had a false start at this once: https://github.com/specthewebforward ... even bought the domain (specthewebforward.org)... I think I let it lapse tho. |
QA Framework: Specification Guidelines might have some useful things here |
@dbaron, that's over a decade old, though. |
Yes, but I've heard a bunch of positive feedback about it over the past decade (at least assuming it's the right document to point to, which I think it is). |
I have fond memories of reading that document when I was starting out. IIRC, it really does cover the basics well. The following post by Hixie was probably the most important thing I ever read about how specs should be written: https://ln.hixie.ch/?start=1140242962&count=1 I also worked on this thing... https://www.w3.org/TR/test-methodology/ there might be useful conceptual things in there. |
Per @marcoscaceres's request, working on a draft of an explainer outline (and guide) to drop into https://github.com/WICG/starter-kit/blob/master/templates/explainer.md. Scheduled for a future call to discuss. |
This addresses a part of w3ctag/design-reviews#136 .
This addresses a part of w3ctag/design-reviews#136 .
This addresses a part of w3ctag/design-reviews#136 .
This addresses a part of w3ctag/design-reviews#136 .
Where? |
@chaals: Draft explainer outline doc here (will be locked down shortly): https://docs.google.com/document/d/1cJs7GkdQolqOHns9k6v1UjCUb_LqTFVjZM-kc3TbNGI/edit#heading=h.27qen9z79dwm @marcoscaceres: does ^^^ look like something you'd be willing to integrate into the WICG starter kit? Can PR for it if you like where it's headed. @triblondon has threatened to visit you in person later this week to get an update on your views. No word on wether or not he'll be bringing gin. |
Some work left to be done here on a spec outline document. |
@slightlyoff, would gladly take that! looks great. |
We created WICG/starter-kit#10. We're not realistically going to add any more to this, so closing. |
In discussion with @ r12a, it seemed like many groups doing reviews of specs would benefit from better guidance to spec authors about how to structure their documents and design docs / explainers. Is this something we have the appetite to produce?
The text was updated successfully, but these errors were encountered: