Skip to content

Commit

Permalink
WIP - Started with auto vs manual test
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoRoos committed Nov 28, 2024
1 parent 0bd8c74 commit ff2a730
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/roots/test-plc-auto-vs-manual/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import os
import sys

sys.path.insert(0, os.path.abspath("."))

extensions = ["plcdoc"]

# The suffix of source filenames.
source_suffix = ".rst"

nitpicky = True

plc_sources = [
os.path.join(os.path.abspath("."), item)
for item in ["src_plc/*.TcPOU", "src_plc/*.TcDUT"]
]
14 changes: 14 additions & 0 deletions tests/roots/test-plc-auto-vs-manual/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

.. Functions -----------------------------
.. plc:autofunction:: RegularFunction
.. plc:autofunction:: PlainFunction
.. Function Blocks -----------------------------
.. plc:autofunctionblock:: PlainFunctionBlock
.. plc:autofunctionblock:: FB_MyBlock
:members:

0 comments on commit ff2a730

Please sign in to comment.