Improve docs "Edit Document" footer
This commit is contained in:
		
							parent
							
								
									1ac99586a6
								
							
						
					
					
						commit
						3c190f8927
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -82,9 +82,9 @@
 | 
			
		|||
                .replace('raw.githubusercontent.com', 'github.com')
 | 
			
		||||
                .replace(/\/master/, '/blob/master')
 | 
			
		||||
            } else {
 | 
			
		||||
              url = 'https://github.com/qmk/qmk_firmware/blob/master/docs/' + vm.route.file
 | 
			
		||||
              url = 'https://github.com/qmk/qmk_firmware/edit/master/docs/' + vm.route.file
 | 
			
		||||
            }
 | 
			
		||||
            var editHtml = '[:memo: Edit Document](' + url + ')\n'
 | 
			
		||||
            var editHtml = ':pencil2: [Edit this page](' + url + ')\n'
 | 
			
		||||
            return html
 | 
			
		||||
              + '\n\n----\n\n'
 | 
			
		||||
              + editHtml
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue