mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-11-03 01:13:18 +03:00 
			
		
		
		
	We've seen a lot of issues recently where people complain that lazygit doesn't behave as documented, but that was only because they were running the latest release but were looking at the documentation of master. Make the documentation links in the status panel point to the release that they are using in the hope that this will help a little bit with this problem.
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
package constants
 | 
						|
 | 
						|
type Docs struct {
 | 
						|
	CustomPagers      string
 | 
						|
	CustomCommands    string
 | 
						|
	CustomKeybindings string
 | 
						|
	Keybindings       string
 | 
						|
	Undoing           string
 | 
						|
	Config            string
 | 
						|
	Tutorial          string
 | 
						|
	CustomPatchDemo   string
 | 
						|
}
 | 
						|
 | 
						|
var Links = struct {
 | 
						|
	Docs        Docs
 | 
						|
	Issues      string
 | 
						|
	Donate      string
 | 
						|
	Discussions string
 | 
						|
	RepoUrl     string
 | 
						|
	Releases    string
 | 
						|
}{
 | 
						|
	RepoUrl:     "https://github.com/jesseduffield/lazygit",
 | 
						|
	Issues:      "https://github.com/jesseduffield/lazygit/issues",
 | 
						|
	Donate:      "https://github.com/sponsors/jesseduffield",
 | 
						|
	Discussions: "https://github.com/jesseduffield/lazygit/discussions",
 | 
						|
	Releases:    "https://github.com/jesseduffield/lazygit/releases",
 | 
						|
	Docs: Docs{
 | 
						|
		CustomPagers:      "https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Pagers.md",
 | 
						|
		CustomKeybindings: "https://github.com/jesseduffield/lazygit/blob/master/docs/keybindings/Custom_Keybindings.md",
 | 
						|
		CustomCommands:    "https://github.com/jesseduffield/lazygit/wiki/Custom-Commands-Compendium",
 | 
						|
		Keybindings:       "https://github.com/jesseduffield/lazygit/blob/%s/docs/keybindings",
 | 
						|
		Undoing:           "https://github.com/jesseduffield/lazygit/blob/master/docs/Undoing.md",
 | 
						|
		Config:            "https://github.com/jesseduffield/lazygit/blob/%s/docs/Config.md",
 | 
						|
		Tutorial:          "https://youtu.be/VDXvbHZYeKY",
 | 
						|
		CustomPatchDemo:   "https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches",
 | 
						|
	},
 | 
						|
}
 |