No project description provided
Project description
Content CLI Tools
Installation
$ pip3 install dw-content-tools
Module Repository Validator
Validates that a module repo structure and content is valid, based
on the following rules:
* metadata.yml exists
* metadata.yml is valid
* validate JSON schema
* docker-compose.yml exists
* docker-compose.yml is valid
* validate JSON schema
* english.md exists
* validating english.md:
* pages:
* unique IDs
* all pages contain a valid ID
* all pages have a name
* all images referenced in md exist as static files
* activities:
* all activities have an unique `id`
* all activities have `type` defined
* input:
* has required `correct-answer` tag
* multiple-choice:
* has required `answer` (many) tags
* at least one answer is marked as `is-correct`
* when more than one answer is correct, `widget` has to be `checkbox`
* code:
* `template` and `device` attrs are defined
* has required `validation-code` tag
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dw_content_tools-0.6.2.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for dw_content_tools-0.6.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c899d81829177e08c4949f0818a6dacda45746c718a39145ff1d8b59b92a09b5 |
|
MD5 | f5af32a1e3976be0070896b5a7c2eb35 |
|
BLAKE2b-256 | 8a300292be1bca6f5ab3b60a0e0025219abe243a8279d4ac65702b604a40e59c |