Skip to content
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

Update rules/doc for submissions #1846

Merged
merged 3 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions lib/profiles/SUBM/MEM-SUBM.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as memsubCopyright from '../../rules/headers/memsub-copyright.js';
import * as submission from '../../rules/sotd/submission.js';
import { insertAfter } from '../profileUtil.js';
import { insertAfter, removeRules } from '../profileUtil.js';
import { rules as baseRules } from '../SUBM.js';

export const name = 'MEM-SUBM';
Expand All @@ -16,9 +16,13 @@ const rulesWithAdditionalHeaderRule = insertAfter(
'headers.w3c-state',
[memsubCopyright]
);
const rulesWithoutEditorParticipationRule = removeRules(
rulesWithAdditionalHeaderRule,
['headers.editor-participation']
);

export const rules = insertAfter(
rulesWithAdditionalHeaderRule,
rulesWithoutEditorParticipationRule,
'sotd.supersedable',
submission
);
2 changes: 1 addition & 1 deletion lib/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"name": "5. Document Status Section",
"rules": {
"sotd": true,
"boilerplateTRDoc": true,
"boilerplateTRDoc": "It <span class=\"rfc2119\">must</span> begin with the following boilerplate text: <blockquote class=\"boilerplate\"> <p> <em>This section describes the status of this document at the time of its publication. A list of current W3C publications can be found in the <a href=\"https://www.w3.org/TR/\">W3C technical reports index</a> at https://www.w3.org/TR/.</em> </p> </blockquote> <div class=\"source\"> <span style=\"font-style: italic\">Include this source code</span>:<br><code>&lt;p&gt;&lt;em&gt;This section describes the status of this document at the time of its publication. A list of current W3C publications can be found in the &lt;a href=\"https://www.w3.org/TR/\"&gt;W3C technical reports index&lt;/a&gt; at https://www.w3.org/TR/.&lt;/em&gt;&lt;/p&gt;</code></div>",
"boilerplateSUBM": "It <span class=\"rfc2119\">must</span> include this boilerplate text (with links to the published Submission and Team Comment): <blockquote class=\"boilerplate\"> By publishing this document, W3C acknowledges that the <a href=\"https://www.w3.org/submissions/@@@submissiondoc@@@\">Submitting Members</a> have made a formal Submission request to W3C for discussion. Publication of this document by W3C indicates no endorsement of its content by W3C, nor that W3C has, is, or will be allocating any resources to the issues addressed by it. This document is not the product of a chartered W3C group, but is published as potential input to the <a href=\"https://www.w3.org/policies/process/\">W3C Process</a>. A <a href=\"https://www.w3.org/submissions/@@@teamcomment@@@\">W3C Team Comment</a> has been published in conjunction with this Member Submission. Publication of acknowledged Member Submissions at the W3C site is one of the benefits of <a href=\"https://www.w3.org/Consortium/Prospectus/Joining\">W3C Membership</a>. Please consult the requirements associated with Member Submissions of <a href=\"https://www.w3.org/policies/patent-policy/#sec-submissions\">section 3.3 of the W3C Patent Policy</a>. Please consult the complete <a href=\"https://www.w3.org/submissions/\">list of acknowledged W3C Member Submissions</a>.</blockquote> <div class=\"source\"> <span style=\"font-style: italic\">Include this source code</span>:<br><code>&lt;p&gt;By publishing this document, W3C acknowledges that the &lt;a href=\"https://www.w3.org/submissions/@@@submissiondoc@@@\"&gt;Submitting Members&lt;/a&gt; have made a formal Submission request to W3C for discussion. Publication of this document by W3C indicates no endorsement of its content by W3C, nor that W3C has, is, or will be allocating any resources to the issues addressed by it. This document is not the product of a chartered W3C group, but is published as potential input to the &lt;a href=\"https://www.w3.org/policies/process/\"&gt;W3C Process&lt;/a&gt;. A &lt;a href=\"https://www.w3.org/submissions/@@@teamcomment@@@\"&gt;W3C Team Comment&lt;/a&gt; has been published in conjunction with this Member Submission. Publication of acknowledged Member Submissions at the W3C site is one of the benefits of &lt;a href=\"https://www.w3.org/Consortium/Prospectus/Joining\"&gt;W3C Membership&lt;/a&gt;. Please consult the requirements associated with Member Submissions of &lt;a href=\"https://www.w3.org/policies/patent-policy/#sec-submissions\"&gt;section 3.3 of the W3C Patent Policy&lt;/a&gt;. Please consult the complete &lt;a href=\"https://www.w3.org/submissions/\"&gt;list of acknowledged W3C Member Submissions&lt;/a&gt;.&lt;/p&gt;</code></div>",
"customParagraph": true,
"knownDisclosureNumber": true,
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/links/linkchecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ const allowList = [
/^https:\/\/www.w3.org\/analytics\/piwik\//,
/^https:\/\/test.csswg.org\/harness\//,
/^https:\/\/www.w3.org\/assets\//,
/^https:\/\/static.cloudflareinsights.com\/beacon.min.js/,
/^https:\/\/static.cloudflareinsights.com\/beacon\.min\.js/,
/^https:\/\/www.w3.org\/Icons\/member_subm\.png/,
/^data:/,
];
const noRespondAllowList = [
Expand Down