Skip to content

Commit

Permalink
Fix wpt build-docs
Browse files Browse the repository at this point in the history
1. Mark the command as py3only (since #26574).
2. Skip .tox, and fix other exclude patterns.
  • Loading branch information
Hexcles committed Dec 15, 2020
1 parent 6e0e1a0 commit 7de4b4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"path": "frontend.py",
"script": "build",
"help": "Build documentation",
"py3only": true,
"virtualenv": true,
"requirements": [
"./requirements.txt"
Expand Down
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = [
'**/.tox',
'**/.DS_Store',
'**/Thumbs.db',
'_build',
'Thumbs.db',
'.DS_Store'
]

from docs.wpt_lint_rules import WPTLintRules
Expand Down

0 comments on commit 7de4b4c

Please sign in to comment.