Skip to content

Commit

Permalink
Archive Gateway documentation before 2.x (#3892)
Browse files Browse the repository at this point in the history
* move everything before 2.0 into an archive directory
* set archive version to 2.0; link to archive netlify site
* add missing menu entry for enterprise dropdown
* update enterprise version
* Fix version switcher smoke tests

Co-authored-by: Michael Heap <m@michaelheap.com>
  • Loading branch information
2 people authored and Guaris committed Aug 17, 2022
1 parent dc1f553 commit 936a912
Show file tree
Hide file tree
Showing 1,193 changed files with 12 additions and 197 deletions.
185 changes: 0 additions & 185 deletions app/_data/kong_versions.yml
Original file line number Diff line number Diff line change
@@ -1,94 +1,5 @@
-
# Old OSS Gateway docs
release: "0.13.x"
version: "0.13.1"
edition: "gateway-oss"
luarocks_version: "0.13.1-0"
dependencies:
luajit: "2.1.0-beta2"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.11.2.5"
lua_doc: true
-
release: "0.14.x"
version: "0.14.1"
edition: "gateway-oss"
luarocks_version: "0.14.1-0"
dependencies:
luajit: "2.1.0-beta3"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.13.6.2"
-
release: "1.0.x"
version: "1.0.3"
edition: "gateway-oss"
luarocks_version: "1.0.3-0"
dependencies:
luajit: "2.1.0-beta3"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.13.6.2"
-
release: "1.1.x"
version: "1.1.3"
edition: "gateway-oss"
luarocks_version: "1.1.3-0"
dependencies:
luajit: "2.1.0-beta3"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.13.6.2"
-
release: "1.2.x"
version: "1.2.3"
edition: "gateway-oss"
luarocks_version: "1.2.3-0"
dependencies:
luajit: "2.1.0-beta3"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.13.6.2"
-
release: "1.3.x"
version: "1.3.1"
edition: "gateway-oss"
luarocks_version: "1.3.1-0"
dependencies:
luajit: "2.1.0-beta3"
luarocks: "3.1.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.15.8.1"
-
release: "1.4.x"
version: "1.4.3"
edition: "gateway-oss"
luarocks_version: "1.4.3-0"
dependencies:
luajit: "2.1.0-beta3"
luarocks: "3.1.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.15.8.1"
-
release: "1.5.x"
version: "1.5.1"
edition: "gateway-oss"
luarocks_version: "1.5.1-0"
dependencies:
luajit: "2.1.0-beta3"
luarocks: "3.2.1"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.15.8.2"
-
release: "2.0.x"
version: "2.0.5"
edition: "gateway-oss"
Expand Down Expand Up @@ -171,102 +82,6 @@
pcre: "8.44"
-
# Old Enterprise Gateway docs
release: "0.31-x"
version: "0.31"
edition: "enterprise"
luarocks_version: "0.31.x"
dependencies:
luajit: "2.1.0-beta2"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.11.2.5"
lua_doc: true
-
release: "0.32-x"
version: "0.32"
edition: "enterprise"
luarocks_version: "0.32.x"
dependencies:
luajit: "2.1.0-beta2"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.11.2.5"
lua_doc: true
-
release: "0.33-x"
version: "0.33"
edition: "enterprise"
luarocks_version: "0.33.x"
dependencies:
luajit: "2.1.0-beta2"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.11.2.5"
lua_doc: true
-
release: "0.34-x"
version: "0.34"
edition: "enterprise"
luarocks_version: "0.34.x"
dependencies:
luajit: "2.1.0-beta2"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.13.6.2"
lua_doc: true
-
release: "0.35-x"
version: "0.35"
edition: "enterprise"
luarocks_version: "0.34.x"
dependencies:
luajit: "2.1.0-beta2"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.13.6.2"
lua_doc: true
-
release: "0.36-x"
version: "0.36"
edition: "enterprise"
luarocks_version: "0.34.x"
dependencies:
luajit: "2.1.0-beta2"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.13.6.2"
lua_doc: true
-
release: "1.3-x"
version: "1.3"
edition: "enterprise"
luarocks_version: "0.34.x"
dependencies:
luajit: "2.1.0-beta2"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.13.6.2"
lua_doc: true
-
release: "1.5.x"
version: "1.5.0.11"
edition: "enterprise"
luarocks_version: "0.34.x"
dependencies:
luajit: "2.1.0-beta2"
luarocks: "2.4.3"
cassandra: "3.x.x"
postgres: "9.5+"
openresty: "1.13.6.2"
lua_doc: true
-
release: "2.1.x"
version: "2.1.4.6"
edition: "enterprise"
Expand Down
10 changes: 5 additions & 5 deletions app/_includes/docs-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,20 @@
{% if include.edition == 'gateway' %}
<li role="menuitem" tabindex="-1">
<a href="/enterprise/2.5.x/">
Older Enterprise versions (0.31-2.5)
Older Enterprise versions (2.1-2.5)
</a>
</li>
<li role="menuitem" tabindex="-1">
<a href="/gateway-oss/2.5.x/">
Older OSS versions (0.13-2.5)
Older OSS versions (2.0-2.5)
</a>
</li>
{% endif %}

{% if include.edition == 'gateway-oss' or include.edition == 'gateway' %}
{% if include.edition == 'gateway-oss' or include.edition == 'gateway' or include.edition == 'enterprise' %}
<li role="menuitem" tabindex="-1">
<a href="https://github.com/Kong/docs.konghq.com/tree/main/archive/gateway-oss/">
Archive (pre-0.13)
<a href="https://legacy-gateway--kongdocs.netlify.app/">
Archive (pre-2.0)
</a>
</li>
{% endif %}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 936a912

Please sign in to comment.