<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/</id><updated>2023-12-07T09:59:00.578000Z</updated><subtitle>Recent posts to documentation in function block</subtitle><entry><title>documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#f292" rel="alternate"/><published>2023-12-07T09:59:00.578000Z</published><updated>2023-12-07T09:59:00.578000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/</uri></author><id>https://forge.codesys.com55b67a20961b20a28a2b62f82c42cb2bd9e5c481</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Using &lt;br/&gt; did it for me in CODESYS 3.5.19&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;// 2023-12-05   Line 1&amp;lt;br&amp;gt;&lt;/span&gt;
&lt;span class="c1"&gt;// 2023-12-06   Line 2&amp;lt;br&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;shows up in Library Manager with line breaks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#6d7a" rel="alternate"/><published>2020-03-04T16:49:14.233000Z</published><updated>2020-03-04T16:49:14.233000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com0ebd7d4cc04c6f191ee1f963f8e55ab04da2a7b8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It turns out I had to do a couple thing:&lt;br/&gt;
I had added DocFormat: reStructuredText to Project Information/Properties, but I had to remove the library from my project and re-add it before it started generating documentation&lt;br/&gt;
"| " generates a new line, but it needs to have a space after it&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#242c" rel="alternate"/><published>2020-02-29T03:32:46.187000Z</published><updated>2020-02-29T03:32:46.187000Z</updated><author><name>rickj</name><uri>https://forge.codesys.com/u/rickj/</uri></author><id>https://forge.codesys.comd923641c8cb110b805f46a14a4e5b604a8f536b9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Try placing a blank line between.  Blank line is recognized in reST as a paragraph break.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#357a" rel="alternate"/><published>2020-02-28T15:48:58.328000Z</published><updated>2020-02-28T15:48:58.328000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com544523f570d6f72bdbfddf649cf9a1f69b5f1711</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've read through all the help files on reStructuredText, added the property to the library, but nothing seems to make a difference.  I wonder if it's something to do with Schneider Machine Expert.&lt;br/&gt;
This guy seemed to have the same problem, &lt;a href="https://forge.codesys.com/forge/talk/Engineering/thread/cfdb933870/"&gt;https://forge.codesys.com/forge/talk/Engineering/thread/cfdb933870/&lt;/a&gt; but that was last updated in 2013.  Machine Expert uses Codesys 3.5.12.80.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#c6a7" rel="alternate"/><published>2020-02-27T13:53:32.098000Z</published><updated>2020-02-27T13:53:32.098000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com0a88eafa19bb3446ecaf9024accceb17e695a6d1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="" href="https://help.codesys.com/webapp/checklist;product=LibDevSummary;version=3.5.15.0" rel="nofollow"&gt;https://help.codesys.com/webapp/checkli ... n=3.5.15.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is the checklist which has a check for "The Property “DocFormat” has been set to the value “reStructuredText”."&lt;br/&gt;
Among other things.&lt;/p&gt;
&lt;p&gt;Then make sure you check POUs, then install to lib repository.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#a7de" rel="alternate"/><published>2020-02-27T13:53:31.929000Z</published><updated>2020-02-27T13:53:31.929000Z</updated><author><name>alejho</name><uri>https://forge.codesys.com/u/alejho/</uri></author><id>https://forge.codesys.com44e166e1978fded6c25449a68b734dd37d15284d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I think you're missing something...I did a test and it works!&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CODESYS_forum.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=5240"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#74b8" rel="alternate"/><published>2020-02-27T13:53:31.374000Z</published><updated>2020-02-27T13:53:31.374000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.comcdf5a43c36c686a5c28d3dcf19111e0a706208ab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;thanks for the reply, but this does not work&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#c089" rel="alternate"/><published>2020-02-27T13:53:31.177000Z</published><updated>2020-02-27T13:53:31.177000Z</updated><author><name>alejho</name><uri>https://forge.codesys.com/u/alejho/</uri></author><id>https://forge.codesys.com31427b1fc0ddee57f5a7a8ac89555742a34af2f3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I think you should do something like this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="c"&gt;(*&lt;/span&gt;
&lt;span class="c"&gt;| This is one line.&lt;/span&gt;
&lt;span class="c"&gt;| This is another line&lt;/span&gt;
&lt;span class="c"&gt;*)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This is a nice online tool to test reStructured text:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://rst.ninjs.org/" rel="nofollow"&gt;http://rst.ninjs.org/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ciao!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>documentation in function block</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#a4be" rel="alternate"/><published>2020-02-27T13:53:30.988000Z</published><updated>2020-02-27T13:53:30.988000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com5ec088cfa6179e4ff53de6884ca9839221c08e4b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I create a function block in a library, with some comments in the declaration header&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="c"&gt;(*==========&lt;/span&gt;
&lt;span class="c"&gt;line 1&lt;/span&gt;
&lt;span class="c"&gt;line 2&lt;/span&gt;
&lt;span class="c"&gt;line 3&lt;/span&gt;
&lt;span class="c"&gt;line 4&lt;/span&gt;
&lt;span class="c"&gt;==========*)&lt;/span&gt;
&lt;span class="n"&gt;FUNCTION_BLOCK&lt;/span&gt; &lt;span class="n"&gt;TEST_FB&lt;/span&gt;
&lt;span class="n"&gt;VAR&lt;/span&gt;
&lt;span class="o"&gt;......&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;In Library Manager, when I select this function and go to the "Documentation" tab, I do get the comments, but they're all in one line with no line breaks.&lt;br/&gt;
(&lt;em&gt;========== line 1 line 2 line 3 line 4 ==========&lt;/em&gt;)&lt;/p&gt;
&lt;p&gt;I've looked at other compiled libraries, and they have the documentation on separate lines, but I can't see the source.&lt;/p&gt;
&lt;p&gt;How do I insert a line break?  This seems like I'm missing something very obvious&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>