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.4.tar.gz (29.3 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.4-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mkdocstrings_twincat-0.3.4.tar.gz
Algorithm Hash digest
SHA256 9e6bdd1a9efc0e0b7deb0c772d88675c1bb55c57485df5c4fe51d22ac526e12c
MD5 2cadc0709254aa147199231b7abd29e8
BLAKE2b-256 bf17d59ac8e6e432152312be3316f3db5aa634059c3358f65307872d2fc10e4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkdocstrings_twincat-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 78ea01f7ec9ba7ecc8a44536e1ca347a528b68956dfb37525f06605b91fd2354
MD5 78f2191b9ac5bfe6562b760f4ef9e230
BLAKE2b-256 735ac4d3150181fb04b269bb7fbb4b0c971e2e63e90a87448da0efa66cca8f92

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