doc8 linter for frc-docs
Project description
ohnoyoudidnt
ohnoyoudidnt is a doc8 sphinx linter intended for use by frc-docs. Its an expansion to the normal doc8 linter with custom checks intended to follow the frc-docs styleguide
Project created by TheTripleV
Usage
Manual
- Ensure doc8 is installed.
- Install ohnoyoudidnt
python -m pip install ohnoyoudidnt
- Run the linter using
doc8
VS Code
- Follow instructions 1 and 2 from above
- Install the
reStructuredText
VS Code extension - Add
"restructuredtext.linter.name": "doc8",
"restructuredtext.linter.extraArgs": [
"--ignore D001",
"--ignore D004",
"--ignore D002",
"--ignore WUMBO002"
],
to your settings.json
file.
Contribution Guidelines
Checks
- Checks can never yield a line number < 1
- Checks must compile regex patterns once per import, not once per file
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
ohnoyoudidnt-0.1.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for ohnoyoudidnt-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951d322d47b29fe3634003b056059172cdcfc635ab88eb1f1a7ea13822c78a74 |
|
MD5 | 46e7f7dc6693df86db719ca250373875 |
|
BLAKE2b-256 | 92d81b84349297a73b9d92a0ecb2b7d4b9d52e82af62bb76a31886907b6407de |