-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fixes to adapt starter-pack to craft-cli
- fix spelling and update custom wordlist - chore: make linkcheck ignore an internal reference - fix various yaml formatting issues - don't run the doc linting workflow twice - chore: disabled autonamedtuple extension: The problem: when running in Python3.8, the autonamedtuple extension (part of sphinx-toolbox) fails to eval newer-style type annotations (like "type[X]" instead of "typing.Type[X]"), even if the Python module that has said code has the correct __future__ annotations. This affects us because the documentation linters on CI run on Ubuntu 20.04, which has Python 3.8 by default. So the quicker fix here is to disable the extension by instead enabling everything else in the toolbox manually.
- Loading branch information
Showing
8 changed files
with
87 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
appname | ||
args | ||
ArgumentParser | ||
backend | ||
cli | ||
CLI's | ||
GlobalArgument | ||
helptexts | ||
logfile | ||
pytest | ||
RecordingEmitter | ||
stderr | ||
stdout | ||
str | ||
Submodules | ||
subprocess | ||
subprocesses | ||
sysargs | ||
TOs | ||
tracebacks | ||
UX |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
matrix: | ||
- name: rST files | ||
aspell: | ||
lang: en | ||
d: en_GB | ||
dictionary: | ||
wordlists: | ||
- .wordlist.txt | ||
- .custom_wordlist.txt | ||
- name: rST files | ||
aspell: | ||
lang: en | ||
d: en_GB | ||
dictionary: | ||
wordlists: | ||
- .wordlist.txt | ||
- .custom_wordlist.txt | ||
output: .sphinx/.wordlist.dic | ||
sources: | ||
- _build/**/*.html | ||
pipeline: | ||
- pyspelling.filters.html: | ||
comments: false | ||
attributes: | ||
- title | ||
- alt | ||
ignores: | ||
- code | ||
- pre | ||
- spellexception | ||
- link | ||
- title | ||
- div.relatedlinks | ||
- strong.command | ||
- div.visually-hidden | ||
- img | ||
- a.p-navigation__link | ||
sources: | ||
- _build/**/*.html|!_build/**/craft_cli/**|!_build/genindex/**|!_build/craft_cli.*/** | ||
pipeline: | ||
- pyspelling.filters.html: | ||
comments: false | ||
attributes: | ||
- title | ||
- alt | ||
ignores: | ||
- code | ||
- pre | ||
- spellexception | ||
- link | ||
- title | ||
- div.relatedlinks | ||
- strong.command | ||
- div.visually-hidden | ||
- img | ||
- a.p-navigation__link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters