mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	gen_api_vimdoc.py: support Doxygen @note
This commit is contained in:
		| @@ -217,7 +217,12 @@ def parse_para(parent, width=62): | |||||||
|                                       width=width) + '\n') |                                       width=width) + '\n') | ||||||
|             elif child.nodeName == 'simplesect': |             elif child.nodeName == 'simplesect': | ||||||
|                 kind = child.getAttribute('kind') |                 kind = child.getAttribute('kind') | ||||||
|                 if kind == 'return': |                 if kind == 'note': | ||||||
|  |                     lines.append('Note:') | ||||||
|  |                     lines.append(doc_wrap(parse_para(child), | ||||||
|  |                                           prefix='    ', | ||||||
|  |                                           width=width)) | ||||||
|  |                 elif kind == 'return': | ||||||
|                     lines.append('%s:~' % kind.title()) |                     lines.append('%s:~' % kind.title()) | ||||||
|                     lines.append(doc_wrap(parse_para(child), |                     lines.append(doc_wrap(parse_para(child), | ||||||
|                                           prefix='    ', |                                           prefix='    ', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Justin M. Keyes
					Justin M. Keyes