mirror of
				https://github.com/facebookresearch/pytorch3d.git
				synced 2025-11-04 18:02:14 +08:00 
			
		
		
		
	update conf.py for readthedocs
Summary: Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/4 Differential Revision: D19546949 Pulled By: nikhilaravi fbshipit-source-id: ce30785322a60c408fd6aa2f1cd3eb5d07015c7b
This commit is contained in:
		
							parent
							
								
									dbf06b504b
								
							
						
					
					
						commit
						349a499f33
					
				
							
								
								
									
										10
									
								
								docs/conf.py
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								docs/conf.py
									
									
									
									
									
								
							@ -16,8 +16,6 @@
 | 
				
			|||||||
import os
 | 
					import os
 | 
				
			||||||
import sys
 | 
					import sys
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import pytorch3d  # isort: skip
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
import mock
 | 
					import mock
 | 
				
			||||||
from recommonmark.parser import CommonMarkParser
 | 
					from recommonmark.parser import CommonMarkParser
 | 
				
			||||||
from recommonmark.states import DummyStateMachine
 | 
					from recommonmark.states import DummyStateMachine
 | 
				
			||||||
@ -55,11 +53,6 @@ DEPLOY = os.environ.get("READTHEDOCS") == "True"
 | 
				
			|||||||
needs_sphinx = "1.7"
 | 
					needs_sphinx = "1.7"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The short X.Y version
 | 
					 | 
				
			||||||
version = pytorch3d.__version__
 | 
					 | 
				
			||||||
# The full version, including alpha/beta/rc tags
 | 
					 | 
				
			||||||
release = version
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
try:
 | 
					try:
 | 
				
			||||||
    import torch  # noqa
 | 
					    import torch  # noqa
 | 
				
			||||||
except ImportError:
 | 
					except ImportError:
 | 
				
			||||||
@ -87,6 +80,9 @@ project = "PyTorch3D"
 | 
				
			|||||||
copyright = "2019, facebookresearch"
 | 
					copyright = "2019, facebookresearch"
 | 
				
			||||||
author = "facebookresearch"
 | 
					author = "facebookresearch"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# The short X.Y version
 | 
				
			||||||
 | 
					version = "v0.1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The full version, including alpha/beta/rc tags
 | 
					# The full version, including alpha/beta/rc tags
 | 
				
			||||||
release = "v0.1"
 | 
					release = "v0.1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user