Skip to content
Snippets Groups Projects
Verified Commit fe4d3c7b authored by Marcel Amirault's avatar Marcel Amirault :interrobang: Committed by GitLab
Browse files

Rename misc doc/user index files - 3

Rename index.md to _index.md and update crosslinks
parent a4a4de30
No related branches found
No related tags found
4 merge requests!181325Fix ambiguous `created_at` in project.rb,!180934Docs: Rename misc doc/user index files - 3 (user/project 2),!180727Resolve "Extend job archival mechanism to the whole pipeline",!180595Draft: 4 Get public-namespace-plan-info-card's planName from seats app
Showing
with 22 additions and 22 deletions
......@@ -149,7 +149,7 @@ export default {
},
helpPath: helpPagePath('/user/project/import/github'),
membershipsHelpPath: helpPagePath('user/project/import/index', {
membershipsHelpPath: helpPagePath('user/project/import/_index', {
anchor: 'user-contribution-and-membership-mapping',
}),
};
......
......@@ -14,7 +14,7 @@ export default {
),
},
emptyStateSvg,
issuesHelpPagePath: helpPagePath('user/project/issues/index'),
issuesHelpPagePath: helpPagePath('user/project/issues/_index'),
jiraIntegrationPath: helpPagePath('integration/jira/configure', { anchor: 'view-jira-issues' }),
components: {
CsvImportExportButtons,
......
......@@ -280,7 +280,7 @@ export default {
this.sort = sort;
},
},
helpUrl: helpPagePath('user/project/import/index', {
helpUrl: helpPagePath('user/project/import/_index', {
anchor: 'security-considerations',
}),
uploadCsvModalId: UPLOAD_CSV_PLACEHOLDERS_MODAL_ID,
......
......@@ -86,7 +86,7 @@ export default {
},
},
dropzoneAllowList: ['.csv'],
docsLink: helpPagePath('user/project/import/index', {
docsLink: helpPagePath('user/project/import/_index', {
anchor: 'request-reassignment-by-using-a-csv-file',
}),
i18n: {
......
......@@ -194,7 +194,7 @@ export default {
this.$emit('confirm', item);
},
},
placeholderUsersHelpPath: helpPagePath('user/project/import/index', {
placeholderUsersHelpPath: helpPagePath('user/project/import/_index', {
anchor: 'placeholder-users',
}),
};
......
......@@ -32,7 +32,7 @@ def import_will_timeout_message(_ci_cd_only)
end
def import_svn_message(_ci_cd_only)
svn_link = link_to _('Learn more'), help_page_path('user/project/import/index.md', anchor: 'import-repositories-from-subversion')
svn_link = link_to _('Learn more'), help_page_path('user/project/import/_index.md', anchor: 'import-repositories-from-subversion')
safe_format(s_('Import|You can import a Subversion repository by using third-party tools. %{svn_link}.'), svn_link: svn_link)
end
......
......@@ -470,7 +470,7 @@ def project_permissions_panel_data(project)
pagesAccessControlEnabled: Gitlab.config.pages.access_control,
pagesAccessControlForced: ::Gitlab::Pages.access_control_is_forced?(project.group),
pagesHelpPath: help_page_path('user/project/pages/pages_access_control.md'),
issuesHelpPath: help_page_path('user/project/issues/index.md'),
issuesHelpPath: help_page_path('user/project/issues/_index.md'),
membersPagePath: project_project_members_path(project),
environmentsHelpPath: help_page_path('ci/environments/_index.md'),
featureFlagsHelpPath: help_page_path('operations/feature_flags.md'),
......
......@@ -13,7 +13,7 @@
- c.with_body do
= pending_reassignment_presenter.body
- c.with_actions do
= render Pajamas::ButtonComponent.new(variant: :default, href: help_page_path('user/project/import/index.md', anchor: 'placeholder-users'), button_options: { class: 'deferred-link gl-alert-action', rel: 'noreferrer noopener' }, target: '_blank') do
= render Pajamas::ButtonComponent.new(variant: :default, href: help_page_path('user/project/import/_index.md', anchor: 'placeholder-users'), button_options: { class: 'deferred-link gl-alert-action', rel: 'noreferrer noopener' }, target: '_blank') do
= _('Learn more')
#import-history-mount-element{ data: { id: @bulk_import&.id, details_path: failures_import_bulk_import_path(':id', ':entity_id'), realtime_changes_path: realtime_changes_import_bulk_imports_path(format: :json) } }
......@@ -10,6 +10,6 @@
destination_group: destination_group)
- c.with_actions do
= render Pajamas::ButtonComponent.new(variant: :default,
href: help_page_path('user/project/import/index.md', anchor: 'accept-contribution-reassignment'),
href: help_page_path('user/project/import/_index.md', anchor: 'accept-contribution-reassignment'),
button_options: { class: 'deferred-link gl-alert-action', rel: 'noreferrer noopener' }, target: '_blank') do
= _('Learn more')
......@@ -3,6 +3,6 @@
= s_('UserMapping|You might have already accepted or rejected the reassignment, or the assignment might have been canceled.')
- c.with_actions do
= render Pajamas::ButtonComponent.new(variant: :default,
href: help_page_path('user/project/import/index.md', anchor: 'accept-contribution-reassignment'),
href: help_page_path('user/project/import/_index.md', anchor: 'accept-contribution-reassignment'),
button_options: { class: 'deferred-link gl-alert-action', rel: 'noreferrer noopener' }, target: '_blank') do
= _('Learn more')
......@@ -8,6 +8,6 @@
destination_group: source_user.namespace.name)
- c.with_actions do
= render Pajamas::ButtonComponent.new(variant: :default,
href: help_page_path('user/project/import/index.md', anchor: 'accept-contribution-reassignment'),
href: help_page_path('user/project/import/_index.md', anchor: 'accept-contribution-reassignment'),
button_options: { class: 'deferred-link gl-alert-action', rel: 'noreferrer noopener' }, target: '_blank') do
= _('Learn more')
......@@ -27,7 +27,7 @@
source_hostname: source_hostname,
destination_group: destination_group)
= succeed '.' do
= link_to s_('UserMapping|How do I accept reassignments?'), help_page_path('user/project/import/index.md', anchor: 'accept-contribution-reassignment')
= link_to s_('UserMapping|How do I accept reassignments?'), help_page_path('user/project/import/_index.md', anchor: 'accept-contribution-reassignment')
%h5
= s_('UserMapping|Import details:')
%p.gl-mb-5
......
......@@ -14,7 +14,7 @@
- button_style = 'border: 1px solid #694cc0; border-radius: 4px; font-size: 14px; padding: 8px 16px; background-color: #7b58cf; color: #fff; cursor: pointer;'
- strong_tag_pair = tag_pair(tag.strong, :strong_open, :strong_close)
- help_link_tag_pair = tag_pair(link_to('', help_page_url('user/project/import/index.md', anchor: 'accept-contribution-reassignment'), target: '_blank', rel: 'noopener noreferrer'), :link_start, :link_end)
- help_link_tag_pair = tag_pair(link_to('', help_page_url('user/project/import/_index.md', anchor: 'accept-contribution-reassignment'), target: '_blank', rel: 'noopener noreferrer'), :link_start, :link_end)
- report_link_tag_pair = tag_pair(link_to('', help_page_url('user/report_abuse.md'), target: '_blank', rel: 'noopener noreferrer'), :report_link_start, :report_link_end)
%p{ style: text_style }
......
......@@ -7,7 +7,7 @@
<% reassigned_by_name = reassigned_by.name %>
<% reassigned_by_username = "#{reassigned_by.to_reference} - #{user_url(reassigned_by)}" %>
<% destination_group = "#{@source_user.namespace.name} (/#{@source_user.namespace.full_path})" %>
<% help_link = help_page_url('user/project/import/index.md', anchor: 'accept-contribution-reassignment') %>
<% help_link = help_page_url('user/project/import/_index.md', anchor: 'accept-contribution-reassignment') %>
<% report_link = help_page_url('user/report_abuse.md') %>
<%= s_('UserMapping|%{reassigned_by_name} (%{reassigned_by_username}) wants to reassign contributions from %{source_name} (%{source_username}) on %{source_hostname} to you in %{destination_group}.') % { reassigned_by_name: reassigned_by_name,
reassigned_by_username: reassigned_by_username,
......
......@@ -17,7 +17,7 @@
projects_url: dashboard_projects_url,
parent_group_url: @project.parent && group_url(@project.parent),
parent_group_name: @project.parent&.name,
project_help_path: help_page_path("user/project/index.md"),
project_help_path: help_page_path("user/project/_index.md"),
is_ci_cd_available: remote_mirror_setting_enabled?.to_s,
can_import_projects: params[:namespace_id].presence ? current_user.can?(:import_projects, @namespace).to_s : 'true',
import_sources_enabled: import_sources_enabled?.to_s,
......@@ -35,7 +35,7 @@
has_errors: @project.errors.any?.to_s,
new_project_guidelines: brand_new_project_guidelines,
push_to_create_project_command: push_to_create_project_command,
project_help_path: help_page_path("user/project/index.md"),
project_help_path: help_page_path("user/project/_index.md"),
root_path: root_path,
parent_group_url: @project.parent && group_url(@project.parent),
parent_group_name: @project.parent&.name,
......
......@@ -7,7 +7,7 @@
%section.js-search-settings-section
= render ::Layouts::PageHeadingComponent.new(_('Integrations')) do |c|
- c.with_description do
- integrations_link = link_to('', help_page_url('user/project/integrations/index.md'))
- integrations_link = link_to('', help_page_url('user/project/integrations/_index.md'))
- webhooks_link = link_to('', project_hooks_path(@project))
= safe_format(_("%{integrations_link_start}Integrations%{link_end} enable you to make third-party applications part of your GitLab workflow. If the available integrations don't meet your needs, consider using a %{webhooks_link_start}webhook%{link_end}."), tag_pair(integrations_link, :integrations_link_start, :link_end), tag_pair(webhooks_link, :webhooks_link_start, :link_end))
end
......
......@@ -60,7 +60,7 @@ on how GitLab creates this archive, see [Backup archive process](backup_archive_
- [Geo](../geo/_index.md)
- [Disaster Recovery (Geo)](../geo/disaster_recovery/_index.md)
- [Migrating GitLab groups](../../user/group/import/_index.md)
- [Import and migrate projects](../../user/project/import/index.md)
- [Import and migrate projects](../../user/project/import/_index.md)
- [GitLab Linux package (Omnibus) - Backup and Restore](https://docs.gitlab.com/omnibus/settings/backups.html)
- [GitLab Helm chart - Backup and Restore](https://docs.gitlab.com/charts/backup-restore/)
- [GitLab Operator - Backup and Restore](https://docs.gitlab.com/operator/backup_and_restore.html)
......@@ -22,7 +22,7 @@ decrypt those columns, preventing access to the following items:
- [Project error tracking](../../operations/error_tracking.md)
- [Runner authentication](../../ci/runners/_index.md)
- [Project mirroring](../../user/project/repository/mirror/_index.md)
- [Integrations](../../user/project/integrations/index.md)
- [Integrations](../../user/project/integrations/_index.md)
- [Web hooks](../../user/project/integrations/webhooks.md)
- [Deploy tokens](../../user/project/deploy_tokens/index.md)
......@@ -175,7 +175,7 @@ lost data can be manually replaced.
### Fix integrations and webhooks
If you've lost your secrets, the [integrations settings](../../user/project/integrations/index.md)
If you've lost your secrets, the [integrations settings](../../user/project/integrations/_index.md)
and [webhooks settings](../../user/project/integrations/webhooks.md) pages might display `500` error messages. Lost secrets might also produce `500` errors when you try to access a repository in a project with a previously configured integration or webhook.
The fix is to truncate the affected tables (those containing encrypted columns).
......
......@@ -12,7 +12,7 @@ DETAILS:
As an administrator, you can configure a group that contains projects available for
use as the source of project templates on your instance. You can then
[create a new project](../user/project/index.md#create-a-project-from-a-custom-template),
[create a new project](../user/project/_index.md#create-a-project-from-a-custom-template),
that starts from the template project's contents.
To learn more about what is copied from the template project, see
......
......@@ -87,7 +87,7 @@ Prerequisites:
To host the product documentation site with GitLab Pages:
1. [Create a blank project](../user/project/index.md#create-a-blank-project).
1. [Create a blank project](../user/project/_index.md#create-a-blank-project).
1. Create a new or edit your existing `.gitlab-ci.yml` file, and add the following
`pages` job, while ensuring the version is the same as your GitLab installation:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment