respec 35.8.0 → 36.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -34
- package/builds/respec-aom.js +9648 -147
- package/builds/respec-aom.js.map +1 -1
- package/builds/respec-dini.js +9792 -152
- package/builds/respec-dini.js.map +1 -1
- package/builds/respec-geonovum.js +9334 -97
- package/builds/respec-geonovum.js.map +1 -1
- package/builds/respec-w3c.js +17851 -501
- package/builds/respec-w3c.js.map +1 -1
- package/builds/respec-worker.js +19 -27
- package/package.json +51 -18
- package/tools/respec2html.js +17 -15
- package/tools/respecDocWriter.js +7 -5
package/README.md
CHANGED
|
@@ -1,57 +1,46 @@
|
|
|
1
1
|
# ReSpec
|
|
2
2
|
|
|
3
|
-
[](#backers)
|
|
4
|
-
[](#sponsors)
|
|
5
3
|
[](https://github.com/speced/respec/actions?query=workflow%3A%22Node+CI%22+branch%3Adevelop)
|
|
6
|
-
[](https://github.com/marcoscaceres/respec.org/actions?query=workflow%3A%22Health+Check%22)
|
|
7
4
|
|
|
8
|
-
ReSpec is a
|
|
9
|
-
that tend to be technical in nature in general. It was originally designed for the purpose
|
|
10
|
-
of writing W3C specifications, but has since grown to be able to support other outputs as
|
|
11
|
-
well.
|
|
5
|
+
ReSpec is a tool for writing [W3C](https://www.w3.org/) specifications and other technical documents. Write your content in HTML, add a `<script>` tag, and ReSpec handles the boilerplate, formatting, cross-references, bibliography, and validation automatically.
|
|
12
6
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
If you are just interested in writing a spec, you can grab the [starter spec](examples/starter.html).
|
|
7
|
+
**You don't need to install anything.** Write an HTML file, open it in a browser, done.
|
|
16
8
|
|
|
17
|
-
|
|
9
|
+
## Getting started
|
|
18
10
|
|
|
19
|
-
|
|
20
|
-
* [WebIDL guide](https://github.com/speced/respec/wiki/WebIDL-Guide)
|
|
11
|
+
Grab the [starter spec](examples/starter.html), change the title, add your name as editor, and start writing. Full documentation is at **[respec.org/docs](https://respec.org/docs/)**:
|
|
21
12
|
|
|
22
|
-
|
|
13
|
+
- [Editor's Guide](https://respec.org/docs/) — complete walkthrough for new spec editors
|
|
14
|
+
- [WebIDL guide](https://respec.org/docs/#WebIDL-Guide) — for JavaScript API specifications
|
|
15
|
+
- [How Do I…](https://github.com/speced/respec/wiki/How-Do-I) — quick answers to common tasks
|
|
23
16
|
|
|
24
|
-
|
|
17
|
+
> [!NOTE]
|
|
18
|
+
> **This repository is for ReSpec's development.** You don't need to clone or fork it to write a spec — just use the starter template above.
|
|
25
19
|
|
|
26
|
-
|
|
27
|
-
* [Writing Promise-Using Specifications](https://www.w3.org/2001/tag/doc/promises-guide)
|
|
28
|
-
* [Privacy and Security Self-Review Questionnaire](https://w3ctag.github.io/security-questionnaire/)
|
|
29
|
-
* [Short i18n review checklist](https://www.w3.org/International/techniques/shortchecklist.html)
|
|
30
|
-
* [Adding another permission? A guide](https://github.com/w3cping/adding-permissions/blob/master/README.md)
|
|
20
|
+
## New to spec writing?
|
|
31
21
|
|
|
32
|
-
|
|
22
|
+
These resources will help you write better specs:
|
|
33
23
|
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
- [API Design Principles](https://w3ctag.github.io/design-principles/) — what makes a good web API
|
|
25
|
+
- [Writing Promise-Using Specifications](https://www.w3.org/2001/tag/doc/promises-guide) — async patterns for specs
|
|
26
|
+
- [Security & Privacy Self-Review Questionnaire](https://w3ctag.github.io/security-questionnaire/) — audit your spec before publishing
|
|
27
|
+
- [Short i18n review checklist](https://www.w3.org/International/techniques/shortchecklist.html) — internationalization basics
|
|
28
|
+
- [Adding another permission?](https://github.com/w3cping/adding-permissions/blob/master/README.md) — before adding a new permission type
|
|
36
29
|
|
|
37
|
-
|
|
38
|
-
problems encountered with ReSpec, or on why it may be failing to produce pubrules-compliant
|
|
39
|
-
content.
|
|
30
|
+
## Bibliography
|
|
40
31
|
|
|
41
|
-
|
|
32
|
+
Use [specref.org](https://www.specref.org/) to look up and cite other specifications in your bibliography. ReSpec resolves `[[SPEC-ID]]` references automatically. You can also search specref directly from the ReSpec pill menu in any spec.
|
|
42
33
|
|
|
43
|
-
|
|
44
|
-
[specref.org](http://www.specref.org/).
|
|
34
|
+
## Getting help
|
|
45
35
|
|
|
46
|
-
|
|
36
|
+
- Email [spec-prod@w3.org](mailto:spec-prod@w3.org) for general questions
|
|
37
|
+
- [File a bug](https://github.com/speced/respec/issues) if something is broken
|
|
47
38
|
|
|
48
|
-
[
|
|
39
|
+
> ReSpec is not endorsed by W3C. For W3C publication requirements, consult the [W3C Publication Rules](https://www.w3.org/pubrules/).
|
|
49
40
|
|
|
50
41
|
## Contribute
|
|
51
42
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
|
|
43
|
+
See our [developer guide](https://github.com/speced/respec/wiki/Developers-Guide) and [Code of Conduct](CODE_OF_CONDUCT.md).
|
|
55
44
|
|
|
56
45
|
## Contributors
|
|
57
46
|
|