mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Add reST target for Doc/packaging/setupcfg
This commit is contained in:
		
							parent
							
								
									088025fc5b
								
							
						
					
					
						commit
						823759e767
					
				
					 2 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,5 @@
 | 
			
		|||
.. TODO integrate this in commandref and configfile
 | 
			
		||||
 | 
			
		||||
=============
 | 
			
		||||
Command hooks
 | 
			
		||||
=============
 | 
			
		||||
| 
						 | 
				
			
			@ -9,6 +11,9 @@ The pre-hooks are run after the command is finalized (its options are
 | 
			
		|||
processed), but before it is run. The post-hooks are run after the command
 | 
			
		||||
itself. Both types of hooks receive an instance of the command object.
 | 
			
		||||
 | 
			
		||||
See also global setup hooks in :ref:`packaging-setupcfg`.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Sample usage of hooks
 | 
			
		||||
=====================
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,7 @@
 | 
			
		|||
.. highlightlang:: cfg
 | 
			
		||||
 | 
			
		||||
.. _packaging-setupcfg:
 | 
			
		||||
 | 
			
		||||
*******************************************
 | 
			
		||||
Specification of the :file:`setup.cfg` file
 | 
			
		||||
*******************************************
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue