Просмотр исходного кода

update all docs links to use proper url

Alexander Belanger 4 лет назад
Родитель
Сommit
c0fb09bcc8

+ 2 - 2
dashboard/src/components/repo-selector/ContentsList.tsx

@@ -431,7 +431,7 @@ export default class ContentsList extends Component<PropsType, StateType> {
             <p>
             <p>
               <b>{this.state.autoBuildpack.name}</b> buildpack was{" "}
               <b>{this.state.autoBuildpack.name}</b> buildpack was{" "}
               <a
               <a
-                href="https://porter-docs-demo-22fd462fef4dcd45.onporter.run/deploying-applications/deploying-from-github/selecting-application-and-build-method#customizing-buildpacks"
+                href="https://docs.porter.run/deploying-applications/deploying-from-github/selecting-application-and-build-method#customizing-buildpacks"
                 target="_blank"
                 target="_blank"
               >
               >
                 detected automatically
                 detected automatically
@@ -446,7 +446,7 @@ export default class ContentsList extends Component<PropsType, StateType> {
           <FlexWrapper>
           <FlexWrapper>
             <UseButton onClick={this.handleContinue}>Continue</UseButton>
             <UseButton onClick={this.handleContinue}>Continue</UseButton>
             <StatusWrapper
             <StatusWrapper
-              href="https://porter-docs-demo-22fd462fef4dcd45.onporter.run/deploying-applications/deploying-from-github/selecting-application-and-build-method#customizing-buildpacks"
+              href="https://docs.porter.run/deploying-applications/deploying-from-github/selecting-application-and-build-method#customizing-buildpacks"
               target="_blank"
               target="_blank"
             >
             >
               <i className="material-icons">help_outline</i>
               <i className="material-icons">help_outline</i>

+ 1 - 1
dashboard/src/main/home/launch/Launch.tsx

@@ -330,7 +330,7 @@ class Templates extends Component<PropsType, StateType> {
           <TitleSection>
           <TitleSection>
             Launch
             Launch
             <a
             <a
-              href="https://porter-docs-demo-22fd462fef4dcd45.onporter.run/deploying-applications/overview"
+              href="https://docs.porter.run/deploying-applications/overview"
               target="_blank"
               target="_blank"
             >
             >
               <i className="material-icons">help_outline</i>
               <i className="material-icons">help_outline</i>

+ 1 - 1
dashboard/src/main/home/launch/launch-flow/SourcePage.tsx

@@ -278,7 +278,7 @@ class SourcePage extends Component<PropsType, StateType> {
         <Helper>
         <Helper>
           Learn more about
           Learn more about
           <Highlight
           <Highlight
-            href="https://porter-docs-demo-22fd462fef4dcd45.onporter.run/deploying-applications/overview"
+            href="https://docs.porter.run/deploying-applications/overview"
             target="_blank"
             target="_blank"
           >
           >
             deploying services to Porter
             deploying services to Porter

+ 1 - 1
dashboard/src/main/home/launch/launch-flow/WorkflowPage.tsx

@@ -90,7 +90,7 @@ const WorkflowPage: React.FC<PropsType> = (props) => {
           recommend you <b>deploy from docker instead</b>, and checkout this
           recommend you <b>deploy from docker instead</b>, and checkout this
           guide:{" "}
           guide:{" "}
           <a
           <a
-            href="https://porter-docs-demo-22fd462fef4dcd45.onporter.run/deploying-applications/deploying-from-github/customizing-github-workflow"
+            href="https://docs.porter.run/deploying-applications/deploying-from-github/customizing-github-workflow"
             target="_blank"
             target="_blank"
           >
           >
             CI/CD with GitHub Actions
             CI/CD with GitHub Actions

+ 1 - 6
dashboard/src/main/home/navbar/Help.tsx

@@ -29,12 +29,7 @@ export default class Help extends Component<PropsType, StateType> {
           <Dropdown dropdownWidth="155px" dropdownMaxHeight="300px">
           <Dropdown dropdownWidth="155px" dropdownMaxHeight="300px">
             <Option
             <Option
               onClick={() => {
               onClick={() => {
-                window
-                  .open(
-                    "https://porter-docs-demo-22fd462fef4dcd45.onporter.run",
-                    "_blank"
-                  )
-                  .focus();
+                window.open("https://docs.porter.run", "_blank").focus();
               }}
               }}
             >
             >
               <i className="material-icons-outlined">book</i>
               <i className="material-icons-outlined">book</i>

+ 1 - 1
dashboard/src/main/home/onboarding/steps/ConnectRegistry/ConnectRegistry.tsx

@@ -128,7 +128,7 @@ const ConnectRegistry: React.FC<{}> = ({}) => {
         <DocsHelper
         <DocsHelper
           tooltipText="If you already have an existing image registry, you can connect your existing registry during project creation. If you don't have an image registry or don't know what that means, skip this step. Porter will handle the rest."
           tooltipText="If you already have an existing image registry, you can connect your existing registry during project creation. If you don't have an image registry or don't know what that means, skip this step. Porter will handle the rest."
           link={
           link={
-            "https://porter-docs-demo-22fd462fef4dcd45.onporter.run/getting-started/linking-application-source#connecting-an-existing-image-registry"
+            "https://docs.porter.run/getting-started/linking-application-source#connecting-an-existing-image-registry"
           }
           }
         />
         />
       </Subtitle>
       </Subtitle>

+ 3 - 3
dashboard/src/main/home/onboarding/steps/ConnectRegistry/forms/FormFlow.tsx

@@ -54,19 +54,19 @@ const FormTitle = {
     label: "Amazon Elastic Container Registry (ECR)",
     label: "Amazon Elastic Container Registry (ECR)",
     icon: integrationList["ecr"].icon,
     icon: integrationList["ecr"].icon,
     doc:
     doc:
-      "https://porter-docs-demo-22fd462fef4dcd45.onporter.run/deploying-applications/deploying-from-docker-registry/linking-existing-registry#amazon-elastic-container-registry-ecr",
+      "https://docs.porter.run/deploying-applications/deploying-from-docker-registry/linking-existing-registry#amazon-elastic-container-registry-ecr",
   },
   },
   gcp: {
   gcp: {
     label: "Google Container Registry (GCR)",
     label: "Google Container Registry (GCR)",
     icon: integrationList["gcr"].icon,
     icon: integrationList["gcr"].icon,
     doc:
     doc:
-      "https://porter-docs-demo-22fd462fef4dcd45.onporter.run/deploying-applications/deploying-from-docker-registry/linking-existing-registry#google-container-registry-gcr",
+      "https://docs.porter.run/deploying-applications/deploying-from-docker-registry/linking-existing-registry#google-container-registry-gcr",
   },
   },
   do: {
   do: {
     label: "DigitalOcean Container Registry (DOCR)",
     label: "DigitalOcean Container Registry (DOCR)",
     icon: integrationList["do"].icon,
     icon: integrationList["do"].icon,
     doc:
     doc:
-      "https://porter-docs-demo-22fd462fef4dcd45.onporter.run/deploying-applications/deploying-from-docker-registry/linking-existing-registry#digital-ocean-container-registry",
+      "https://docs.porter.run/deploying-applications/deploying-from-docker-registry/linking-existing-registry#digital-ocean-container-registry",
   },
   },
 };
 };
 
 

+ 1 - 1
dashboard/src/main/home/onboarding/steps/ConnectSource.tsx

@@ -82,7 +82,7 @@ const ConnectSource: React.FC<{
         <DocsHelper
         <DocsHelper
           tooltipText="Porter uses a GitHub App to authorize and gain access to your GitHub repositories. In order to be able to deploy applications through GitHub repositories, you must first authorize the Porter GitHub App to have access to them."
           tooltipText="Porter uses a GitHub App to authorize and gain access to your GitHub repositories. In order to be able to deploy applications through GitHub repositories, you must first authorize the Porter GitHub App to have access to them."
           link={
           link={
-            "https://porter-docs-demo-22fd462fef4dcd45.onporter.run/getting-started/linking-application-source#connecting-to-github"
+            "https://docs.porter.run/getting-started/linking-application-source#connecting-to-github"
           }
           }
         />
         />
       </Subtitle>
       </Subtitle>

+ 1 - 1
dashboard/src/main/home/onboarding/steps/ProvisionResources/ProvisionResources.tsx

@@ -164,7 +164,7 @@ const ProvisionResources: React.FC<Props> = () => {
         <DocsHelper
         <DocsHelper
           tooltipText="Porter provisions and manages the underlying infrastructure in your own cloud. It is not necessary to know about the provisioned resources to use Porter."
           tooltipText="Porter provisions and manages the underlying infrastructure in your own cloud. It is not necessary to know about the provisioned resources to use Porter."
           link={
           link={
-            "https://porter-docs-demo-22fd462fef4dcd45.onporter.run/getting-started/provisioning-infrastructure#faq"
+            "https://docs.porter.run/getting-started/provisioning-infrastructure#faq"
           }
           }
         />
         />
       </Subtitle>
       </Subtitle>

+ 3 - 6
dashboard/src/main/home/onboarding/steps/ProvisionResources/forms/FormFlow.tsx

@@ -51,20 +51,17 @@ const FormTitle = {
   aws: {
   aws: {
     label: "Amazon Web Services (AWS)",
     label: "Amazon Web Services (AWS)",
     icon: integrationList["aws"].icon,
     icon: integrationList["aws"].icon,
-    doc:
-      "https://porter-docs-demo-22fd462fef4dcd45.onporter.run/getting-started/provisioning-on-aws",
+    doc: "https://docs.porter.run/getting-started/provisioning-on-aws",
   },
   },
   gcp: {
   gcp: {
     label: "Google Cloud Platform (GCP)",
     label: "Google Cloud Platform (GCP)",
     icon: integrationList["gcp"].icon,
     icon: integrationList["gcp"].icon,
-    doc:
-      "https://porter-docs-demo-22fd462fef4dcd45.onporter.run/getting-started/provisioning-on-gcp",
+    doc: "https://docs.porter.run/getting-started/provisioning-on-gcp",
   },
   },
   do: {
   do: {
     label: "DigitalOcean (DO)",
     label: "DigitalOcean (DO)",
     icon: integrationList["do"].icon,
     icon: integrationList["do"].icon,
-    doc:
-      "https://porter-docs-demo-22fd462fef4dcd45.onporter.run/getting-started/provisioning-on-do",
+    doc: "https://docs.porter.run/getting-started/provisioning-on-do",
   },
   },
   external: {
   external: {
     label: "Connect an existing cluster",
     label: "Connect an existing cluster",

+ 1 - 1
dashboard/src/main/home/onboarding/steps/ProvisionResources/forms/_AWSProvisionerForm.tsx

@@ -416,7 +416,7 @@ export const SettingsForm: React.FC<{
           setMachineType(x);
           setMachineType(x);
         }}
         }}
         label="⚙️ AWS Machine Type"
         label="⚙️ AWS Machine Type"
-        doc="https://porter-docs-demo-22fd462fef4dcd45.onporter.run/getting-started/provisioning-infrastructure#which-instance-type-should-i-select"
+        doc="https://docs.porter.run/getting-started/provisioning-infrastructure#which-instance-type-should-i-select"
       />
       />
       <Br />
       <Br />
       <SaveButton
       <SaveButton