Skip to content

Commit 9f692f6

Browse files
committed
Move NAVs doc back into doc.nais.io
1 parent 46a5e23 commit 9f692f6

File tree

4 files changed

+2
-159
lines changed

4 files changed

+2
-159
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ jobs:
5353
bucket: doc.dev-nais.cloud.nais.io
5454
- name: nav
5555
bucket: doc.nav.cloud.nais.io
56+
- name: nav
57+
bucket: docs.nais.io
5658
- name: ssb
5759
bucket: doc.ssb.cloud.nais.io
58-
- name: tenant
59-
bucket: docs.nais.io
6060
steps:
6161
- name: Restore cache folder
6262
uses: actions/cache/restore@v4

docs/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ hide:
1313

1414
# NAIS Documentation
1515

16-
<<if_tenant()>>
17-
1816
<div class="grid cards" markdown>
1917
- :seedling: **Getting Started?**
2018

docs/javascript/tenant_redirect.js

-144
This file was deleted.

main.py

-11
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,3 @@ def tenant():
99
@env.macro
1010
def tenant_url(app: str, path: str = ''):
1111
return f'https://{app}.{tenant()}.cloud.nais.io/{path}'
12-
13-
@env.macro
14-
def if_tenant():
15-
if tenant() == 'tenant':
16-
return '!!! info\n' + \
17-
' This is a generic version of the NAIS documentation available to the public.<br> '+ \
18-
'If you are currently using NAIS, go to the documentation tailored for your organization.<br> '+ \
19-
'https://doc.&lt;org&gt;.cloud.nais.io<br>'+ \
20-
'<button data-action="configure-redirect" class="md-button md-button--primary">Configure automatic redirect</button>'
21-
else:
22-
return ''

0 commit comments

Comments
 (0)