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.5.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for dw_content_tools-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b51370339cf83e2d029cb8be9e46ea527e35da77686c5ab51e0ae671e7de50f |
|
MD5 | 0e4ee44e663b21b2ced3dc2eea93dfce |
|
BLAKE2b-256 | fb8410c9b402ab58220c27adfad70bc14aea53aa11e91e5628a434a1b114e1d7 |