mirror of
https://github.com/vale981/sphinx-multiversion
synced 2025-03-04 17:11:39 -05:00
.travis.yml: Add redirect for GitHub Pages to deployment
This commit is contained in:
parent
235c84d5b2
commit
2147202940
2 changed files with 12 additions and 0 deletions
|
@ -18,6 +18,9 @@ script:
|
|||
- python setup.py build sdist bdist_wheel
|
||||
|
||||
# Deployment
|
||||
before_deploy:
|
||||
- touch html/.nojekyll
|
||||
- cp assets/gh-pages-redirect.html html/index.html
|
||||
deploy:
|
||||
# Deploy documentation
|
||||
- provider: pages
|
||||
|
|
9
assets/gh-pages-redirect.html
Normal file
9
assets/gh-pages-redirect.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Redirecting to https://holzhaus.github.io/sphinx-multiversion/master/</title>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="refresh" content="0; URL=https://holzhaus.github.io/sphinx-multiversion/master/">
|
||||
<link rel="canonical" href="https://holzhaus.github.io/sphinx-multiversion/master/">
|
||||
</head>
|
||||
</html>
|
Loading…
Add table
Reference in a new issue