Audit your Tutorial
With LearnPack you can audit your repository checking for possible errors on it.
You have to run the command learnpack audit to audit your tutorial. This command will check for the following information:
- The configuration object has
slug
, repository
and description
. (Error)
- The repository shouldn't have user or session information. (Error)
- Empty or missing
README
, markdown, or tests files. (Error)
- Scanning the text for
404
or missing links. (Error)
- Valid image url (Relative or absolute). (Error)
- The exercise directory names are valid. (Error)
- The exercises array (Of the config file) doesn’t have content. (Error)
- Inconsistent translations. (Warning)
- The .gitignore file doesn’t exist. (Warning)
- If there is a file within the exercises folder but not inside of any particular exercise folder. (Warning)