Skip to content

Commit

Permalink
Merge pull request #1247 from Avaiga/enterprise_banners
Browse files Browse the repository at this point in the history
Makes enterprise banners consistent
  • Loading branch information
AlexandreSajus authored Dec 31, 2024
2 parents df6c9ea + 43255e1 commit eb4eb3b
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 35 deletions.
6 changes: 4 additions & 2 deletions docs/userman/advanced_features/auth/authentication.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
!!! warning "Available in Taipy Enterprise edition"
!!! note "Available in Taipy Enterprise edition"

This section is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise)

[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' }

Authentication is the process to secure user identity in an application.

Expand Down
6 changes: 4 additions & 2 deletions docs/userman/advanced_features/auth/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
title: Authorization and Roles
---

!!! warning "Available in Taipy Enterprise edition"
!!! note "Available in Taipy Enterprise edition"

This section is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise)

[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' }

Authorization is the process of driving the application logic differently
depending on the user using it: after a user is identified (see
Expand Down
6 changes: 4 additions & 2 deletions docs/userman/advanced_features/auth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ hide:
- toc
---

!!! warning "Available in Taipy Enterprise edition"
!!! note "Available in Taipy Enterprise edition"

This chapter is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise)

[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' }

The Enterprise edition of Taipy has additional features that let applications
authenticate users and behave differently depending on the identity of the
Expand Down
6 changes: 4 additions & 2 deletions docs/userman/advanced_features/configuration/job-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ simultaneously:

# Cluster mode

!!! warning "Available in Taipy Enterprise edition"
!!! note "Available in Taipy Enterprise edition"

This section is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise)

[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' }

The *cluster* mode is designed to make Taipy applications execute jobs on a remote
cluster of distributed workers. The number of machines available in the cluster is
Expand Down
6 changes: 4 additions & 2 deletions docs/userman/advanced_features/scheduling/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Scheduler

!!! warning "Available in Taipy Enterprise edition"
!!! note "Available in Taipy Enterprise edition"

This section is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise)

[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' }

This documentation focuses on providing necessary information to use the
Taipy `Scheduler^`, and in particular the capabilities related to scenario
Expand Down
6 changes: 4 additions & 2 deletions docs/userman/advanced_features/versioning/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ a Taipy application.
environment with existing entities created in previous runs. For more information, please refer to
[production mode](production_mode.md).

!!! warning "Available in Taipy Enterprise edition"
!!! note "Available in Taipy Enterprise edition"

The production mode is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise)

[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' }

## Versions

Expand Down
6 changes: 4 additions & 2 deletions docs/userman/advanced_features/versioning/production_mode.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
!!! warning "Available in Taipy Enterprise edition"
!!! note "Available in Taipy Enterprise edition"

This section is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise)

[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' }

When running a Taipy application in *--production* mode, Taipy can access all entities
attached to the current version or another *production* version. It corresponds to the case where
Expand Down
6 changes: 4 additions & 2 deletions docs/userman/ecosystem/cli/manage-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ Below is the list of all the optional arguments:
- *--delete-production VERSION* or *-dp VERSION*: Converts the provided production version
to an experiment version.

!!! warning "Available in Taipy Enterprise edition"
!!! note "Available in Taipy Enterprise edition"

The *--delete-production* option is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise)

[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' }

## List capabilities with the --help option

Expand Down
6 changes: 4 additions & 2 deletions docs/userman/scenario_features/sdm/scenario/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,11 @@ if you add a tag that is not authorized, an exception will be raised.

# Import/Export Scenarios

!!! warning "Available in Taipy Enterprise edition"
!!! note "Available in Taipy Enterprise edition"

This section is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise)

[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' }

## Export a scenario

Expand Down
40 changes: 23 additions & 17 deletions tools/_setup_generation/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
class Setup(ABC):
ROOT_PACKAGE = "taipy"

ENTERPRISE_BANNER = """!!! warning "Available in Taipy Enterprise edition"
ENTERPRISE_BANNER = """!!! note "Available in Taipy Enterprise edition"
This section is relevant only to the Enterprise edition of Taipy.
This section is relevant only to the [Taipy Enterprise Edition](https://taipy.io/enterprise).
"""

Expand Down Expand Up @@ -145,21 +145,27 @@ def run_setup(root_dir: str, steps: List[SetupStep] = None):
GuiExtRefManStep(),
MuiIconsStep(),
ContributorsStep(),
FileInjectionStep("installation",
"Generating the installation page.",
"[INSTALLATION]",
os.path.join("taipy-doc-files", "INSTALLATION.md"),
os.path.join("tutorials", "getting_started", "installation.md")),
FileInjectionStep("code_of_conduct",
"Generating the code of conduct page.",
"[CODE_OF_CONDUCT]",
os.path.join("taipy-doc-files", "CODE_OF_CONDUCT.md"),
os.path.join("contributing", "code_of_conduct.md")),
FileInjectionStep("contributing",
"Generating the contributing page.",
"[CONTRIBUTING]",
os.path.join("taipy-doc-files", "CONTRIBUTING.md"),
os.path.join("contributing", "index.md")),
FileInjectionStep(
"installation",
"Generating the installation page.",
"[INSTALLATION]",
os.path.join("taipy-doc-files", "INSTALLATION.md"),
os.path.join("tutorials", "getting_started", "installation.md"),
),
FileInjectionStep(
"code_of_conduct",
"Generating the code of conduct page.",
"[CODE_OF_CONDUCT]",
os.path.join("taipy-doc-files", "CODE_OF_CONDUCT.md"),
os.path.join("contributing", "code_of_conduct.md"),
),
FileInjectionStep(
"contributing",
"Generating the contributing page.",
"[CONTRIBUTING]",
os.path.join("taipy-doc-files", "CONTRIBUTING.md"),
os.path.join("contributing", "index.md"),
),
DesignerStep(),
]
setup = Setup(root_dir, steps)
Expand Down

0 comments on commit eb4eb3b

Please sign in to comment.