Skip to content

Commit

Permalink
Merge branch 'master' into brettlangdon/dd.version.logging
Browse files Browse the repository at this point in the history
  • Loading branch information
brettlangdon committed Feb 14, 2020
2 parents 8357e2a + 4653e97 commit 6c44da2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 240 deletions.
13 changes: 6 additions & 7 deletions .circleci/config.yml
Expand Up @@ -749,12 +749,13 @@ jobs:
deploy_dev:
# build the master branch releasing development docs and wheels
docker:
- image: circleci/python:3.6
- image: circleci/python:3.8
resource_class: *resource_class
steps:
- checkout
- run: sudo apt-get -y install rake
- run: sudo pip install mkwheelhouse sphinx awscli
- run: pip install tox mkwheelhouse awscli
- run: tox -e docs
- run: S3_DIR=trace-dev rake release:docs
- run: S3_DIR=trace-dev rake release:wheel

Expand Down Expand Up @@ -794,14 +795,12 @@ jobs:
build_docs:
# deploy official documentation
docker:
- image: circleci/python:3.6
- image: circleci/python:3.8
resource_class: *resource_class
steps:
- checkout
- run: sudo apt-get -y install rake
# Sphinx 1.7.5 is required otherwise docs are not properly built
- run: sudo pip install mkwheelhouse sphinx==1.7.5 wrapt
- run: rake docs
- run: pip install tox
- run: tox -e docs
- run:
command: |
mkdir -p /tmp/docs
Expand Down
8 changes: 0 additions & 8 deletions Rakefile
@@ -1,11 +1,3 @@
desc "build the docs"
task :docs do
sh "pip install sphinx"
Dir.chdir 'docs' do
sh "make html"
end
end

# Deploy tasks
S3_DIR = ENV['S3_DIR']
S3_BUCKET = "pypi.datadoghq.com"
Expand Down
225 changes: 0 additions & 225 deletions docs/Makefile

This file was deleted.

7 changes: 7 additions & 0 deletions tox.ini
Expand Up @@ -514,6 +514,13 @@ deps=
commands=flake8 .
basepython=python3.7

[testenv:docs]
commands_pre=
skip_install=true
deps = sphinx
commands = sphinx-build -b html docs docs/_build/html
basepython = python

# do not use develop mode with celery as running multiple python versions within
# same job will cause problem for tests that use ddtrace-run
[celery_contrib]
Expand Down

0 comments on commit 6c44da2

Please sign in to comment.