pcdshub / twincat-docs-template

TwinCAT documentation template: Generate Sphinx Documentation Summary of TwinCAT3 PLC Projects with ads-deploy/pytmc
3 stars 2 forks source link

Makefile on Windows #6

Open iljakorolev opened 1 year ago

iljakorolev commented 1 year ago

Hi,

Can you provide make.bat file or how to execute this on Windows?

klauer commented 11 months ago

A proper shell will be required; you can either try using git bash (but you'll need Python and such as well) or perhaps WSL2

We usually use this with GitHub Actions for automatic deployment. PLC repo gets a workflow like this: https://github.com/pcdshub/pcds-ci-helpers/blob/master/example_twincat_gha.yml As part of the standard shared TwinCAT CI scripts https://github.com/pcdshub/pcds-ci-helpers/blob/master/.github/workflows/twincat-standard.yml This shared workflow is used to generate and upload documentation: https://github.com/pcdshub/pcds-ci-helpers/blob/master/.github/workflows/python-docs.yml