Compare commits

..

2 Commits

Author SHA1 Message Date
59b7c31554 docs(prof.py): overhaul documentation to align with Google Python Style Guide
All checks were successful
CI / Check spelling (pull_request) Successful in 50s
CI / Test C API Documentation Generation (pull_request) Successful in 1m18s
CI / Check coding style (pull_request) Successful in 1m32s
CI / Test Python API Documentation Generation (pull_request) Successful in 1m15s
CI / Linux (debian) (pull_request) Successful in 12m36s
CI / Linux (ubuntu) (pull_request) Successful in 12m54s
CI / Linux (arch) (pull_request) Successful in 16m3s
- Updated project references from Profanity to CProof.
- Removed Python 2 and unicode references.
- Added type hints for all parameters and return types.
- Organized functions into logical sections with RST comments for Sphinx.
- Improved wording for clarity and precision based on source code analysis.
- Ensured compliance with Google Python Style Guide for readable docstrings.

Related to #30
2025-09-10 18:13:44 +02:00
17453aa1bc ci: add GitHub Actions workflow to test C and Python API doc generation
Introduce separate jobs to test C (Doxygen) and Python (Sphinx) API documentation generation. Ensures build failures are caught early, as API changes often produce warnings that developers miss without automated checks.
2025-09-10 18:13:44 +02:00

View File

@@ -102,8 +102,8 @@ jobs:
sudo apt-get install -y --no-install-recommends make doxygen
- name: Test C API docs generation
run: |
cd profanity/apidocs/c/
rm -rf html && doxygen c-prof.conf
cd apidocs/c/
doxygen c-prof.conf
test-python-api-docs:
runs-on: ubuntu-latest
@@ -116,5 +116,5 @@ jobs:
sudo apt-get install -y --no-install-recommends make python3-sphinx
- name: Test Python API docs generation
run: |
cd profanity/apidocs/python/
cd apidocs/python/
sphinx-apidoc -f -o . src && make -j$(nproc) xml