-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:readthedocs/sphinx_rtd_theme into…
… HEAD
- Loading branch information
Showing
64 changed files
with
2,173 additions
and
610 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
node: circleci/[email protected] | ||
|
||
commands: | ||
run-tox: | ||
description: "Run tox" | ||
|
@@ -8,13 +11,35 @@ commands: | |
type: string | ||
sphinx-version: | ||
type: string | ||
default: "16,17,18,20,21,22,23,24,30,31,32,33,34,latest" | ||
default: "16,17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,latest" | ||
steps: | ||
- checkout | ||
- run: pip install --user tox | ||
- run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}" | ||
run-build: | ||
description: "Ensure built assets are up to date" | ||
steps: | ||
- checkout | ||
- node/install: | ||
node-version: '14.20' | ||
- run: npm ci | ||
- run: npm run build | ||
- run: | ||
name: Ensure built assets are up to date | ||
command: | | ||
if [[ `git status sphinx_rtd_theme/ --porcelain` ]] | ||
then | ||
echo "ERROR: assets are out of date. Make sure to run 'npm run build' on your branch." | ||
git status sphinx_rtd_theme/ --porcelain | ||
exit 1 | ||
fi | ||
jobs: | ||
build: | ||
docker: | ||
- image: 'cimg/python:3.9-node' | ||
steps: | ||
- run-build: {} | ||
py27: | ||
docker: | ||
- image: 'cimg/python:2.7' | ||
|
@@ -50,8 +75,19 @@ workflows: | |
version: 2 | ||
tests: | ||
jobs: | ||
- py39 | ||
- py38 | ||
- py37 | ||
- py36 | ||
- py27 | ||
- build | ||
- py39: | ||
requires: | ||
- build | ||
- py38: | ||
requires: | ||
- build | ||
- py37: | ||
requires: | ||
- build | ||
- py36: | ||
requires: | ||
- build | ||
- py27: | ||
requires: | ||
- build |
Validating CODEOWNERS rules …
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 @@ | ||
* @readthedocs/theme |
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
Oops, something went wrong.