Skip to content

Commit 0e32720

Browse files
committed
Modernize CircleCI config
1 parent 091def4 commit 0e32720

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.circleci/config.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
1+
---
12
version: 2.1
23

34
orbs:
4-
python: circleci/python@0.2.1
5+
python: circleci/python@1.2.1
56

67
jobs:
78
build_docs:
89
executor: python/default
910
steps:
1011
- checkout
11-
- python/install-deps
12-
- run:
13-
name: install theme
14-
command: python -m pip install --user -ve .
12+
- python/install-packages:
13+
pkg-manager: pip-dist
14+
pip-dependency-file: docs/requirements.txt
1515
- run:
1616
name: Build docs
17-
command: cd docs/ && make html
17+
command: make -C docs html
1818
- persist_to_workspace:
1919
root: docs/_build/html
2020
paths: .
2121
- store_artifacts:
2222
path: docs/_build/html/
2323

24-
2524
workflows:
2625
main:
2726
jobs:

0 commit comments

Comments
 (0)