Skip to content

Commit 8d6a1a7

Browse files
authored
TD 2.0 FPWD Publication (#2140)
* create static publication files * move over figures * fix binding registry URL * fix emph usage * generate static docs * add diff * use manual figures * update json schema links for td and tm * update diff * remove context url assertions * regenerate static files * add diff again * revert changes * add diff
1 parent e055980 commit 8d6a1a7

29 files changed

+119273
-1129
lines changed

index.html

Lines changed: 25 additions & 326 deletions
Large diffs are not rendered by default.

index.template.html

Lines changed: 19 additions & 323 deletions
Large diffs are not rendered by default.

publication/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ In general, you should always consult the W3C Guide page at <https://www.w3.org/
2121

2222
Overview.html is generated as follows:
2323

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.
2527
2. Change `specStatus` to `"NOTE"` from `"ED"` (or `"REC"`, `"PR"`, etc.).
2628
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.
2729
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.
4648

4749
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.
4850

49-
*s None
50-
5151
## Converting Automatically Generated SVGs to PNGs
5252

5353
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.
5656

5757
* You should not add or remove any element, or change types of vocabulary terms unless the automatic figures have a bug due to toolchain
5858
* 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`
5960

6061
## REC Version Extras
6162

@@ -67,3 +68,4 @@ When publishing the REC version, you need to do additional steps:
6768
* Check for the date or version within JSON Schema files
6869
* Generate static versions of the ontology HTML files
6970
* Generate tidied versions of the ontology HTML files
71+
* Add errata link.

publication/ver20/1-fpwd/Overview.html

Lines changed: 23998 additions & 0 deletions
Large diffs are not rendered by default.

publication/ver20/1-fpwd/diff.html

Lines changed: 64617 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)