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.3.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.3-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mkdocstrings_twincat-0.3.3.tar.gz
Algorithm Hash digest
SHA256 4642a973c2f48864aea5cf3be84b68743a5cc1a93334060c68f558198bd70093
MD5 be2eaca320a44ec91f18c4ca43e791c3
BLAKE2b-256 9d560e497aa8c0b85dca6b5eb4425bf8fd6f18f7934e22d1eddf30f36b0c6021

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkdocstrings_twincat-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 89220513559fef477d4d09e157546d2058eaf324683893b91eea9afd62dec9dd
MD5 c2c01f3fd7667caac26f6d8bba4f62c9
BLAKE2b-256 5d025a0e927c03201701437906a74952626cf24f93d2193881e583a2440df9c0

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