Skip to content

Commit ff2a730

Browse files
committed
WIP - Started with auto vs manual test
1 parent 0bd8c74 commit ff2a730

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import os
2+
import sys
3+
4+
sys.path.insert(0, os.path.abspath("."))
5+
6+
extensions = ["plcdoc"]
7+
8+
# The suffix of source filenames.
9+
source_suffix = ".rst"
10+
11+
nitpicky = True
12+
13+
plc_sources = [
14+
os.path.join(os.path.abspath("."), item)
15+
for item in ["src_plc/*.TcPOU", "src_plc/*.TcDUT"]
16+
]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
.. Functions -----------------------------
3+
4+
.. plc:autofunction:: RegularFunction
5+
6+
.. plc:autofunction:: PlainFunction
7+
8+
9+
.. Function Blocks -----------------------------
10+
11+
.. plc:autofunctionblock:: PlainFunctionBlock
12+
13+
.. plc:autofunctionblock:: FB_MyBlock
14+
:members:

0 commit comments

Comments
 (0)