You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: publication/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,9 @@ In general, you should always consult the W3C Guide page at <https://www.w3.org/
21
21
22
22
Overview.html is generated as follows:
23
23
24
-
1. Copy index.html from [the root of the repository](../index.html). Add errata link.
24
+
1. Copy index.html from [the root of the repository](../index.html).
25
+
1. Change the `type` of `title` to `string` until <https://github.com/w3c/wot-thing-description/issues/1972> is resolved.
26
+
2. Modify images. See *Converting Automatically Generated SVGs to PNGs* below.
25
27
2. Change `specStatus` to `"NOTE"` from `"ED"` (or `"REC"`, `"PR"`, etc.).
26
28
3. Generate static.html by ReSpec from <https://w3c.github.io/wot-thing-description/> (click "ReSpec" top right and choose "Export" then export as "HTML"). Make sure that you disable browser extensions or open in private window.
27
29
4. Output Overview.html as a result of [HTML Tidy](https://www.html-tidy.org/). Use the following command (`tidy -ashtml -i static.html > Overview.html`). The `-ashtml` option is needed until [this issue](https://github.com/htacg/tidy-html5/issues/660) is resolved at HTML Tidy.
@@ -46,8 +48,6 @@ checkers can use.
46
48
47
49
Some redirects come from [specref](https://www.specref.org/) not being up to date. In those cases, you need to manually update the final Overview.html.
48
50
49
-
*s None
50
-
51
51
## Converting Automatically Generated SVGs to PNGs
52
52
53
53
All SVG files under [visualization](../visualization) are generated automatically when running the `npm run render` command.
@@ -56,6 +56,7 @@ A tool like [Inkscape](https://inkscape.org/) can be used to do that.
56
56
57
57
* You should not add or remove any element, or change types of vocabulary terms unless the automatic figures have a bug due to toolchain
58
58
* You can adjust the overall organization of the elements by moving them around. This should be done to have a better layout, e.g. split a very long horizontal picture into two levels.
59
+
* You should change the links from `.svg` to `.png`
59
60
60
61
## REC Version Extras
61
62
@@ -67,3 +68,4 @@ When publishing the REC version, you need to do additional steps:
67
68
* Check for the date or version within JSON Schema files
68
69
* Generate static versions of the ontology HTML files
69
70
* Generate tidied versions of the ontology HTML files
0 commit comments