Skip to content

Commit 5e9ed09

Browse files
quark-zjumeta-codesync[bot]
authored andcommitted
website: use sentence case in Sapling docs headings
Summary: Historically, we use "Foo bar", not "Foo Bar", title. https://developers.google.com/style/capitalization Update non-generated Sapling docs headings and sidebar labels to use sentence case while preserving proper nouns. Reviewed By: genevievehelsel Differential Revision: D104288661 fbshipit-source-id: 8b7310614665a35601a678005a3d08276eb68acd
1 parent 9e9a271 commit 5e9ed09

9 files changed

Lines changed: 12 additions & 12 deletions

File tree

website/docs/addons/isl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 10
44

55
import {Video, Command, SLCommand, ThemedImage} from '@site/elements'
66

7-
# Interactive Smartlog (ISL)
7+
# Interactive smartlog (ISL)
88

99
Interactive Smartlog (ISL) is a web-based, graphical interface for working with your Sapling smartlog. It is available as part of Sapling Web, which you can launch from the command line as follows:
1010

website/docs/dev/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"label": "Developer Guide",
2+
"label": "Developer guide",
33
"position": 7
44
}

website/docs/dev/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Sapling Developer Guide
1+
# Sapling developer guide
22

33
This is a Work-In-Progress! Content below might be rewritten entirely.
44

website/docs/dev/internals/copytracing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Bisect-Based Copy Tracing
1+
# Bisect-based copy tracing
22

33
*Copy tracing* is a technique used to efficiently account for file copies and
44
renames when comparing histories. It is used for `diff` commands and merge-related
@@ -83,7 +83,7 @@ Bisect-based copy tracing is built to achieve the following desired properties:
8383
- **Abstracted**: Support both Sapling and Git backend repositories.
8484
- **Efficiency**: Provides fast content similarity checks for cases where renames
8585
are not recorded in Sapling or when working with Git repositories.
86-
- **User-Friendly**: Informative message when renames cannot be found, such as
86+
- **User-friendly**: Informative message when renames cannot be found, such as
8787
delete/modified conflicts.
8888

8989
## How?
@@ -118,7 +118,7 @@ where N is the line count (`O(N^2)` is the worst case for the Myers diff algorit
118118
Our approach, `xdiff::edit_cost`, imposes a `max cost` limit, reducing the
119119
complexity to `O(N)`.
120120

121-
### User-Friendly
121+
### User-friendly
122122
When renames cannot be found, for example, file `a.txt` was renamed to `a.md`
123123
and then deleted on the destination branch, the new copy tracing can identify
124124
both the commit that renamed the file and also the commit that eventually

website/docs/git/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"label": "Git Interop",
2+
"label": "Git interop",
33
"position": 4,
44
"link": {
55
"type": "generated-index",

website/docs/git/signing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ sidebar_position: 4
44

55
import {SLCommand} from '@site/elements'
66

7-
# Signing Commits
7+
# Signing commits
88

99
Currently, signing is only supported with commits in Git repos. See [Git's documentation on "Signing Your Work" for more context](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work). Sapling supports GPG, SSH, and X.509 (S/MIME) signing backends.
1010

11-
## Identity Configuration (GPG)
11+
## Identity configuration (GPG)
1212

1313
When using GPG signing, Sapling has a single configuration for your identity:
1414

website/docs/overview/smartlog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ o <span class="sl-public">a75ab860a</span> Jul 15 at 07:59<br />
6464
~<br />
6565
</pre>
6666

67-
### Super Smartlog
67+
### Super smartlog
6868

6969
Sapling can also fetch information about the repository from external sources, such as checking GitHub to know if a pull request has passed automated tests and been reviewed. Since this extra information requires waiting a few seconds for network requests, we have a separate <SLCommand name="ssl" /> alias for this:
7070

website/docs/scale/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"label": "Working at Scale",
2+
"label": "Working at scale",
33
"position": 6,
44
"link": {
55
"type": "generated-index"

website/docs/scale/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ failures, we back up all commits as they are created to our "commit cloud".
3535
Unlike other systems, the developer doesn't have to expressly push their
3636
commits for them to be shareable and durable.
3737

38-
## Note about "Distributed"
38+
## Note about "distributed"
3939

4040
Sapling started from Mercurial as a distributed source control system, it then
4141
transitioned to a client-server architecture to solve the challenges.

0 commit comments

Comments
 (0)