Follow the new PTI for document build
For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I7615e33c0d00c56b3ee6cb856a0553e32a1664c6
This commit is contained in:
		
							
								
								
									
										4
									
								
								doc/requirements.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								doc/requirements.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| # These are needed for docs generation | ||||
| openstackdocstheme>=1.17.0 # Apache-2.0 | ||||
| reno>=2.5.0 # Apache-2.0 | ||||
| sphinx>=1.6.2 # BSD | ||||
| @@ -7,10 +7,7 @@ coverage!=4.4,>=4.0 # Apache-2.0 | ||||
| ddt>=1.0.1 # MIT | ||||
| fixtures>=3.0.0 # Apache-2.0/BSD | ||||
| mock>=2.0.0 # BSD | ||||
| openstackdocstheme>=1.17.0 # Apache-2.0 | ||||
| reno>=2.5.0 # Apache-2.0 | ||||
| requests-mock>=1.1.0 # Apache-2.0 | ||||
| sphinx>=1.6.2 # BSD | ||||
| tempest>=17.1.0 # Apache-2.0 | ||||
| testtools>=2.2.0 # MIT | ||||
| testrepository>=0.0.18 # Apache-2.0/BSD | ||||
|   | ||||
							
								
								
									
										11
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								tox.ini
									
									
									
									
									
								
							| @@ -48,10 +48,17 @@ commands = | ||||
|     coverage xml -o cover/coverage.xml | ||||
|  | ||||
| [testenv:docs] | ||||
| commands= | ||||
|     python setup.py build_sphinx | ||||
| deps = | ||||
|   -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} | ||||
|   -r{toxinidir}/requirements.txt | ||||
|   -r{toxinidir}/doc/requirements.txt | ||||
| commands = sphinx-build -b html doc/source doc/build/html | ||||
|  | ||||
| [testenv:releasenotes] | ||||
| deps = | ||||
|   -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} | ||||
|   -r{toxinidir}/requirements.txt | ||||
|   -r{toxinidir}/doc/requirements.txt | ||||
| commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html | ||||
|  | ||||
| [testenv:functional] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jiansong
					jiansong