Skip to content

Commit c8e48dc

Browse files
authored
Documentation build fixes (#3527)
1 parent 28aeca9 commit c8e48dc

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.travis.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,18 @@ jobs:
153153
- nbsite build --what=html --output=builtdocs
154154
after_success:
155155
- pip install awscli
156-
- aws s3 sync ./ s3://holoviews-doc-builds/$TRAVIS_BUILD_NUMBER --exclude ".git/*"
156+
- aws s3 sync ./ s3://holoviews-doc-builds/$TRAVIS_BUILD_NUMBER --exclude=".git/*" --exclude="doc/nbpublisher/*"
157157

158158
- &gallery_build
159159
<<: *doc_build
160160
stage: gallery_dev
161-
env: DESC="gallery" CHANS_DEV="-c pyviz/label/dev" HV_DOC_HTML='true' HV_DOC_GALLERY='true' HV_REQUIREMENTS="doc" BUCKET="dev."
161+
env: DESC="gallery" CHANS_DEV="-c pyviz/label/dev" HV_DOC_HTML='true' HV_REQUIREMENTS="doc" BUCKET="dev."
162162
script:
163163
- bokeh sampledata
164164
- pip install awscli
165165
- conda install -c conda-forge mpl_sample_data --no-deps
166166
- aws s3 sync s3://holoviews-doc-builds/$TRAVIS_BUILD_NUMBER ./
167+
- git reset --hard --recurse-submodule
167168
- nbsite build --what=html --output=builtdocs
168169
after_success:
169170
- aws s3 sync ./builtdocs s3://${BUCKET}holoviews.org/
@@ -181,7 +182,9 @@ jobs:
181182

182183
- <<: *gallery_build
183184
stage: gallery
184-
env: DESC="gallery" CHANS_DEV="-c pyviz/label/dev" HV_DOC_HTML='true' HV_DOC_GALLERY='true' HV_REQUIREMENTS="doc" BUCKET=""
185+
env: DESC="gallery" CHANS_DEV="-c pyviz/label/dev" HV_DOC_HTML='true' HV_REQUIREMENTS="doc"
186+
after_success:
187+
- aws s3 sync ./builtdocs s3://holoviews.org/
185188

186189
########## END-USER PACKAGES ##########
187190

@@ -211,7 +214,7 @@ jobs:
211214
stage: pip_dev_package
212215
env: PYPI="https://test.pypi.org/legacy/" TRAVIS_NOCACHE=$TRAVIS_JOB_ID
213216
install:
214-
- doit develop_install $CHANS_DEV -o unit_tests && pip uninstall -y holoviews
217+
- doit travis_wait 20 develop_install $CHANS_DEV -o unit_tests && pip uninstall -y holoviews
215218
- doit pip_on_conda
216219
- doit ecosystem=pip package_build
217220
script: doit ecosystem=pip package_upload -u $TPPU -p $TPPP -r ${PYPI}
@@ -220,7 +223,7 @@ jobs:
220223
stage: pip_package
221224
env: PYPI="https://upload.pypi.org/legacy/" TRAVIS_NOCACHE=$TRAVIS_JOB_ID
222225
install:
223-
- doit develop_install $CHANS_DEV -o unit_tests && pip uninstall -y holoviews
226+
- doit travis_wait 20 develop_install $CHANS_DEV -o unit_tests && pip uninstall -y holoviews
224227
- doit pip_on_conda
225228
- doit ecosystem=pip package_build
226229
script: doit ecosystem=pip package_upload -u $PPU -p $PPP -r ${PYPI}

doc/conf.py

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
import holoviews
1212
version = release = holoviews.__version__
13-
if 'dirty' in version and 'post' not in version:
14-
version = version[:-15] # Drop the commit hash and dirty string
1513

1614
html_theme = 'sphinx_ioam_theme'
1715
html_static_path += ['_static']

0 commit comments

Comments
 (0)