diff --git a/app/assets/javascripts/editor/schema/ci.json b/app/assets/javascripts/editor/schema/ci.json index ee655baeab9861db2591569ca557051b30ae0bf5..4d7dc7f26a0e1eca08ed78b8c5ef6726b43e6351 100644 --- a/app/assets/javascripts/editor/schema/ci.json +++ b/app/assets/javascripts/editor/schema/ci.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://gitlab.com/.gitlab-ci.yml", - "markdownDescription": "Gitlab has a built-in solution for doing CI called Gitlab CI. It is configured by supplying a file called `.gitlab-ci.yml`, which will list all the jobs that are going to run for the project. A full list of all options can be found [here](https://docs.gitlab.com/ee/ci/yaml). [Learn More](https://docs.gitlab.com/ee/ci/index.html).", + "markdownDescription": "Gitlab has a built-in solution for doing CI called Gitlab CI. It is configured by supplying a file called `.gitlab-ci.yml`, which will list all the jobs that are going to run for the project. A full list of all options can be found [here](https://docs.gitlab.com/ee/ci/yaml/). [Learn More](https://docs.gitlab.com/ee/ci/).", "type": "object", "properties": { "$schema": { @@ -638,7 +638,7 @@ }, "entrypoint": { "type": "array", - "markdownDescription": "Command or script that should be executed as the container's entrypoint. It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)", + "markdownDescription": "Command or script that should be executed as the container's entrypoint. It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ee/ci/services/#available-settings-for-services)", "minItems": 1, "items": { "type": "string" @@ -691,7 +691,7 @@ }, "command": { "type": "array", - "markdownDescription": "Command or script that should be used as the container's command. It will be translated to arguments passed to Docker after the image's name. The syntax is similar to Dockerfile's CMD directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)", + "markdownDescription": "Command or script that should be used as the container's command. It will be translated to arguments passed to Docker after the image's name. The syntax is similar to Dockerfile's CMD directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ee/ci/services/#available-settings-for-services)", "minItems": 1, "items": { "type": "string" @@ -699,12 +699,12 @@ }, "alias": { "type": "string", - "markdownDescription": "Additional alias that can be used to access the service from the job's container. Read Accessing the services for more information. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)", + "markdownDescription": "Additional alias that can be used to access the service from the job's container. Read Accessing the services for more information. [Learn More](https://docs.gitlab.com/ee/ci/services/#available-settings-for-services)", "minLength": 1 }, "variables": { "$ref": "#/definitions/jobVariables", - "markdownDescription": "Additional environment variables that are passed exclusively to the service. Service variables cannot reference themselves. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)" + "markdownDescription": "Additional environment variables that are passed exclusively to the service. Service variables cannot reference themselves. [Learn More](https://docs.gitlab.com/ee/ci/services/#available-settings-for-services)" } }, "required": [ diff --git a/app/assets/javascripts/tracking/tracker.js b/app/assets/javascripts/tracking/tracker.js index 95fd597a21e6e74c0d1508e4a22eee03092f28d1..51c64f690cd5e0a680a5a6ffe9c06c29847fe37c 100644 --- a/app/assets/javascripts/tracking/tracker.js +++ b/app/assets/javascripts/tracking/tracker.js @@ -36,7 +36,7 @@ export const Tracker = { /** * Dispatches a structured event: - * https://docs.gitlab.com/ee/development/snowplow/index.html#event-schema. + * https://docs.gitlab.com/ee/development/internal_analytics/internal_event_instrumentation/ * * If the library is not initialized and events are trying to be * dispatched (data-attributes, load-events), they will be added @@ -121,7 +121,7 @@ export const Tracker = { * Enable Snowplow automatic form tracking. * The config param requires at least one array of either forms * class names, or field name attributes. - * https://docs.gitlab.com/ee/development/snowplow/index.html#form-tracking. + * https://docs.gitlab.com/ee/development/internal_analytics/internal_event_instrumentation/ * * @param {Object} config * @param {Array} contexts diff --git a/app/views/projects/readme_templates/default.md.tt b/app/views/projects/readme_templates/default.md.tt index 7432918be2115c38d17f2ef63524f17d21d3d726..cee7a69c9f80eaedebecc1982b030c5ac2e2e4e4 100644 --- a/app/views/projects/readme_templates/default.md.tt +++ b/app/views/projects/readme_templates/default.md.tt @@ -37,7 +37,7 @@ git push -uf origin <%= params[:default_branch] %> Use the built-in continuous integration in GitLab. -- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html) +- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/) - [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/) - [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html) - [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/) diff --git a/config/resque.yml.example b/config/resque.yml.example index 600b9c67d6fa1fde006578e717eaf6d2de942d71..da93c8efcaa0a793c3a2c8dba68132a6d5135224 100644 --- a/config/resque.yml.example +++ b/config/resque.yml.example @@ -27,7 +27,7 @@ production: # http://redis.io/topics/sentinel # # You must specify a list of a few sentinels that will handle client connection - # please read here for more information: https://docs.gitlab.com/ee/administration/redis/index.html + # please read here for more information: https://docs.gitlab.com/ee/administration/redis/ ## # url: redis://master:6379 # sentinels: diff --git a/ee/app/helpers/admin/application_settings_helper.rb b/ee/app/helpers/admin/application_settings_helper.rb index e368ac11c190beed08b43354766b2724d746f4c3..b35a5769b4b51966bd7af965a79f5b758b4d2fe6 100644 --- a/ee/app/helpers/admin/application_settings_helper.rb +++ b/ee/app/helpers/admin/application_settings_helper.rb @@ -109,7 +109,7 @@ def gitlab_testing_agreement_url end def direct_connections_docs_url - 'https://docs.gitlab.com/ee/user/project/repository/code_suggestions/_index.html#disable-direct-connections-to-the-ai-gateway' + 'https://docs.gitlab.com/ee/user/project/repository/code_suggestions/#direct-and-indirect-connections' end # rubocop:enable Gitlab/DocumentationLinks/HardcodedUrl diff --git a/ee/db/fixtures/development/95_gitlab_duo.rb b/ee/db/fixtures/development/95_gitlab_duo.rb index b40e27ecb9f53b44a8cee5d0c63fea0e38cbfb2e..05f07f190c5e813434c53d13d39270d46ca3a79e 100644 --- a/ee/db/fixtures/development/95_gitlab_duo.rb +++ b/ee/db/fixtures/development/95_gitlab_duo.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # This class is responsible for seeding group/project resources for testing GitLab Duo features. -# See https://docs.gitlab.com/ee/development/ai_features/index.html#seed-project-and-group-resources-for-testing-and-evaluation +# See https://docs.gitlab.com/ee/development/ai_features/#seed-project-and-group-resources-for-testing-and-evaluation # for more information. class Gitlab::Seeder::GitLabDuo # rubocop:disable Style/ClassAndModuleChildren -- this is a seed script GROUP_PATH = 'gitlab-duo' diff --git a/ee/lib/gitlab/duo/developments/setup.rb b/ee/lib/gitlab/duo/developments/setup.rb index 885a8e722413a12bbc0146097682100ca9338752..e7deaa8b4935250a9ec1ac0d1c216635f29a7284 100644 --- a/ee/lib/gitlab/duo/developments/setup.rb +++ b/ee/lib/gitlab/duo/developments/setup.rb @@ -238,7 +238,7 @@ def print_result Visit "#{Gitlab.config.gitlab.protocol}://#{Gitlab.config.gitlab.host}:#{Gitlab.config.gitlab.port}/#{@namespace.presence}" for testing GitLab Duo features. - For more development guidelines, see https://docs.gitlab.com/ee/development/ai_features/index.html. + For more development guidelines, see https://docs.gitlab.com/ee/development/ai_features/. MSG Group.find_by_full_path(@namespace) diff --git a/ee/spec/requests/api/graphql/remote_development/README.md b/ee/spec/requests/api/graphql/remote_development/README.md index 9fbc5db7f6bee089385452453c23d8456fac45ca..b09cfcb0a0207dcf313eb7a443e7886e8176eca3 100644 --- a/ee/spec/requests/api/graphql/remote_development/README.md +++ b/ee/spec/requests/api/graphql/remote_development/README.md @@ -13,53 +13,53 @@ Here are the related spec folders for the fields (in alphabetical order by resol - GraphQL Field: `Query.workspaces` - Spec folder: `ee/spec/requests/api/graphql/remote_development/workspaces` - - API docs: https://docs.gitlab.com/ee/api/graphql/reference/index.html#queryworkspaces + - API docs: https://docs.gitlab.com/ee/api/graphql/reference/#queryworkspaces - Resolver source file for `tests.yml` and `verify-tff-mapping`: `ee/app/graphql/resolvers/remote_development/workspaces_admin_resolver.rb` - Notes: Only admins may use this field. - GraphQL Field: `Query.project.clusterAgent.remoteDevelopmentAgentConfig` - Spec folder: `ee/spec/requests/api/graphql/remote_development/cluster_agent/remote_development_agent_config` - - API docs: https://docs.gitlab.com/ee/api/graphql/reference/index.html#clusteragentremotedevelopmentagentconfig + - API docs: https://docs.gitlab.com/ee/api/graphql/reference/#clusteragentremotedevelopmentagentconfig - Resolver source file for `tests.yml` and `verify-tff-mapping`: `ee/app/graphql/resolvers/remote_development/cluster_agent/remote_development_agent_config_resolver.rb` - Note: THIS FIELD IS DEPRECATED, AND WILL BE REMOVED IN A FUTURE RELEASE. - Field: `Query.project.clusterAgent.workspaces` - Spec folder: `ee/spec/requests/api/graphql/remote_development/cluster_agent/workspaces` - - API docs: https://docs.gitlab.com/ee/api/graphql/reference/index.html#clusteragentworkspaces + - API docs: https://docs.gitlab.com/ee/api/graphql/reference/#clusteragentworkspaces - Resolver source file for `tests.yml` and `verify-tff-mapping`: `ee/app/graphql/resolvers/remote_development/cluster_agent/workspaces.rb` - GraphQL Field: `Query.project.clusterAgent.workspacesAgentConfig` - Spec folder: `ee/spec/requests/api/graphql/remote_development/cluster_agent/workspaces_agent_config` - - API docs: https://docs.gitlab.com/ee/api/graphql/reference/index.html#clusteragentworkspacesagentconfig + - API docs: https://docs.gitlab.com/ee/api/graphql/reference/#clusteragentworkspacesagentconfig - Resolver source file for `tests.yml` and `verify-tff-mapping`: `ee/app/graphql/resolvers/remote_development/cluster_agent/workspaces_agent_config_resolver.rb` - GraphQL Field: `Query.namespace.remote_development_cluster_agents` - Spec folder: `ee/spec/requests/api/graphql/remote_development/namespace/remote_development_cluster_agents` - - API docs: https://docs.gitlab.com/ee/api/graphql/reference/index.html#namespaceremotedevelopmentclusteragents + - API docs: https://docs.gitlab.com/ee/api/graphql/reference/#namespaceremotedevelopmentclusteragents - Resolver source file for `tests.yml` and `verify-tff-mapping`: `ee/app/graphql/resolvers/remote_development/namespace/cluster_agents_resolver.rb` - Notes: This is the same resolver used by `Query.currentUser.namespace.workspaces_cluster_agents`. THIS FIELD IS DEPRECATED AND WILL BE REMOVED IN THE 18.0 RELEASE. - GraphQL Field: `Query.namespace.namespace.workspaces_cluster_agents` - Spec folder: `ee/spec/requests/api/graphql/remote_development/namespace/workspaces_cluster_agents` - - API docs: https://docs.gitlab.com/ee/api/graphql/reference/index.html#namespaceworkspacesclusteragents + - API docs: https://docs.gitlab.com/ee/api/graphql/reference/#namespaceworkspacesclusteragents - Resolver source file for `tests.yml` and `verify-tff-mapping`: `ee/app/graphql/resolvers/remote_development/namespace/cluster_agents_resolver.rb` - Notes: This is the same resolver used by `Query.currentUser.namespace.remote_development_cluster_agents`. - GraphQL Field: `Query.workspace` - Spec folder: `ee/spec/requests/api/graphql/remote_development/workspace` - - API docs: https://docs.gitlab.com/ee/api/graphql/reference/index.html#queryworkspace + - API docs: https://docs.gitlab.com/ee/api/graphql/reference/#queryworkspace - Resolver source file for `tests.yml` and `verify-tff-mapping`: `ee/app/graphql/resolvers/remote_development/namespace/workspaces_resolver.rb` - Notes: This is the same resolver used by `Query.currentUser.workspaces` - GraphQL Field: `Query.workspace.workspaceVariables` - Spec folder: `ee/spec/requests/api/graphql/remote_development/workspace_variables` - - API docs: https://docs.gitlab.com/ee/api/graphql/reference/index.html##workspacevariableconnection + - API docs: https://docs.gitlab.com/ee/api/graphql/reference/##workspacevariableconnection - Resolver source file for `tests.yml` and `verify-tff-mapping`: `ee/app/graphql/resolvers/remote_development/namespace/workspaces_resolver.rb` - Notes: This is the same resolver used by `Query.currentUser.workspaces` - GraphQL Field: `Query.currentUser.workspaces` - Spec folder: `ee/spec/requests/api/graphql/remote_development/current_user/workspaces` - - API docs: https://docs.gitlab.com/ee/api/graphql/reference/index.html#currentuserworkspaces + - API docs: https://docs.gitlab.com/ee/api/graphql/reference/#currentuserworkspaces - Resolver source file for `tests.yml` and `verify-tff-mapping`: `ee/app/graphql/resolvers/remote_development/workspaces_resolver.rb` - Notes: This is the same resolver used by `Query.currentUser.workspace` diff --git a/spec/fixtures/whats_new/invalid.yml b/spec/fixtures/whats_new/invalid.yml index b888aba9a16e3ea60db760108cb2c7e4e3ddc7a5..51335383d39a6f31961811eeb7936ddca7b1cce5 100644 --- a/spec/fixtures/whats_new/invalid.yml +++ b/spec/fixtures/whats_new/invalid.yml @@ -4,7 +4,7 @@ self-managed: true gitlab-com: true available_in: [ALL] - documentation_link: https://docs.gitlab.com/ee/user/project/requirements/index.html + documentation_link: https://docs.gitlab.com/ee/user/project/requirements/ image_url: https://about.gitlab.com/images/press/logo/png/gitlab-icon-rgb.png published_at: 2020-04-22 release: 12.10 @@ -14,7 +14,7 @@ self-managed: true gitlab-com: true available_in: [Free] - documentation_link: https://docs.gitlab.com/ee/ci/examples/authenticating-with-hashicorp-vault/index.html + documentation_link: https://docs.gitlab.com/ee/ci/examples/authenticating-with-hashicorp-vault/ image_url: https://about.gitlab.com/images/12_10/jwt-vault-1.png published_at: 2020-04-22 release: 12.10 diff --git a/spec/fixtures/whats_new/valid.yml b/spec/fixtures/whats_new/valid.yml index e46ff85cd9c76280d6f3e1ca5e0c3197358a46fd..794bd08ce380797db52f3133ce86ceb5b5000cb3 100644 --- a/spec/fixtures/whats_new/valid.yml +++ b/spec/fixtures/whats_new/valid.yml @@ -4,7 +4,7 @@ self-managed: true gitlab-com: true available_in: [Ultimate] - documentation_link: https://docs.gitlab.com/ee/user/project/requirements/index.html + documentation_link: https://docs.gitlab.com/ee/user/project/requirements/ image_url: https://about.gitlab.com/images/press/logo/png/gitlab-icon-rgb.png published_at: 2020-04-22 release: 12.10 @@ -14,7 +14,7 @@ self-managed: true gitlab-com: true available_in: [Free] - documentation_link: https://docs.gitlab.com/ee/ci/examples/authenticating-with-hashicorp-vault/index.html + documentation_link: https://docs.gitlab.com/ee/ci/examples/authenticating-with-hashicorp-vault/ image_url: https://about.gitlab.com/images/12_10/jwt-vault-1.png published_at: 2020-04-22 release: 12.10