Skip to content

Commit

Permalink
Fixed broken links (#3232)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5dfb09e)
  • Loading branch information
htahir1 authored Dec 2, 2024
1 parent fbbfc29 commit 766fb69
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions src/zenml/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,7 @@ def my_pipeline(...):
------------------
ZenML offers a way to [securely store secrets associated with your other
stack components and infrastructure](https://docs.zenml.io/getting-started/deploying-zenml/manage-the-deployed-services/secret-management).
stack components and infrastructure](https://docs.zenml.io/getting-started/deploying-zenml/secret-management).
A ZenML Secret is a collection or grouping of key-value pairs stored by the
ZenML secrets store. ZenML Secrets are identified by a unique name which
allows you to fetch or reference them in your pipelines and stacks.
Expand Down Expand Up @@ -2083,7 +2083,7 @@ def my_pipeline(...):
resources. In ZenML, Service Connectors streamline this process by abstracting
away the complexity of authentication and help you connect your stack to your
resources. You can find the full docs on the ZenML service connectors
[here](https://docs.zenml.io/how-to/auth-management).
[here](https://docs.zenml.io/how-to/infrastructure-deployment/auth-management).
The ZenML CLI features a variety of commands to help you manage your service
connectors. First of all, to explore all the types of service connectors
Expand Down Expand Up @@ -2113,7 +2113,7 @@ def my_pipeline(...):
```
For more details on how to create a service connector, please refer to our
[docs](https://docs.zenml.io/how-to/auth-management).
[docs](https://docs.zenml.io/how-to/infrastructure-deployment/auth-management).
To check if your service connector is registered properly, you can `verify` it.
By doing this, you can both check if it is configured correctly and also, you
Expand Down Expand Up @@ -2367,7 +2367,7 @@ def my_pipeline(...):
of the full path to the file, separated by dots, e.g.
`some_directory.some_file.my_pipeline`.
To [build Docker images for your pipeline](https://docs.zenml.io/how-to/customize-docker-builds)
To [build Docker images for your pipeline](https://docs.zenml.io/how-to/infrastructure-deployment/customize-docker-builds)
without actually running the pipeline, use:
```bash
Expand Down
2 changes: 1 addition & 1 deletion src/zenml/cli/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def init(
f"will only take effect when you're running ZenML from the initialized "
f"repository root, or from a subdirectory. For more information on "
f"repositories and configurations, please visit "
f"https://docs.zenml.io/user-guide/starter-guide/understand-stacks."
f"https://docs.zenml.io/user-guide/production-guide/understand-stacks."
)


Expand Down
2 changes: 1 addition & 1 deletion src/zenml/config/secret_reference_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(
"but future versions of ZenML will require you to pass "
"in sensitive information as secrets. Check out the "
"documentation on how to configure values with secrets "
"here: https://docs.zenml.io/getting-started/deploying-zenml/manage-the-deployed-services/secret-management"
"here: https://docs.zenml.io/getting-started/deploying-zenml/secret-management"
)
continue

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def _configure_container_resources(
"set or set to 0. The accelerator type will be ignored. "
"To fix this warning, either remove the specified "
"accelerator type or set the `gpu_count` using the "
"ResourceSettings (https://docs.zenml.io/how-to/training-with-gpus#specify-resource-requirements-for-steps)."
"ResourceSettings (https://docs.zenml.io/how-to/advanced-topics/training-with-gpus)."
)

return dynamic_component
Expand Down
2 changes: 1 addition & 1 deletion src/zenml/orchestrators/base_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def _deprecations(cls, data: Dict[str, Any]) -> Dict[str, Any]:
"The 'custom_docker_base_image_name' field has been "
"deprecated. To use a custom base container image with your "
"orchestrators, please use the DockerSettings in your "
"pipeline (see https://docs.zenml.io/how-to/customize-docker-builds)."
"pipeline (see https://docs.zenml.io/how-to/infrastructure-deployment/customize-docker-builds)."
)

return data
Expand Down
6 changes: 3 additions & 3 deletions src/zenml/service_connectors/service_connector_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ def _raise_specific_cloud_exception_if_needed(
container_registries: List[ResourcesInfo],
) -> None:
AWS_DOCS = (
"https://docs.zenml.io/how-to/auth-management/aws-service-connector"
"https://docs.zenml.io/how-to/infrastructure-deployment/auth-management/aws-service-connector"
)
GCP_DOCS = (
"https://docs.zenml.io/how-to/auth-management/gcp-service-connector"
"https://docs.zenml.io/how-to/infrastructure-deployment/auth-management/gcp-service-connector"
)
AZURE_DOCS = (
"https://docs.zenml.io/how-to/auth-management/azure-service-connector"
"https://docs.zenml.io/how-to/infrastructure-deployment/auth-management/azure-service-connector"
)

if not artifact_stores:
Expand Down
2 changes: 1 addition & 1 deletion src/zenml/stack/stack_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __init__(
"in sensitive information as secrets. Check out the "
"documentation on how to configure your stack "
"components with secrets here: "
"https://docs.zenml.io/getting-started/deploying-zenml/manage-the-deployed-services/secret-management"
"https://docs.zenml.io/getting-started/deploying-zenml/secret-management"
)
continue

Expand Down
2 changes: 1 addition & 1 deletion src/zenml/zen_stores/rest_zen_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -4062,7 +4062,7 @@ def get_or_generate_api_token(self) -> str:
"you should use a service account API key to authenticate to "
"the server instead of temporary CLI login credentials. For "
"more information, see "
"https://docs.zenml.io/how-to/connecting-to-zenml/connect-with-a-service-account"
"https://docs.zenml.io/how-to/project-setup-and-management/connecting-to-zenml/connect-with-a-service-account"
)

if api_key is not None:
Expand Down

0 comments on commit 766fb69

Please sign in to comment.