You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
README: clarify how to start working on this site locally
The information was all there, but a couple of concrete commands that
can be copy/pasted go a long way to be even more helpful.
Co-authored-by: Taylor Blau <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,15 @@ This site is built with [Hugo](https://gohugo.io/) and served via GitHub Pages.
8
8
9
9
## Local development setup
10
10
11
-
It is highly recommended to clone this repository using [`scalar`](https://git-scm.com/docs/scalar); This allows to work only on the parts of the repository relevant to your interests. You can select which directories are checked out using the [`git sparse-checkout add <directory>...`](https://git-scm.com/docs/git-sparse-checkout) command. The relevant directories are:
11
+
> [!NOTE]
12
+
> It is highly recommended to clone this repository using [`scalar`](https://git-scm.com/docs/scalar); This allows to work only on the parts of the repository relevant to your interests. You can select which directories are checked out using the [`git sparse-checkout add <directory>...`](https://git-scm.com/docs/git-sparse-checkout) command. Typically, you will want to start like this:
13
+
14
+
```ShellSession
15
+
$ scalar clone https://github.com/git/git-scm.com
16
+
$ cd git-scm.com/src
17
+
$ git sparse-checkout set layouts content static assets hugo.yml data script
18
+
19
+
Here is a detailed list of the relevant directories:
12
20
13
21
- If you want to test any page rendering using Hugo:
0 commit comments