Skip to content

Commit c8bd8aa

Browse files
committed
Merge branch 'book-v1-redirects' into gh-pages
Let's integrate this into my fork so that it is deployed to https://dscho.github.io/git-scm.com (to be able to play around with it). Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 8fceddf + 89215af commit c8bd8aa

File tree

1,399 files changed

+34649
-423
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,399 files changed

+34649
-423
lines changed

.github/workflows/update-book.yml

+3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ jobs:
5252
with:
5353
sparse-checkout: |
5454
script
55+
data/
5556
external/book/sync
5657
external/book/data
5758
external/book/content/book/${{ matrix.language.lang }}
59+
external/book/content/book${{ matrix.language.lang != 'en' && '/en' || '' }}
60+
external/book/content/book${{ matrix.language.lang != 'en' && '/en' || 'v1' }}
5861
external/book/static/book/${{ matrix.language.lang }}
5962
- name: clone ${{ matrix.language.repository }}
6063
run: |

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This site is built with [Hugo](https://gohugo.io/) and served via GitHub Pages.
1515
$ scalar clone https://github.com/git/git-scm.com
1616
$ cd git-scm.com/src
1717
$ git sparse-checkout set layouts content static assets hugo.yml data script
18+
```
1819

1920
If your Git installation comes without `scalar`, you can create a sparse, partial clone manually, like this:
2021

@@ -24,6 +25,7 @@ $ cd git-scm.com
2425
$ git sparse-checkout set layouts content static assets hugo.yml data script
2526
$ git reset --hard
2627
```
28+
2729
> [!NOTE]
2830
> If you _already_ have a full clone and wish to accelerate development by focusing only on a small subset of the pages, you may want to run the `git sparse-checkout set [...]` command mentioned above.
2931

assets/sass/sidebar.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ aside.sidebar.active {
5151
border: none;
5252
left: 0;
5353
width: 1.6rem;
54-
&:focus + .sidebar {
55-
@include responsive-sidebar-ui;
56-
}
54+
}
55+
.sidebar-btn:focus + .sidebar, .sidebar:focus-within {
56+
@include responsive-sidebar-ui;
5757
}
5858
aside{
5959
&.sidebar {

content/downloads/guis/_index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h1>GUI Clients</h1>
1515
Git comes with built-in GUI tools for committing (<a href="{{< relurl "docs/git-gui" >}}">git-gui</a>) and browsing (<a href="{{< relurl "docs/gitk" >}}">gitk</a>), but there are several third-party tools for users looking for platform-specific experience.
1616
</p>
1717
<p>
18-
<small>If you want to add another GUI tool to this list, just <a href="https://github.com/git/git-scm.com/blob/main/README.md#adding-new-gui">follow the instructions</a>.</small>
18+
<small>If you want to add another GUI tool to this list, just <a href="https://github.com/git/git-scm.com/blob/main/README.md#adding-a-new-gui">follow the instructions</a>.</small>
1919
</p>
2020

2121
<p>

content/downloads/linux.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3>Debian/Ubuntu</h3>
1717
<p>For the latest stable version for your release of Debian/Ubuntu</p>
1818
<code># apt-get install git</code>
1919
<p>For Ubuntu, this PPA provides the latest stable upstream Git version</p>
20-
<code># add-apt-repository ppa:git-core/ppa</code>
20+
<code># add-apt-repository ppa:git-core/ppa</code><br>
2121
<code># apt update; apt install git</code>
2222

2323
<h3>Fedora</h3>

content/site/_index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<h1>About git-scm.com</h1>
1010

1111
This site is open source and maintained by members of the Git
12-
community. We welcome patches, suggestions, and corrections.
12+
community. We welcome patches, suggestions, and corrections.
1313

1414
<h2>Open Source</h2>
1515

1616
The content on this site is pulled from multiple sources. It is
17-
available under various licenses, and bugs reports should be directed
17+
available under various licenses, and bug reports should be directed
1818
to the appropriate repositories:
1919

2020
<ul>
@@ -81,6 +81,6 @@ <h2>Sponsors</h2>
8181
</ul>
8282

8383
For a detailed view of the site's network layout, see our
84-
<a href="https://github.com/git/git-scm.com/blob/main/ARCHITECTURE.md">architecture document</a>.
84+
<a href="https://github.com/git/git-scm.com/blob/gh-pages/ARCHITECTURE.md">architecture document</a>.
8585

8686
</div>

0 commit comments

Comments
 (0)