Skip to content

Commit cb88dd2

Browse files
committed
Finalize documentation
1 parent 53eba54 commit cb88dd2

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

generate/NewVersion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ EPUB evolves. This repository was created while [EPUB 3.3](https://www.w3.org/T
55
When upgrading from EPUB 3.n to EPUB 3.n+1, the following changes on the repository must be done:
66

77
- Modify the `/Readme.md` file, changing the corresponding revision.
8-
- Modify the first paragraph of the introduction section of `/index.html` by updating the revision number and related URL-s.
8+
- Modify the first paragraph in the introduction section of `/index.html` by updating the revision number and related URL-s.
99
- Modify the abstract section of `/results.html` by updating the revision number and related URL-s.
10-
- Modify the configuration file in `/generate/config.json` by expanding/updating the URL-s in the `"document_mappings"` array. The most important entries are the last two that are used to refer to the latest editors' drafts from the [test table](https://w3c.github.io/epub-tests/).
10+
- Modify the configuration file in `/generate/config.json` by expanding and/or updating the URL-s in the `"document_mappings"` array. The most important entries are the last two, used to refer to the latest editors' drafts from the [test table](https://w3c.github.io/epub-tests/).
1111
- Modify the metadata in the `/tests/xx-epub-template/EPUB/package.opf` and `/tests/xx-fixed-layout-template/EPUB/package.opf` files: the `<meta refines="#coverage" property="schema:version">` entry should refer to the latest revision number.
1212
- (Possibly update this document…)

generate/src/lib/data.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,8 @@ export async function getReportData(test_data: TestData[], reports: string): Pro
512512
}
513513

514514
/**
515-
* Get a list of the tests file names, to be used to generate a template report.
515+
*
516+
* Generate a template report that contains the list of all tests, with a placeholder for the results and the metadata
516517
*
517518
* @param report the full report, as generated by earlier calls
518519
*/

generate/src/main.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@
1717
* The implementation results are stored in the `/reports` directory. Each implementation
1818
* report is stored in a separate JSON file, containing some metadata about the implementation, and the results of the tests.
1919
*
20-
* The `/generate/src/lib/types.ts` file contains, as part of the `Constants` namespace, the file names and directories for tests, final place for fragments, etc.
20+
* Finally, the script also creates a template implementation result file (`/reports/xx-template.json`) that can be used to create new implementation reports.
21+
*
22+
* ### Changing the configuration of the script
23+
*
24+
* The `/generate/src/lib/types.ts` file contains, as part of the `Constants` namespace, the file and directories names for tests, final place for fragments, etc.
2125
* If the repository is reorganized or cloned, that file should be updated to reflect the new structure.
2226
*
23-
* Note that the current setup is based on release 3.4 of the EPUB 3 specification. See the separate `/generate/NewVersion.md` file for the steps to follow to
27+
* The current setup is based on release 3.4 of the EPUB 3 specification. See the separate `/generate/NewVersion.md` file for the steps to follow to
2428
* update the repository for a new version of the EPUB 3 specification.
2529
*
2630
* @license [W3C Software and Document License](https://www.w3.org/Consortium/Legal/copyright-software)

0 commit comments

Comments
 (0)