Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
Fixed version redirect issues (#1798)
Browse files Browse the repository at this point in the history
* Added 2.0 upgrade instruction (#1769)

* Added 2.0 upgrade instruction

* Addressed PR comment

* Updated broken urls

* Added missing gsuite scope (#1772)

* Update upgrade.md (#1774)

* Added compute engine disk resource (#1779)

* Update CSCC doc (#1778)

* versioned 2.1

* revert branch to stable

* Updated generated configuration files

* update versioning (#1791)

* Added space between comment and function

* Updated app.yaml file

* updates

* updates

* fixed version redirect issues
  • Loading branch information
joecheuk committed Jul 17, 2018
1 parent d194eae commit 9016ba1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/site/layout/docs/tabs.html
Expand Up @@ -50,7 +50,7 @@
possibly, and we do not want the trailing "index.html".
{% endcomment %}
{% assign doc_name = page.path | split:"/" | slice:2,999 | join:"/" %}
{% assign url_name = page.url | split:"/" | slice:3,999 | join:"/" | remove:"/index.html" %}
{% assign url_name = page.url | split:"/" | slice:3,999 | join:"/" | remove:"index.html" %}

{% assign versions = site.data.doc_version_index[doc_name] | unshift:'latest' %}
{% unless versions %}
Expand Down
4 changes: 2 additions & 2 deletions app.yaml
Expand Up @@ -29,6 +29,6 @@ handlers:
secure: always

- url: /(.*)
static_files: www/\1/index.html
upload: www/(.*)/index.html
static_files: www/\1
upload: www/(.*)
secure: always

0 comments on commit 9016ba1

Please sign in to comment.