Skip to content

Commit

Permalink
Merge pull request #214 from NREL/read_the_docs
Browse files Browse the repository at this point in the history
adding read the docs config
  • Loading branch information
nmerket committed Mar 23, 2021
2 parents eceeff6 + 8961c4d commit 4048967
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .circleci/config.yml
Expand Up @@ -45,38 +45,9 @@ jobs:
- store_artifacts:
path: /tmp/docs
destination: docs
docs-deploy:
docker:
- image: node
steps:
- checkout
- attach_workspace:
at: /tmp
- run:
name: Disable jekyll builds
command: touch /tmp/docs/.nojekyll
- run:
name: Install and configure dependencies
command: |
npm install -g --silent gh-pages@3.0.0
git config user.email "noel.merket@nrel.gov"
git config user.name "Noel Merket CI Bot"
- add_ssh_keys:
fingerprints:
- "78:38:f3:2e:94:a6:20:46:3e:40:ee:31:3d:1e:95:09"
- run:
name: Deploy docs to gh-pages branch
command: gh-pages --dotfiles --message "[skip ci] update api docs" --dist /tmp/docs

workflows:
version: 2
build-test-deploy:
jobs:
- build
- docs-deploy:
requires:
- build
filters:
branches:
only: develop

12 changes: 12 additions & 0 deletions .readthedocs.yml
@@ -0,0 +1,12 @@
version: 2

sphinx:
configuration: docs/conf.py

python:
version: 3.8
install:
- method: pip
path: .
extra_requirements:
- dev

0 comments on commit 4048967

Please sign in to comment.