Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Bajao <ebajao@gitlab.com>2019-04-01 11:01:28 +0300
committerPatrick Bajao <ebajao@gitlab.com>2019-04-02 17:07:16 +0300
commita03fa93da22c5dfece9c411ad9733a0978dede09 (patch)
treec8137af9365beb59f7abe21e09a6c225bce916fd /doc/user/project/repository
parentc0eb5cd7a24544b9dea8ace77e15d79995475b85 (diff)
Add documentation for download source code feature
Diffstat (limited to 'doc/user/project/repository')
-rw-r--r--doc/user/project/repository/img/download_source_code.pngbin0 -> 62871 bytes
-rw-r--r--doc/user/project/repository/index.md20
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/user/project/repository/img/download_source_code.png b/doc/user/project/repository/img/download_source_code.png
new file mode 100644
index 00000000000..6c0c31af2ad
--- /dev/null
+++ b/doc/user/project/repository/img/download_source_code.png
Binary files differ
diff --git a/doc/user/project/repository/index.md b/doc/user/project/repository/index.md
index 22d912cd9d1..ffb1d77f67c 100644
--- a/doc/user/project/repository/index.md
+++ b/doc/user/project/repository/index.md
@@ -241,4 +241,24 @@ Projects that contain a `.xcodeproj` or `.xcworkspace` directory can now be clon
in Xcode using the new **Open in Xcode** button, located next to the Git URL
used for cloning your project. The button is only shown on macOS.
+## Download Source Code
+
+Source code stored in the repository can be downloaded.
+
+By clicking the download icon, a dropdown will open with links to download the following:
+
+![Download source code](img/download_source_code.png)
+
+- **Directory:**
+ > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/24704) in GitLab 11.10
+
+ Only shows up when viewing a sub-directory. This allows users to download
+ the specific directory they're currently viewing. Available in zip, tar, tar.gz
+ and tar.bz2.
+- **Source Code:**
+ This allows users to download the source code on branch they're currently
+ viewing. Also available zip, tar, tar.gz and tar.bz2.
+- **Artifacts:**
+ This allows users to download the artifacts of the latest CI build.
+
[jupyter]: https://jupyter.org