From fe43243e2632562e9f7b23fe77c9424a9bf71fc5 Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Mon, 8 Feb 2021 17:33:47 +0100 Subject: [PATCH] Change settings caused by repository migration --- CONTRIBUTING_FILE_FORMAT.md | 4 ++-- README.md | 14 +++++++------- gatsby-node.js | 2 +- .../pages/404/not-found/not-found.view.js | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING_FILE_FORMAT.md b/CONTRIBUTING_FILE_FORMAT.md index 818570659b..a8591eb760 100644 --- a/CONTRIBUTING_FILE_FORMAT.md +++ b/CONTRIBUTING_FILE_FORMAT.md @@ -423,7 +423,7 @@ This is a component that represents a common pattern of external link decoration ![external-card-result](./internal-images/external-link-card-sample.png) -Currently, this component is absent in k6-docs repo, though could be added anytime the need arises. +Currently, this component is absent in docs repo, though could be added anytime the need arises. ## Custom @@ -437,4 +437,4 @@ The rest of elements you could write as you would in native md. It includes `p`, ## Additional information -Check out the [project Wiki](https://github.com/loadimpact/k6-docs/wiki) for additional information +Check out the [project Wiki](https://github.com/k6io/docs/wiki) for additional information diff --git a/README.md b/README.md index 830f791c31..a7d3f0a71b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # k6 Documentation -![Staging](https://github.com/loadimpact/k6-docs/workflows/Staging/badge.svg) -![Production](https://github.com/loadimpact/k6-docs/workflows/Production/badge.svg) +![Staging](https://github.com/k6io/docs/workflows/Staging/badge.svg) +![Production](https://github.com/k6io/docs/workflows/Production/badge.svg) This repo contains the source code of the [k6 documentation](https://k6.io/docs/). @@ -9,8 +9,8 @@ This repo contains the source code of the [k6 documentation](https://k6.io/docs/ This uses `docker-compose` and port `8100`. ```shell -git clone git@github.com:loadimpact/k6-docs.git -cd k6-docs +git clone git@github.com:k6io/docs.git +cd docs docker-compose up -d --build ``` @@ -31,8 +31,8 @@ before retrying. In node 12.x: ```bash -git clone git@github.com:loadimpact/k6-docs.git -cd k6-docs +git clone git@github.com:k6io/docs.git +cd docs npm install ``` @@ -50,7 +50,7 @@ Visit http://localhost:8000 All pull requests merged to `master` will result in an automatic deployment to the staging environment. ### To production -All tags created using the format `vN.N.N`, for instance `v0.0.1`, will result in an automatic deployment to the production environment. Tags can either be created and pushed from the git cli, or from https://github.com/loadimpact/k6-docs/releases +All tags created using the format `vN.N.N`, for instance `v0.0.1`, will result in an automatic deployment to the production environment. Tags can either be created and pushed from the git cli, or from https://github.com/k6io/docs/releases ## Contributing diff --git a/gatsby-node.js b/gatsby-node.js index 60a68019f4..93f1184d4f 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -174,7 +174,7 @@ async function createDocPages({ graphql, actions, reporter }) { slug, // injection of a link to an article in git repo fileOrigin: encodeURI( - `https://github.com/loadimpact/k6-docs/blob/master/src/data/${relativeDirectory}/${name}.md`, + `https://github.com/k6io/docs/blob/master/src/data/${relativeDirectory}/${name}.md`, ), }, }; diff --git a/src/components/pages/404/not-found/not-found.view.js b/src/components/pages/404/not-found/not-found.view.js index 4f459add9d..044ad1df40 100644 --- a/src/components/pages/404/not-found/not-found.view.js +++ b/src/components/pages/404/not-found/not-found.view.js @@ -22,7 +22,7 @@ export const NotFound = () => (