-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This Document fungates as Help if information about software functionality is needed.
If any information is missing or you need further assistance, don’t hesitate to contact the development team on GitHub by submitting an issue or joining a discussion.
Use the application GUI to interactively configure paths, select source files or directories, and generate documentation based on your C++ source code.
-
Toggle Dark/Light Mode The global UI includes a toggle control to switch between light and dark mode.
-
Sponsorship In the bottom right, you’ll find sponsorship information for PayPal, Ko-fi, and a GitHub link. Clicking on any of these opens the respective URL in your browser.
-
Navigation tab within the navigation tab you can switch between start, settings, log, about and help. See description below for more detailed information about each tab.
The application can also be used by the command line by calling it with python:
python .\CppCodeDoc.py --NoGuiIt starts then automatically generating the Documentation based on the default config file. For a custom config file, you can also use the config specific overload paramter like:
python .\CppCodeDoc.py --NoGui --config .\myConfigFile.cppdocThere is also the possibility to use it directly with one specific file for code documentation:
python .\CppCodeDoc.py --NoGui --file .\myProject.inoFurthermore, the CLI based function returns the total commend-covergae percentage value of the documentation. This can be further used e.g. for CI/CD purpose to ensure that commited code meets a minimum level of commenting coverage at all bevor commiting into final repo.
To know more about the application, you can also use the ´--license´ information or the ´--help´ tag to see more within the CMD window.
Entry point of the UI. The UI starts per default with a standard configuration meeting the testing environment during developement. The standard language is English and the light-mode is used.
-
Enter Config Path At the top of the Start Tab, you can manually enter the path to a
.yamlbased configuration file in.cppDocformat. This path determines how the documentation process behaves. Any change to this field triggers a configuration update internally.
- Select Configuration File Click the “Select Config File” button to open a file dialog and choose a YAML-based ´.cppDoc´ configuration file. This allows you to skip manual path input and select the correct file easily.
-
Save Configuration File Click the “Save Config File” button to save the current configuration settings into a
.cppDocfile. This is useful after modifying any field values to persist the current setup.
- Enter Source File or Directory This text input lets you specify the file or folder to be documented. You can type the path manually or populate it via the source selection buttons below.
- Select Source File Click the “Select Source File” button to choose a single C++ source file for documentation. The selected file path is automatically inserted into the input field.
- Select Source Directory Click the “Select Source Directory” button to choose a folder containing multiple C++ files. This is useful when documenting a complete project. In Settings tab you can also activate the "Recursive" function to iterate through all sub-directorys or even not.
- Generate Documentation Click the “Generate Documentation” button to start the documentation process. This uses the selected files and configuration to create structured, browsable documentation (e.g., via Doxygen).
- Status Display Below the main buttons is a status label that shows the current state of the application, such as “Ready,” “Generating…,” or error messages during processing.
- Open Output Directory Once documentation has been generated successfully, the “Open Output Directory” button becomes visible. Click it to open the folder where the generated documentation was saved.
Use this tab to configure how documentation is generated and formatted. All settings are divided into three expandable sections:
- Language Selection Choose between English and German for the UI language via a dropdown.
-
Read-Only Mode Enables a read-only mode to prevent overwriting source files.
-
Recursive Parsing When checked, the application will recursively scan all subdirectories for source files.
-
Enter Backup Directory Input a folder where backups of modified files will be stored before overwriting. This is optional but recommended for safety.
-
Select Backup Directory Interactive selection of Backup Directory input via filebrowser navigation. Selected directory is updating the enter backup directory field.
-
Highlight TODO Comments Enables highlighting of
TODO:Tags within the final documentation report and similar tags in the generated documentation. -
Show Documentation Progress Displays a summary of documented vs. undocumented code items in percentage.
-
Document Title Title text to appear at the top of the generated documentation.
-
Document Version The version string of the documentation (e.g.,
v1.0.3). -
Author Name Specifies the name of the documentation author.
-
Documentation Date Free text input for the documentation date (e.g., today's date or release date).
-
Logo Path Optional path to a projectspecific logo image that will be embedded in the generated documentation (if supported by format).
-
Output Format Select between
HTML,Markdown (.md)orAllfor the format of the documentation. -
Comment Style Choose the style of comment headers, modified in the sourcefiles:
-
Doxygen– use/** ... */format. -
Default– plain inline comments.(important: setting only works if readonly is disabled)
-
-
Enter Output Path Input the directory where the generated documentation will be saved.
-
Select Output Path Select the directory where the generated documentation will be saved via filebrowser. If input was successfull, the OutputPath Input filed will be updated
This tab provides a simple interface for viewing log output directly within the application.
-
Log Output Display Shows the live log messages in a scrollable widget.
-
Open Log Output Directory Button Opens the directory where log files are saved, so you can quickly access log files for review or troubleshooting.
This tab provides general information about the software and its authorship.
-
Software Title and Version Displays the software name and the current version number.
-
Author Shows the author's name.
-
Repository Link Provides a clickable hyperlink to the project’s GitHub repository for easy access to the source code and issues.
-
Description A read-only text area with a detailed description of the software.
-
Check for Update Button A button to manually trigger a check for available software updates.
-
License Information Displays the full license text in a scrollable read-only area.