mirror of
				https://github.com/python/cpython.git
				synced 2025-11-01 06:01:29 +00:00 
			
		
		
		
	Switch to new "lighter" doc design.
This commit is contained in:
		
							parent
							
								
									11ee31ab08
								
							
						
					
					
						commit
						ab7121430e
					
				
					 4 changed files with 9 additions and 4 deletions
				
			
		|  | @ -27,10 +27,10 @@ def new_visit_versionmodified(self, node): | |||
|     self.body.append(self.starttag(node, 'p', CLASS=node['type'])) | ||||
|     text = versionlabels[node['type']] % node['version'] | ||||
|     if len(node): | ||||
|         text += ': ' | ||||
|         text += ':' | ||||
|     else: | ||||
|         text += '.' | ||||
|     self.body.append('<span class="versionmodified">%s</span>' % text) | ||||
|     self.body.append('<span class="versionmodified">%s</span> ' % text) | ||||
| 
 | ||||
| from sphinx.writers.html import HTMLTranslator | ||||
| from sphinx.locale import versionlabels | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl