Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #28 +/- ##
==========================================
+ Coverage 83.65% 84.39% +0.74%
==========================================
Files 10 10
Lines 734 737 +3
==========================================
+ Hits 614 622 +8
+ Misses 120 115 -5 ☔ View full report in Codecov by Sentry. |
3b0b0cc to
3932470
Compare
|
@Philipp1297 are you in a position to test this branch on your project? No worries if not, then I'll just merge it. |
|
@RobertoRoos Thank you for the quick fix. I will test this today |
|
@RobertoRoos Corresponding Error Message: *Error parsing node Corresponding Error Message: *Error parsing node The third one was due to ; in string. To make sure, I tested it with the right approach:
conf.py file content: # Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = "TestProject"
copyright = "2022, Robert Roos"
author = "Robert Roos"
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ["plcdoc", "sphinx.ext.autodoc"]
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
plc_project = "C:/Users/PhilippSchinacher/Desktop/GIT/TwinCAT2Doc/test_files/baselib/BaseLibProj/BaseLib/BaseLib.plcproj"
plc_sources = [
# "../TwinCAT PLC/.TcPOU",
"../../tests/plc_code/TwinCAT PLC/MyPLC/POUs/RegularFunction.TcPOU",
"../../tests/plc_code/TwinCAT PLC/MyPLC/POUs/PlainFunctionBlock.TcPOU",
"../../tests/plc_code/TwinCAT PLC/MyPLC/POUs/PlainFunction.TcPOU",
"../../tests/plc_code/TwinCAT PLC/MyPLC/POUs/FB_MyBlock.TcPOU",
]
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]
nitpicky = TrueIf you need more input or help, feel free to contact me. |
|
Thanks for trying. Based on the error you posted, |
|
You're correct—thank you for pointing that out. I tested with too many instances and got confused earlier. My apologies for the misunderstanding. After running a proper test, the only issue that occurred was the string error. However, no documentation was generated. I set the path to my TwinCAT project file in the Could this issue be related to the recent changes I made, or is there something wrong with my workflow? I also ran pytest to ensure the tests were working, and they all passed successfully. |
|
Good to see you progress. No |
Resolves #26