From: Claudio Bley Date: Tue, 22 Jan 2013 12:45:11 +0000 (+0100) Subject: docs: process code blocks similar to Markdown X-Git-Tag: v1.1.4-rc2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8213f6c38e2fc48e5ea37c8fb512b17d070c07fd;p=thirdparty%2Flibvirt.git docs: process code blocks similar to Markdown Wrap pre-formatted example code in elements. This works similar to Markdown[1] code blocks[2]: Every line indented with at least 2 spaces is considered a code block and gets wrapped in
 and  tags.

Look at the documentation for e.g. virStreamSend for before-and-after
effects.

[1] http://daringfireball.net/projects/markdown/
[2] http://daringfireball.net/projects/markdown/syntax#precode
---

diff --git a/docs/newapi.xsl b/docs/newapi.xsl
index 7fa0f26889..d62839ad6f 100644
--- a/docs/newapi.xsl
+++ b/docs/newapi.xsl
@@ -150,6 +150,67 @@
     
   
 
+
+  
+  
+  
+  
+  
+  
+  
+    
+    
+
+    
+
+    
+      
+        
+          
+            
+              
+                
+              
+              
+                
+              
+            
+          
+          
+        
+      
+      
+        

+          
+            
+              
+            
+            
+              
+            
+          
+          
+            

+          
+        
+
+ +

+ + + +

+
+
+ + + + + +
+ @@ -157,28 +218,19 @@ - - -

- - - -

-
- -

- - - -

-
-
- - - - - - + + + + + + + + + + + + +