mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-10-31 16:07:27 +03:00 
			
		
		
		
	Fixed rtd docs generation
This commit is contained in:
		
							parent
							
								
									a0d07343e1
								
							
						
					
					
						commit
						94d46f7960
					
				|  | @ -1,3 +1,7 @@ | |||
| import os | ||||
| 
 | ||||
| on_rtd = os.environ.get('READTHEDOCS', None) == 'True' | ||||
| 
 | ||||
| # -*- coding: utf-8 -*- | ||||
| # | ||||
| # Graphene documentation build configuration file, created by | ||||
|  | @ -35,6 +39,9 @@ extensions = [ | |||
|     'sphinx.ext.todo', | ||||
|     'sphinx.ext.coverage', | ||||
|     'sphinx.ext.viewcode', | ||||
| ] | ||||
| if not on_rtd: | ||||
|     extensions += [ | ||||
|         'sphinx.ext.githubpages', | ||||
|     ] | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user