mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[5.2.x] Fixed docs build on Sphinx 8.2+.
Backport of 2684a383bc from main.
			
			
This commit is contained in:
		
				
					committed by
					
						 Sarah Boyce
						Sarah Boyce
					
				
			
			
				
	
			
			
			
						parent
						
							9525135698
						
					
				
				
					commit
					79b1658494
				
			
							
								
								
									
										14
									
								
								docs/conf.py
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								docs/conf.py
									
									
									
									
									
								
							| @@ -9,7 +9,6 @@ | |||||||
| # All configuration values have a default; values that are commented out | # All configuration values have a default; values that are commented out | ||||||
| # serve to show the default. | # serve to show the default. | ||||||
|  |  | ||||||
| import functools |  | ||||||
| import sys | import sys | ||||||
| from os.path import abspath, dirname, join | from os.path import abspath, dirname, join | ||||||
|  |  | ||||||
| @@ -446,8 +445,11 @@ epub_cover = ("", "epub-cover.html") | |||||||
| # If false, no index is generated. | # If false, no index is generated. | ||||||
| # epub_use_index = True | # epub_use_index = True | ||||||
|  |  | ||||||
| linkcode_resolve = functools.partial( |  | ||||||
|     github_links.github_linkcode_resolve, | def version_github_linkcode_resolve(domain, info): | ||||||
|     version=version, |     return github_links.github_linkcode_resolve( | ||||||
|     next_version=django_next_version, |         domain, info, version=version, next_version=django_next_version | ||||||
| ) |     ) | ||||||
|  |  | ||||||
|  |  | ||||||
|  | linkcode_resolve = version_github_linkcode_resolve | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user