diff --git a/.circleci/config.yml b/.circleci/config.yml index d14e1d89..f01d04b4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 - diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 00000000..6582a71a --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,12 @@ +version: 2 + +sphinx: + configuration: docs/conf.py + +python: + version: 3.8 + install: + - method: pip + path: . + extra_requirements: + - dev \ No newline at end of file