Skip to content

Commit adde620

Browse files
committed
docs: remove ordering from file names
1 parent 1840bfe commit adde620

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

docs/04 Authentication.md renamed to docs/Authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
aliases:
3-
- Authentication
3+
- 04 Authentication
44
---
55
# Linux
66

docs/07 Common issues.md renamed to docs/Common issues.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is an error occurring only on macOS. It's easy to fix though. Just run the
44

55
## Error: spansSync git ENOENT/ Cannot run Git command
66

7-
This occurs, when the plugin can't find the Git executable. It takes it from the PATH. Head over to [[02 Installation]] to see if everything is properly installed for your platform.
7+
This occurs, when the plugin can't find the Git executable. It takes it from the PATH. Head over to [[Installation]] to see if everything is properly installed for your platform.
88
If you think everything is correctly set up and the error still occurs try the following:
99

1010
In case you know where Git is installed, you can set the path under "Custom Git binary path" in the settings. If you don't know where Git is installed, you can try to find it by running the following in the terminal:
@@ -19,7 +19,7 @@ Run `which git` in the terminal. It should return the path to the Git executable
1919

2020
## Infinite pulling/pushing with no error
2121

22-
That's most time caused by authentication problems. Head over to [[04 Authentication]]
22+
That's most time caused by authentication problems. Head over to [[Authentication]]
2323

2424
## Bad owner or permissions on /home/<user>/.ssh/config
2525

docs/05 Features.md renamed to docs/Features.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Open it using the "Open Source Control View" command. It lists all current chang
77
- Switch between list and tree view using the button at the top
88
- Stage/Unstage all files
99
- Push/Pull
10-
- Commit and [[01 Start here#Backup|Backup]]
10+
- Commit and [[Start here#Backup|Backup]]
1111

1212
## History View
1313

1414
Open it using the "Open History View" command. It behaves like `git log` resulting in a list of the last commits. Each commit entry can be expanded to see the changed files in that commit. By clicking on a file, you can even see the specific diff.
1515

1616
## Line Authoring
1717

18-
For each line, view the last time, it was modified: [[08 Line Authoring|Line Authoring]]. Technically known as `git-blame`.
18+
For each line, view the last time, it was modified: [[Line Authoring|Line Authoring]]. Technically known as `git-blame`.
1919

2020
## Automatic Backup
2121

22-
See [[01 Start here#Backup|Backup]] for an explanation of the term. The goal of automatic Backups is that you can focus on taking notes and not to care about saving your work, because this plugin will take care of it.
22+
See [[Start here#Backup|Backup]] for an explanation of the term. The goal of automatic Backups is that you can focus on taking notes and not to care about saving your work, because this plugin will take care of it.
2323
There are multiple ways to trigger an automatic backup. The default is a basic interval, resulting in backing up your files every X minutes. Use the "Vault backup interval" setting for that. The interval works across Obsidian sessions to ensure the backup is always run. For example, if you set a 15 minutes interval, you don't have to keep Obsidian open for 15 minutes. If you close Obsidian before the interval end, the backup will automatically run the next time you start Obsidian.
2424

2525
Another method is to enable "Auto backup after file change". This waits X minutes after your last change for the backup. This is useful if you don't want to get interrupted by a backup while typing.

docs/03 Getting Started.md renamed to docs/Getting Started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
## For existing remote repository
44

5-
For cloning you have to use an remote url. This can be one of two protocols. Either `https` or `ssh`. This depends on your choosen [[04 Authentication]] method.
5+
For cloning you have to use an remote url. This can be one of two protocols. Either `https` or `ssh`. This depends on your choosen [[Authentication]] method.
66
`https`: `https://github.com/<username>/<repo>.git`
77
`ssh`: `git@github.com:<username>/<repo>.git`
88

9-
1. Follow the [[02 Installation]] instructions for your operating system
10-
2. Setup [[04 Authentication]]
9+
1. Follow the [[Installation]] instructions for your operating system
10+
2. Setup [[Authentication]]
1111
3. Git can only clone a remote repo in a new folder. Thus you have two options
1212
- Use the "Clone an exising remote repository" command to clone your repo into a subfolder of your vault. You then have again two choices
1313
- Move all your files from the new folder (including `.git` !) into your vault root.

docs/02 Installation.md renamed to docs/Installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
aliases:
3-
- Installation
3+
- 02 Installation
44
---
55

66
> [!important]
File renamed without changes.

docs/01 Start here.md renamed to docs/Start here.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
22
aliases:
3-
- Start here
3+
- 01 Start here
44
---
55

66
# Obsidian-Git Documentation
77

88
## Topics
9-
- [[02 Installation|Installation]]
10-
- [[03 Getting Started|Getting Started]]
11-
- [[04 Authentication|Authentication]]
12-
- [[05 Features|Features]]
13-
- [[06 Tips-and-Tricks|Tips-and-Tricks]]
14-
- [[07 Common issues|Common Issues]]
15-
- [[08 Line Authoring|Line Authoring]]
9+
- [[Installation|Installation]]
10+
- [[Getting Started|Getting Started]]
11+
- [[Authentication|Authentication]]
12+
- [[Features|Features]]
13+
- [[Tips-and-Tricks|Tips-and-Tricks]]
14+
- [[Common issues|Common Issues]]
15+
- [[Line Authoring|Line Authoring]]
1616

1717
> [!warning] Obsidian installation on Linux
18-
> Please don't use Flatpak or Snap to install Obsidian on Linux. Learn more [[02 Installation#Linux|here]]
18+
> Please don't use Flatpak or Snap to install Obsidian on Linux. Learn more [[Installation#Linux|here]]
1919
2020

2121
## What is Git?
File renamed without changes.

src/setting/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { convertToRgb, rgbToString } from "src/utils";
2828
const FORMAT_STRING_REFERENCE_URL =
2929
"https://momentjs.com/docs/#/parsing/string-format/";
3030
const LINE_AUTHOR_FEATURE_WIKI_LINK =
31-
"https://publish.obsidian.md/git-doc/08+Line+Authoring";
31+
"https://publish.obsidian.md/git-doc/Line+Authoring";
3232

3333
export class ObsidianGitSettingsTab extends PluginSettingTab {
3434
lineAuthorColorSettings: Map<"oldest" | "newest", Setting> = new Map();

0 commit comments

Comments
 (0)