Skip to main content

A Twincat handler for mkdocstrings.

Project description

mkdocstrings-twincat

documentation pypi version

A Twincat handler for mkdocstrings.

Installation

pip install mkdocstrings-twincat

This handler is using pytwincatparser to parse Twincatfiles. Currently supported are:

  • .plcproj
  • .tcio
  • .tcpou
  • .tcgvl
  • .tcdut

The handler can load recursivly all objects. You just have to add the .plcproj file, and it generates the documentation for all Function Blocks etc.

Demo

At the project page you can find a demo of this handler. It parses the source code of the famous TcUnit TwinCAT unit testing framework and displays it. The documentation is not optimal, but this is because the tags are not used by tcunit.

Used packages

  • mkdocstrings
  • mkdocstrings-python (heavily as inspiration. really great code!)
  • pytwincatparser

Be aware

I am a plc programmer. I usually dont code in python. if you find bugs, flaws, mistakes or if you have an idea how to improve or make a new feature, do not hesitate to contact me!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocstrings_twincat-0.3.5.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocstrings_twincat-0.3.5-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

Details for the file mkdocstrings_twincat-0.3.5.tar.gz.

File metadata

File hashes

Hashes for mkdocstrings_twincat-0.3.5.tar.gz
Algorithm Hash digest
SHA256 d8cf97472e1bb817f3e6541ed0d22e95df59bf4e610aca5fdbf8c0ff04cd3d41
MD5 a85bd9e4c78ee8ea77ff952beb7a146b
BLAKE2b-256 4054192e6707eeff6242d106e8444597c6324342111d6c5aad5e57b5fb7c0460

See more details on using hashes here.

File details

Details for the file mkdocstrings_twincat-0.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocstrings_twincat-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4a7899f04c6a314fefb44a315bc7350d977209bfebe5197743eb17c3949a5a15
MD5 83bb910ad69cff9ce0a4a90f7c69b14f
BLAKE2b-256 165a98e68841db8bd27e5e86843a0d04144f7ea2be76885268292172a5da1af0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page