Repository: Avaiga/taipy
File: taipy/config/config.py (Python)

Code before:

        - `configure_data_node`: Configure a data node adding and returning a `DataNodeConfig^`.
        - `configure_task`: Configure a task adding and returning a `TaskConfig^`.
        - `configure_scenario`: Configure a scenario adding and returning a `ScenarioConfig^`.
        - `load`: Load a TOML configuration file. (This overrides the Python configuration)
        - more...

        !!! example "Most frequently used configuration methods"

            ```python
            from taipy import Config

            def by_two(x: int):
                return x * 2

            input_cfg = Config.configure_data_node("my_input")
            result_cfg = Config.configure_data_node("my_result")
            task_cfg = Config.configure_task("my_double", function=by_two, input=input_cfg, output=result_cfg)
            scenario_cfg = Config.configure_scenario("my_scenario", task_configs=[task_cfg])

            Config.load("config.toml") # Load a configuration file
            ```

        !!! example "Advance use case"

            The configuration can be done through 3 ways: Python code, configuration files, or
            environment variables. Each method of configuration is merged (overriding previous
            way) to create a final applied configuration. Please refer to the
            [advanced configuration](../../userman/advanced_features/configuration/advanced-config.md)
            section from the user manual for more details.

    2. Attributes and methods to retrieve the configuration values.

        Once the configuration is done, you can retrieve the configuration values using the exposed
        attributes.

        !!! Example "Retrieve configuration values"

            ```python
            from taipy import Config

            global_cfg = Config.global_config  # Retrieve the global application configuration
            data_node_cfgs = Config.data_nodes  # Retrieve all data node configurations
            scenario_cfgs = Config.scenarios  # Retrieve all scenario configurations
        ```

    3. A few methods to manage the configuration:

        The Config class also provides a few methods to manage the configuration. For example,
        you can:


Review comment (suggestion):
```suggestion
            The configuration can be done in three ways: Python code, configuration files, or
```

Code after:

        - `configure_data_node()^`: Configure a data node adding and returning a `DataNodeConfig^`.
        - `configure_task()^`: Configure a task adding and returning a `TaskConfig^`.
        - `configure_scenario()^`: Configure a scenario adding and returning a `ScenarioConfig^`.
        - `load()^`: Load a TOML configuration file. (This overrides the Python configuration)
        - more...

        !!! example "Most frequently used configuration methods"

            ```python
            from taipy import Config

            def by_two(x: int):
                return x * 2

            input_cfg = Config.configure_data_node("my_input")
            result_cfg = Config.configure_data_node("my_result")
            task_cfg = Config.configure_task("my_double", function=by_two, input=input_cfg, output=result_cfg)
            scenario_cfg = Config.configure_scenario("my_scenario", task_configs=[task_cfg])

            Config.load("config.toml") # Load a configuration file
            ```

        !!! example "Advanced use case"

            The configuration can be done in three ways: Python code, configuration files, or
            environment variables. All configuration manners are ultimately merged (overriding the previous way
            way) to create a final applied configuration. Please refer to the
            [advanced configuration](../../userman/advanced_features/configuration/advanced-config.md)
            section from the user manual for more details.

    2. Attributes and methods to retrieve the configuration values.

        Once the configuration is done, you can retrieve the configuration values using the exposed
        attributes.

        !!! Example "Retrieve configuration values"

            ```python
            from taipy import Config

            global_cfg = Config.global_config  # Retrieve the global application configuration
            data_node_cfgs = Config.data_nodes  # Retrieve all data node configurations
            scenario_cfgs = Config.scenarios  # Retrieve all scenario configurations
        ```

    3. A few methods to manage the configuration:

        The Config class also provides a few methods to manage the configuration. For example,
        you can: