diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-09-02 13:28:17 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-09-02 13:28:17 +0200 |
commit | 7c89308ae4891085d59c6f85da77c5c13e0bd233 (patch) | |
tree | 3c866aac276059962c2111a3e07072f914518a98 /doc/user | |
parent | 30b56b160b854baf03bfacd80c0e87d62716dd0f (diff) | |
download | gitlab-ce-7c89308ae4891085d59c6f85da77c5c13e0bd233.tar.gz |
Move docs for template dropdowns to the new locationdocs-gitlab-ci-dropdown
Diffstat (limited to 'doc/user')
-rw-r--r-- | doc/user/project/repository/img/web_editor_template_dropdown_buttons.png | bin | 0 -> 14131 bytes | |||
-rw-r--r-- | doc/user/project/repository/img/web_editor_template_dropdown_first_file.png | bin | 0 -> 25748 bytes | |||
-rw-r--r-- | doc/user/project/repository/img/web_editor_template_dropdown_mit_license.png | bin | 0 -> 85413 bytes | |||
-rw-r--r-- | doc/user/project/repository/web_editor.md | 24 |
4 files changed, 24 insertions, 0 deletions
diff --git a/doc/user/project/repository/img/web_editor_template_dropdown_buttons.png b/doc/user/project/repository/img/web_editor_template_dropdown_buttons.png Binary files differnew file mode 100644 index 00000000000..4efc51cc423 --- /dev/null +++ b/doc/user/project/repository/img/web_editor_template_dropdown_buttons.png diff --git a/doc/user/project/repository/img/web_editor_template_dropdown_first_file.png b/doc/user/project/repository/img/web_editor_template_dropdown_first_file.png Binary files differnew file mode 100644 index 00000000000..67190c58823 --- /dev/null +++ b/doc/user/project/repository/img/web_editor_template_dropdown_first_file.png diff --git a/doc/user/project/repository/img/web_editor_template_dropdown_mit_license.png b/doc/user/project/repository/img/web_editor_template_dropdown_mit_license.png Binary files differnew file mode 100644 index 00000000000..47719113805 --- /dev/null +++ b/doc/user/project/repository/img/web_editor_template_dropdown_mit_license.png diff --git a/doc/user/project/repository/web_editor.md b/doc/user/project/repository/web_editor.md index ee8e7862572..7c041d019bb 100644 --- a/doc/user/project/repository/web_editor.md +++ b/doc/user/project/repository/web_editor.md @@ -25,6 +25,29 @@ When you are satisfied with your new file, click **Commit Changes** at the botto ![Create file editor](img/web_editor_new_file_editor.png) +### Template dropdowns + +When starting a new project, there are some common files which the new project +might need too. Therefore a message will be displayed by GitLab to make this +easy for you. + +![First file for your project](img/web_editor_template_dropdown_first_file.png) + +When clicking on either `LICENSE` or `.gitignore`, a dropdown will be displayed +to provide you with a template which might be suitable for your project. + +![MIT license selected](img/web_editor_template_dropdown_mit_license.png) + +The license, changelog, contribution guide, or `.gitlab-ci.yml` file could also +be added through a button on the project page. In the example below the license +has already been created, which creates a link to the license itself. + +![New file button](img/web_editor_template_dropdown_buttons.png) + +>**Note:** +The **Set up CI** button will not appear on an empty repository. You have to at +least add a file in order for the button to show up. + ## Upload a file The ability to create a file is great when the content is text. However, this @@ -147,5 +170,6 @@ you commit the changes you will be taken to a new merge request form. ![Start a new merge request with these changes](img/web_editor_start_new_merge_request.png) +![New file button](basicsimages/file_button.png) [ce-2808]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2808 [issue closing pattern]: ../customization/issue_closing.md |