Skip to content

Commit f0de468

Browse files
committed
add docs about new project env vars
1 parent 23bee35 commit f0de468

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

i18n/en-US/articles/context-project.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ The `disallow` key will be used to generate the **robots.txt** and should be set
1919

2020
`project` keys are frozen after the [application startup](/application-startup).
2121

22-
The following keys are available in the object:
22+
The following keys are available in the object and supported as environment variables as follows:
2323

24-
- **domain**: `string`
25-
- **name**: `string`
26-
- **shortName**: `string`
27-
- **color**: `string`
24+
- **domain**: `string` (`NULLSTACK_PROJECT_DOMAIN`)
25+
- **name**: `string` (`NULLSTACK_PROJECT_NAME`)
26+
- **shortName**: `string` (`NULLSTACK_PROJECT_SHORT_NAME`)
27+
- **color**: `string` (`NULLSTACK_PROJECT_COLOR`)
2828
- **backgroundColor**: `string`
2929
- **type**: `string`
3030
- **display**: `string`
@@ -35,6 +35,8 @@ The following keys are available in the object:
3535
- **favicon**: `string` (relative or absolute url)
3636
- **disallow**: `string array` (relative paths)
3737
- **sitemap**: `boolean` or `string` (relative or absolute url)
38+
- **cdn**: `string` (`NULLSTACK_PROJECT_CDN`)
39+
- **protocol**: `string` (`NULLSTACK_PROJECT_PROTOCOL`)
3840

3941
Besides `domain`, `name` and `color` all other keys have sensible defaults generated based on the application scope.
4042

i18n/pt-BR/articles/contexto-project.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ A chave `disallow` será usada para gerar o **robots.txt** e deverá ser definid
1919

2020
As chaves de `project` serão congeladas após a [inicialização da aplicação](/pt-br/inicializacao-da-aplicacao).
2121

22-
As chaves a seguir estão disponíveis no objeto:
22+
As chaves a seguir estão disponíveis no objeto e são suportadas como variáveis de ambiente da seguinte maneira:
2323

24-
- **domain**: `string`
25-
- **name**: `string`
26-
- **shortName**: `string`
27-
- **color**: `string`
24+
- **domain**: `string` (`NULLSTACK_PROJECT_DOMAIN`)
25+
- **name**: `string` (`NULLSTACK_PROJECT_NAME`)
26+
- **shortName**: `string` (`NULLSTACK_PROJECT_SHORT_NAME`)
27+
- **color**: `string` (`NULLSTACK_PROJECT_COLOR`)
2828
- **backgroundColor**: `string`
2929
- **type**: `string`
3030
- **display**: `string`
@@ -35,6 +35,8 @@ As chaves a seguir estão disponíveis no objeto:
3535
- **favicon**: `string` (url relativo ou absoluto)
3636
- **disallow**: `array` de `string` (caminhos relativos)
3737
- **sitemap**: `boolean` ou `string` (url relativo ou absoluto)
38+
- **cdn**: `string` (`NULLSTACK_PROJECT_CDN`)
39+
- **protocol**: `string` (`NULLSTACK_PROJECT_PROTOCOL`)
3840

3941
Além de `domain`, `name` and `color` todas as outras chaves tem padrões sensíveis gerados com base no escopo do aplicativo.
4042

0 commit comments

Comments
 (0)