Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packages and modules #5

Open
RobertoRoos opened this issue Feb 9, 2023 · 1 comment
Open

Add packages and modules #5

RobertoRoos opened this issue Feb 9, 2023 · 1 comment

Comments

@RobertoRoos
Copy link
Member

TwinCAT doesn't really have any namespacing, but it could be nice to create the notion of a module anyway, to document the contents of a folder:

.. plc:automodule:: POUs.HwModules.SomeComponent:
   :members:
@RobertoRoos
Copy link
Member Author

Issue with this: this only works if you have a (or multiple) defined file roots.

Potential solution: keep two settings:

  • Sources list: list of files to be processed
  • Root list: list of root directories

For example loading a .plcproj file (#4) could create both a root entry and a bunch of source files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant