Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

put example code in documentation by using sandcastle

i'm generating documentation files from the xml comments of my c# code, by using sandcastle help file builder. do you know how to include code examples into the help file, like msdn style?

like image 986
aslisabanci Avatar asked Jun 09 '09 07:06

aslisabanci


1 Answers

Did you try the <example> and <code> tags? It should do what you want.

<summary> ... </summary>
<example>This is a code example:
  <code> ... </code>
</example>
like image 162
tanascius Avatar answered Nov 20 '22 16:11

tanascius