fix url bug
This commit is contained in:
		
							parent
							
								
									6acdbb7597
								
							
						
					
					
						commit
						8d2ae687bb
					
				| @ -12,3 +12,12 @@ | |||||||
|       If you're building a production app today, please |       If you're building a production app today, please | ||||||
|       <a href="https://docs.angularjs.org/api">use Angular 1.X</a>. |       <a href="https://docs.angularjs.org/api">use Angular 1.X</a>. | ||||||
|       These versions of Angular are production ready and available today. |       These versions of Angular are production ready and available today. | ||||||
|  | 
 | ||||||
|  | number = 1; | ||||||
|  | ul | ||||||
|  |   for page, slug in public.docs[current.path[1]][current.path[2]].api._data | ||||||
|  |     url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + slug + ".html" | ||||||
|  |     num = number++ | ||||||
|  | 
 | ||||||
|  |     li.c8 | ||||||
|  |       != partial("../../../_includes/_hover-card", { number: num, name: page.title, url: url }) | ||||||
|  | |||||||
| @ -3,7 +3,7 @@ ul | |||||||
|   for page, slug in public.docs[current.path[1]][current.path[2]].guide._data |   for page, slug in public.docs[current.path[1]][current.path[2]].guide._data | ||||||
| 
 | 
 | ||||||
|     if slug != '_listtype' |     if slug != '_listtype' | ||||||
|       url = "/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" |       url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + slug + ".html" | ||||||
|       num = number++ |       num = number++ | ||||||
| 
 | 
 | ||||||
|       li.c8 |       li.c8 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user