Respec: What does handle @@@?

Created on 10 Feb 2018  路  12Comments  路  Source: w3c/respec

I found @@@text@@@ forms in our SOTD template:

https://github.com/w3c/respec/blob/cb910fefe152db689659c6b16b319ffabcc1a239/js/w3c/templates/sotd.html#L37-L53

It seems they are not processed by handlebars or anything, what does handle them?

good first issue question

Most helpful comment

They are probably just changed manually before the submission gets published... we can definitely fix that. It looks like we need a publish date to generate the submission URL.

All 12 comments

Heh, I think because we never have member submissions (isMemberSubmission being true) in practice, no one has ever seen this bug :)

I think we should just remove support for this from ReSpec. We have better ways to do incubation than relying on member submissions (e.g., regular CGs and the WICG). I've also checked all of Github, and there are zero instances of isMemberSubmission set to true.

@marcoscaceres Does the same applies to isTeamSubmission?

Yeah, I believe so. I will check with W3C staff tho.

@dontcallmedom, @plehegar, doing some archeology, it seems like isTeamSubmission and isMemberSubmission have never been used... how about we remove them from ReSpec?

I know that at least some Member submissions were written with ReSpec, so I think we should keep it; Team submissions may be rare enough that they could be removed

@dontcallmedom is right... there are quite a few ReSpec based member submissions: https://www.w3.org/Submission/

Hmm, so it seems something processes those @@@, no idea what it is...

They are probably just changed manually before the submission gets published... we can definitely fix that. It looks like we need a publish date to generate the submission URL.

@OrionStar25, this could be a good one. What needs to be done:

  • [ ] Remove team submission.
  • [ ] Fix the template for isMemberSubmission, so that the @@@whatever get replaces with actual configuration options.

See how other things in that file are done... should hopefully be straight forward.

sotd.html is present in a different tree and not in develop. Can you please explain why is that? @marcoscaceres

oh, @saschanaz refactored all those :) So it's now here (src/w3c/templates/sotd.js):
https://github.com/w3c/respec/blob/develop/src/w3c/templates/sotd.js#L40

Was this page helpful?
0 / 5 - 0 ratings

Related issues

greenkeeper[bot] picture greenkeeper[bot]  路  4Comments

marcoscaceres picture marcoscaceres  路  6Comments

saschanaz picture saschanaz  路  5Comments

saschanaz picture saschanaz  路  3Comments

xfq picture xfq  路  4Comments