Commit 76f6d414 authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'remove-workflow-autocomplete' into 'master'

Remove references to docs /workflow dir

See merge request gitlab-org/gitlab!44388
parents 03b452fd a53a75f4
......@@ -131,8 +131,7 @@ module SearchHelper
{ category: "Help", label: _("Rake Tasks Help"), url: help_page_path("raketasks/README") },
{ category: "Help", label: _("SSH Keys Help"), url: help_page_path("ssh/README") },
{ category: "Help", label: _("System Hooks Help"), url: help_page_path("system_hooks/system_hooks") },
{ category: "Help", label: _("Webhooks Help"), url: help_page_path("user/project/integrations/webhooks") },
{ category: "Help", label: _("Workflow Help"), url: help_page_path("workflow/README") }
{ category: "Help", label: _("Webhooks Help"), url: help_page_path("user/project/integrations/webhooks") }
]
end
......
......@@ -29237,9 +29237,6 @@ msgstr ""
msgid "Work in progress Limit"
msgstr ""
msgid "Workflow Help"
msgstr ""
msgid "Would you like to create a new branch?"
msgstr ""
......
......@@ -29,7 +29,7 @@ RSpec.describe SearchHelper do
end
it "includes Help sections" do
expect(search_autocomplete_opts("hel").size).to eq(9)
expect(search_autocomplete_opts("hel").size).to eq(8)
end
it "includes default sections" do
......
......@@ -119,9 +119,9 @@ RSpec.describe HelpController, "routing" do
path: 'user/markdown',
format: 'md')
path = '/help/workflow/protected_branches/protected_branches1.png'
path = '/help/user/markdown/markdown_logo.png'
expect(get(path)).to route_to('help#show',
path: 'workflow/protected_branches/protected_branches1',
path: 'user/markdown/markdown_logo',
format: 'png')
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment