Skip to content

Commit

Permalink
Cite extra specifications in xref, not the data-cite attribute. (#305)
Browse files Browse the repository at this point in the history
Follow ReSpec's recommendation and reference extra specs via the `xref`
configuration option instead of using the `data-cite` attribute in
<body> (which is not even officially allowed according to ReSpec's
documentation).
  • Loading branch information
rakuco authored Feb 15, 2021
1 parent c9d86b0 commit 895be5a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,17 @@
href: 'https://github.com/Honry'
}]
}],
xref: "web-platform"
xref: {
profile: "web-platform",
specs: [
"permissions",
"permissions-policy",
]
}
};
</script>
</head>
<body data-cite="PERMISSIONS-POLICY PERMISSIONS">
<body>
<section id='abstract'>
<p>
This document specifies an API that allows web applications to request
Expand Down

0 comments on commit 895be5a

Please sign in to comment.