Skip to content

Commit

Permalink
rename docs url across cli (#1657)
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalmalani authored May 29, 2024
1 parent 6aad882 commit c11669d
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The Astro CLI is a command-line interface for data orchestration. It allows you
- `version` Show the running version of the Astro CLI
- `workspace` Manage Astronomer Workspaces

For a list of available Astro CLI commands, see the [Astro CLI command reference](https://docs.astronomer.io/astro/cli/reference).
For a list of available Astro CLI commands, see the [Astro CLI command reference](https://www.astronomer.io/docs/astro/cli/reference).

## Install the Astro CLI

Expand Down Expand Up @@ -208,7 +208,7 @@ Adding this entry to your `~/.astro/config.yaml` file turns on debugging for all

## Support

To resolve an issue, Astronomer recommends reviewing the [Astronomer documentation](https://docs.astronomer.io/astro/cli/overview) first.
To resolve an issue, Astronomer recommends reviewing the [Astronomer documentation](https://www.astronomer.io/docs/astro/cli/overview) first.

If you're unable to resolve your issue after reviewing the documentation, you can post a question on the [Astronomer web forum](https://forum.astronomer.io) or you can contact [Astronomer support](https://support.astronomer.io).

Expand Down
2 changes: 1 addition & 1 deletion airflow/include/exampledag.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
accordingly each time it runs.
For more explanation and getting started instructions, see our Write your
first DAG tutorial: https://docs.astronomer.io/learn/get-started-with-airflow
first DAG tutorial: https://www.astronomer.io/docs/learn/get-started-with-airflow
![Picture of the ISS](https://www.esa.int/var/esa/storage/images/esa_multimedia/images/2010/02/space_station_over_earth/10293696-3-eng-GB/Space_Station_over_Earth_card_full.jpg)
"""
Expand Down
6 changes: 3 additions & 3 deletions airflow/include/readme
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Project Contents
Your Astro project contains the following files and folders:

- dags: This folder contains the Python files for your Airflow DAGs. By default, this directory includes one example DAG:
- `example_astronauts`: This DAG shows a simple ETL pipeline example that queries the list of astronauts currently in space from the Open Notify API and prints a statement for each astronaut. The DAG uses the TaskFlow API to define tasks in Python, and dynamic task mapping to dynamically print a statement for each astronaut. For more on how this DAG works, see our [Getting started tutorial](https://docs.astronomer.io/learn/get-started-with-airflow).
- `example_astronauts`: This DAG shows a simple ETL pipeline example that queries the list of astronauts currently in space from the Open Notify API and prints a statement for each astronaut. The DAG uses the TaskFlow API to define tasks in Python, and dynamic task mapping to dynamically print a statement for each astronaut. For more on how this DAG works, see our [Getting started tutorial](https://www.astronomer.io/docs/learn/get-started-with-airflow).
- Dockerfile: This file contains a versioned Astro Runtime Docker image that provides a differentiated Airflow experience. If you want to execute other commands or overrides at runtime, specify them here.
- include: This folder contains any additional files that you want to include as part of your project. It is empty by default.
- packages.txt: Install OS-level packages needed for your project by adding them to this file. It is empty by default.
Expand All @@ -31,7 +31,7 @@ This command will spin up 4 Docker containers on your machine, each for a differ

2. Verify that all 4 Docker containers were created by running 'docker ps'.

Note: Running 'astro dev start' will start your project with the Airflow Webserver exposed at port 8080 and Postgres exposed at port 5432. If you already have either of those ports allocated, you can either [stop your existing Docker containers or change the port](https://docs.astronomer.io/astro/test-and-troubleshoot-locally#ports-are-not-available).
Note: Running 'astro dev start' will start your project with the Airflow Webserver exposed at port 8080 and Postgres exposed at port 5432. If you already have either of those ports allocated, you can either [stop your existing Docker containers or change the port](https://www.astronomer.io/docs/astro/cli/troubleshoot-locally#ports-are-not-available-for-my-local-airflow-webserver).

3. Access the Airflow UI for your local Airflow project. To do so, go to http://localhost:8080/ and log in with 'admin' for both your Username and Password.

Expand All @@ -40,7 +40,7 @@ You should also be able to access your Postgres Database at 'localhost:5432/post
Deploy Your Project to Astronomer
=================================

If you have an Astronomer account, pushing code to a Deployment on Astronomer is simple. For deploying instructions, refer to Astronomer documentation: https://docs.astronomer.io/cloud/deploy-code/
If you have an Astronomer account, pushing code to a Deployment on Astronomer is simple. For deploying instructions, refer to Astronomer documentation: https://www.astronomer.io/docs/astro/deploy-code/

Contact
=======
Expand Down
2 changes: 1 addition & 1 deletion airflow/include/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Astro Runtime includes the following pre-installed providers packages: https://docs.astronomer.io/astro/runtime-image-architecture#provider-packages
# Astro Runtime includes the following pre-installed providers packages: https://www.astronomer.io/docs/astro/runtime-image-architecture#provider-packages
2 changes: 1 addition & 1 deletion airflow/include/settingsyml.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file allows you to configure Airflow Connections, Pools, and Variables in a single place for local development only.
# NOTE: json dicts can be added to the conn_extra field as yaml key value pairs. See the example below.

# For more information, refer to our docs: https://docs.astronomer.io/develop-project#configure-airflow_settingsyaml-local-development-only
# For more information, refer to our docs: https://www.astronomer.io/docs/astro/cli/develop-project#configure-airflow_settingsyaml-local-development-only
# For questions, reach out to: https://support.astronomer.io
# For issues create an issue ticket here: https://github.com/astronomer/astro-cli/issues

Expand Down
2 changes: 1 addition & 1 deletion cloud/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ func Login(domain, token string, coreClient astrocore.CoreClient, platformCoreCl
}
// Welcome User
fmt.Print("\nWelcome to the Astro CLI 🚀\n\n")
fmt.Print("To learn more about Astro, go to https://docs.astronomer.io\n\n")
fmt.Print("To learn more about Astro, go to https://astronomer.io/docs\n\n")

c, _ := context.GetCurrentContext()

Expand Down
2 changes: 1 addition & 1 deletion cmd/cloud/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func checkAPIKeys(platformCoreClient astroplatformcore.CoreClient, isDeploymentF
}
if !isDeploymentFile {
fmt.Println("Using an Astro API key")
fmt.Println("\nWarning: Starting June 1st, 2024, Deployment API Keys will stop working. To ensure uninterrupted access to our services, we strongly recommend transitioning to Deployment API tokens. See https://docs.astronomer.io/astro/deployment-api-tokens.")
fmt.Println("\nWarning: Starting June 1st, 2024, Deployment API Keys will stop working. To ensure uninterrupted access to our services, we strongly recommend transitioning to Deployment API tokens. See https://www.astronomer.io/docs/astro/deployment-api-tokens")
}

// get authConfig
Expand Down
2 changes: 1 addition & 1 deletion cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func newConfigRootCmd(out io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "config",
Short: "Manage a project's configurations",
Long: "Manage the project configurations stored at '.astro/config.yaml'. Please see https://docs.astronomer.io/astro/cli/configure-cli#available-cli-configurations for list of available cli configurations",
Long: "Manage the project configurations stored at '.astro/config.yaml'. Please see https://www.astronomer.io/docs/astro/cli/configure-cli#available-cli-configurations for list of available cli configurations",
PersistentPreRunE: ensureGlobalFlag,
}
cmd.PersistentFlags().BoolVarP(&globalFlag, "global", "g", false, "view or modify global config")
Expand Down
4 changes: 2 additions & 2 deletions houston/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ const (
ImageDeploymentType = "image"
DagOnlyDeploymentType = "dag_deploy"

DagDeployDocsLink = "https://docs.astronomer.io/software/deploy-dags/"
DeployViaCLIDocsLink = "https://docs.astronomer.io/software/deploy-cli/"
DagDeployDocsLink = "https://www.astronomer.io/docs/software/deploy-dags/"
DeployViaCLIDocsLink = "https://www.astronomer.io/docs/software/deploy-cli/"
)
4 changes: 2 additions & 2 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ func CompareVersions(client *github.Client, owner, repo string) error {
if runtime.GOOS == "darwin" {
fmt.Fprintf(os.Stderr, "\nA newer version of Astro CLI is available: %s\nPlease update to the latest version using 'brew upgrade astro'\n\n", latestSemver)
} else {
fmt.Fprintf(os.Stderr, "\nA newer version of Astro CLI is available: %s\nPlease see https://docs.astronomer.io/astro/cli/install-cli#upgrade-the-cli for information on how to update the Astro CLI\n\n", latestSemver)
fmt.Fprintf(os.Stderr, "\nA newer version of Astro CLI is available: %s\nPlease see https://www.astronomer.io/docs/astro/cli/install-cli#upgrade-the-astro-cli for information on how to update the Astro CLI\n\n", latestSemver)
}
fmt.Fprint(os.Stderr, ansi.Cyan("\nTo learn more about what's new in this version, please see https://docs.astronomer.io/astro/cli/release-notes\n\n"))
fmt.Fprint(os.Stderr, ansi.Cyan("\nTo learn more about what's new in this version, please see https://www.astronomer.io/docs/astro/cli/release-notes\n\n"))
fmt.Fprintf(os.Stderr, "If you don't want to see this message again run 'astro config set -g upgrade_message false'or pass '2>/dev/null | head' to print this text to stderr\n\n")
}

Expand Down

0 comments on commit c11669d

Please sign in to comment.