1.9 KiB
1.9 KiB
stage | group | info | remove_date | redirect_to |
---|---|---|---|---|
Create | Editor | To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments | 2022-08-03 | ../web_ide/index.md |
Static Site Editor (removed) (FREE)
This feature was deprecated in GitLab 14.7 and removed in 15.0. Use the Web Editor or Web IDE instead.
Remove the Static Site Editor
The Static Site Editor itself isn't part of your project. To remove the Static Site Editor from an existing project, remove links that point back to the editor:
-
Remove any links that use
edit_page_url
in your project. If you used the Middleman - Static Site Editor project template, the only instance of this helper is located in/source/layouts/layout.erb
. Remove this line entirely:<%= link_to('Edit this page', edit_page_url(data.config.repository, current_page.file_descriptor.relative_path), id: 'edit-page-link') %>
-
In
/data/config.yml
, delete therepository
key / value pair:repository: https://gitlab.com/<username>/<myproject>
- If
repository
is the only value stored in/data/config.yml
, you can delete the entire file.
- If
-
In
/helpers/custom_helpers.rb
, deleteedit_page_url()
andendcode_path()
:def edit_page_url(base_url, relative_path) "#{base_url}/-/sse/#{encode_path(relative_path)}/" end def encode_path(relative_path) ERB::Util.url_encode("master/source/#{relative_path}") end
- If
edit_page_url()
andencode_path()
are the only helpers, you may delete/helpers/custom_helpers.rb
entirely.
- If
-
Clean up any extraneous configuration files.
-
Commit and push your changes.