-
-
Notifications
You must be signed in to change notification settings - Fork 389
Home
Sid Vishnoi edited this page Jun 30, 2020
·
37 revisions
ReSpec is a tool that makes writing specifications easier. ReSpec handles things like styling, referential integrity, bibliographical data, and other mundane tasks.
A detailed user's guide is available.
If you want to hack on ReSpec, we also have a Developers Guide.
All you need is an HTML document and to set some configuration options. Each configuration option is documented in this Wiki.
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Replace me with a real title</title>
<script src='https://www.w3.org/Tools/respec/respec-w3c' class='remove' async></script>
<script class='remove'>
var respecConfig = {
specStatus: "ED",
editors: [{
name: "Your Name",
url: "https://your-site.com",
}],
github: "w3c/some-spec",
};
</script>
</head>
<body>
<section id='abstract'>
<p>
This is required.
</p>
</section>
<section id='sotd'>
<p>
This is required.
</p>
</section>
<section id='conformance'>
<p>
This is required for specifications that contain normative material.
</p>
</section>
<section data-dfn-for="Foo">
<h2><dfn>Foo</dfn> interface</h2>
<pre class="idl">
interface Foo {
attribute Bar bar;
void doTheFoo();
};
</pre>
<p>The {{Foo}} interface is nice. Lets you do stuff.</p>
<p>The <dfn>bar</dfn> attribute, returns 🍺.</p>
<p>The <dfn>doTheFoo()</dfn> method, returns nothing.</p>
</section>
</body>
</html>
The official support channel for ReSpec is [email protected]. The mailing list archives are available. You can subscribe by sending email to [email protected] with "subscribe" as the subject line.
💖 Support ReSpec by becoming a sponsor via Open Collective. 💖
✨ View rendered version of this documentation at https://respec.org/docs/ ✨
- addSectionLinks
- authors
- caniuse
- edDraftURI
- editors
- favicon
- format (markdown)
- formerEditors
- github
- highlightVars
- isPreview
- license
- lint
- localBiblio
- logos
- maxTocLevel
- mdn
- modificationDate
- noTOC
- otherLinks
- pluralize
- postProcess
- preProcess
- previousDiffURI
- previousMaturity
- previousPublishDate
- prevRecShortname
- prevRecURI
-
processVersion(Deprecated) - publishDate
-
refNote(Deprecated) - shortName
- specStatus
- subjectPrefix
- subtitle
- testSuiteURI
- xref
- additionalCopyrightHolders
-
addPatentNote(Deprecated) - alternateFormats
- canonicalURI
- charterDisclosureURI
- copyrightStart
- crEnd
-
darkMode(deprecated, use dark mode) - doJsonLd
- errata
- group
- implementationReportURI
- lcEnd
- level
- noRecTrack
- prevED
- submissionCommentNumber
-
wg(Deprecated) -
wgId(Deprecated) -
wgPatentPolicy(Deprecated) -
wgPatentURI(Deprecated) - wgPublicList
-
wgURI(Deprecated)
a11y
check-punctuation
local-refs-exist
no-headingless-sections
no-http-props
no-unused-vars
no-unused-dfns
informative-dfn
privsec-section
wpt-tests-exist
Handled by ReSpec for you.
- data-abbr
-
data-cite(Not recommended) - data-dfn-for
- data-dfn-type
- data-format
- data-include-format
- data-include-replace
- data-include
- data-link-for
- data-link-type
- data-local-lt
- data-lt-no-plural
- data-lt-noDefault
- data-lt
- data-number
- data-oninclude
- data-sort
- data-tests
-
data-transform(Deprecated) - data-type
- dir
- lang