From 05c22ca3e0a4db1cd4b23376bb2b61cc0e877eff Mon Sep 17 00:00:00 2001 From: "Z.J. van de Weg" Date: Wed, 22 Jun 2016 22:56:15 +0200 Subject: Add documentation on template dropdowns --- doc/gitlab-basics/add-file.md | 16 +++++++++++++--- doc/gitlab-basics/basicsimages/file_button.png | Bin 0 -> 14131 bytes doc/gitlab-basics/basicsimages/first_file.png | Bin 0 -> 25748 bytes doc/gitlab-basics/basicsimages/mit_license.png | Bin 0 -> 101405 bytes 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 doc/gitlab-basics/basicsimages/file_button.png create mode 100644 doc/gitlab-basics/basicsimages/first_file.png create mode 100644 doc/gitlab-basics/basicsimages/mit_license.png (limited to 'doc/gitlab-basics') 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 new file mode 100644 index 00000000000..4efc51cc423 Binary files /dev/null and b/doc/gitlab-basics/basicsimages/file_button.png differ diff --git a/doc/gitlab-basics/basicsimages/first_file.png b/doc/gitlab-basics/basicsimages/first_file.png new file mode 100644 index 00000000000..67190c58823 Binary files /dev/null and b/doc/gitlab-basics/basicsimages/first_file.png differ diff --git a/doc/gitlab-basics/basicsimages/mit_license.png b/doc/gitlab-basics/basicsimages/mit_license.png new file mode 100644 index 00000000000..3695a11e34c Binary files /dev/null and b/doc/gitlab-basics/basicsimages/mit_license.png differ -- cgit v1.2.1