diff options
author | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-06-22 22:56:15 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-09-02 13:03:52 +0200 |
commit | 05c22ca3e0a4db1cd4b23376bb2b61cc0e877eff (patch) | |
tree | 648f700e944ef08d351ce880bdfc5fecf2d8620e /doc/gitlab-basics | |
parent | faac71215789cb8224c14be0a4fcbe252a99fa4f (diff) | |
download | gitlab-ce-05c22ca3e0a4db1cd4b23376bb2b61cc0e877eff.tar.gz |
Add documentation on template dropdowns
Diffstat (limited to 'doc/gitlab-basics')
-rw-r--r-- | doc/gitlab-basics/add-file.md | 16 | ||||
-rw-r--r-- | doc/gitlab-basics/basicsimages/file_button.png | bin | 0 -> 14131 bytes | |||
-rw-r--r-- | doc/gitlab-basics/basicsimages/first_file.png | bin | 0 -> 25748 bytes | |||
-rw-r--r-- | doc/gitlab-basics/basicsimages/mit_license.png | bin | 0 -> 101405 bytes |
4 files changed, 13 insertions, 3 deletions
diff --git a/doc/gitlab-basics/add-file.md b/doc/gitlab-basics/add-file.md index 57136ac5c39..e1e55a43de4 100644 --- a/doc/gitlab-basics/add-file.md +++ b/doc/gitlab-basics/add-file.md @@ -26,6 +26,16 @@ Add a commit message based on what you just added and then click on "commit chan ![Commit changes](basicsimages/commit_changes.png) -### Note -Besides its regular files, every directory needs a README.md or README.html file which works like an index, telling -what the directory is about. It's the first document you'll find when you open a directory. +# On a new project + +When starting a new project, there are some common files which the new project might need too. Therefor a message will be displayed by GitLab to make this easy for you. + +![First file for your project](basicsimages/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](basicsimages/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](basicsimages/file_button.png) diff --git a/doc/gitlab-basics/basicsimages/file_button.png b/doc/gitlab-basics/basicsimages/file_button.png Binary files differnew file mode 100644 index 00000000000..4efc51cc423 --- /dev/null +++ b/doc/gitlab-basics/basicsimages/file_button.png diff --git a/doc/gitlab-basics/basicsimages/first_file.png b/doc/gitlab-basics/basicsimages/first_file.png Binary files differnew file mode 100644 index 00000000000..67190c58823 --- /dev/null +++ b/doc/gitlab-basics/basicsimages/first_file.png diff --git a/doc/gitlab-basics/basicsimages/mit_license.png b/doc/gitlab-basics/basicsimages/mit_license.png Binary files differnew file mode 100644 index 00000000000..3695a11e34c --- /dev/null +++ b/doc/gitlab-basics/basicsimages/mit_license.png |