Closed North-Kraken closed 1 year ago
The export_c exporter does not remove the ".c" file extension passed with "filename"
So it creates an invalid filename like e.g. "CO_OD.c.h".
This will correct the issue:
#include """ + Path.GetFileNameWithoutExtension(filename) + @".h""
This is quite a large PR with 16 files changed, not very clear and seems to have a bugs. Not sure if there is a problem, which should be solved with this PR. It is also very old, I'm closing it.
Encapsulated many of the common data used by the file exporters into the IExporter class. To achieve this, IExporter was converted to an abstrac class.
DocumentationGen, implements two types of file exporters so thet were separated into DocumentationHTMLExporter and DocumentationMDExporter. In this fashion, the each exporter can be debuged separately without impacting the other. Both classes inherit IExporter to take advantage of the data encapsulation.