W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2021

Re: [pubrules] add rule to make sure all the resources under the same directory

From: Fuqiao Xue <xfq@w3.org>
Date: Tue, 16 Mar 2021 22:50:24 +0800
To: Jiaying Liang <jennyliang@w3.org>
Cc: spec-prod <spec-prod@w3.org>
Message-ID: <f999599291f78296514e98246321db95@w3.org>
Hi Jiaying,

Thank you! I think this is in line with our general principle on 
tooling[1].

Editors using spec-prod[2] may want to follow this issue as well: 
https://github.com/w3c/spec-prod/issues/32

~xfq

[1] https://github.com/w3c/w3process/pull/436/files
[2] Not this list, but the GitHub Action with the same name as this 
list: https://github.com/w3c/spec-prod

On 2021-03-16 12:20, Jiaying Liang wrote:
> Dear Editors,
> 
> As indicated in the pubrules rules[1], If the document is compound
> (i.e., if it consists of more than one file), all the files must be
> under a directory /TR/YYYY/WD-shortname-YYYYMMDD/.
> 
> Currently pubrules isn’t checking this, but will apply the rule on
> April 1st. Every resources that are not in the same directory as the
> spec is will trigger an error, and block publication. So please make
> sure the resources (images, stylesheets, scripts, svgs…) are in the
> right place.
> 
> E.g.
>     - spec doc: https://www.w3.org/TR/2021/WD-pubrules-20210401/
>     - image (pass):
> https://www.w3.org/TR/2021/WD-pubrules-20210401/images/sample.png
>     - image (pass):
> https://www.w3.org/TR/2021/WD-pubrules-20210401/sample.png
>     - image (error): https://w3c.github.io/pubrules/sample.png
> 
> Exceptions are resources under:    -
> https://www.w3.org/StyleSheets/TR/
>     - https://www.w3.org/scripts/TR/
> 
> [1]
> https://www.w3.org/pubrules/doc/rules/?profile=FPWD#compoundFilesLocation
> 
> --
> Jiaying Liang
> Web Developer, W3C/systeam
> +86-182-1069-8997
Received on Tuesday, 16 March 2021 14:50:26 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 16 March 2021 14:50:27 UTC