Skip to content

Commit

Permalink
Redirect renamed 'usage.html'/'client.html' -> 'index.html'. (#5996)
Browse files Browse the repository at this point in the history
Closes #5995.
  • Loading branch information
tseaver committed Sep 17, 2018
1 parent 935f1d7 commit bdadefb
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 0 deletions.
8 changes: 8 additions & 0 deletions datastore/docs/usage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="1; url=./index.html:" />
<script>
window.location.href = "./index.html"
</script>
</head>
</html>
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,13 @@
# See: https://tech.signavio.com/2017/managing-sphinx-redirects
# HTML pages to be copied from source to target
static_html_pages = [
'datastore.usage.html',
'bigquery/usage.html',
'language/usage.html',
'logging/usage.html',
'spanner/usage.html',
'storage/client.html',
'translate/usage.html',
]

def copy_static_html_pages(app, docname):
Expand Down
8 changes: 8 additions & 0 deletions language/docs/usage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="1; url=./index.html:" />
<script>
window.location.href = "./index.html"
</script>
</head>
</html>
8 changes: 8 additions & 0 deletions logging/docs/usage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="1; url=./index.html:" />
<script>
window.location.href = "./index.html"
</script>
</head>
</html>
8 changes: 8 additions & 0 deletions spanner/docs/usage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="1; url=./index.html:" />
<script>
window.location.href = "./index.html"
</script>
</head>
</html>
8 changes: 8 additions & 0 deletions storage/docs/client.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="1; url=./index.html:" />
<script>
window.location.href = "./index.html"
</script>
</head>
</html>
8 changes: 8 additions & 0 deletions translate/docs/usage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="1; url=./index.html:" />
<script>
window.location.href = "./index.html"
</script>
</head>
</html>

0 comments on commit bdadefb

Please sign in to comment.