Documentation extraction
Purpose
Lupin-danquin CLI allow to create SDD documentation from source code.
Run it
- Default command
- Go to current directory.
- Execute
danq valdocs "app1, app2, app3, ..." - Result is available in "./val3_documentation.md"
-
With
--beginning-file-pathoptionYou can add the content of a third party file before the application documentation.
- Execute the above command with
--beginning-file-pathor-bflag with path to file
danq valdocs "app1, app2, app3, ..." -b "path/file"
-
With
--end-file-pathoptionYou can add the content of a third party file after the application documentation.
- Execute the above command with
--end-file-pathor-eflag with path to file
danq valdocs "app1, app2, app3, ..." -e "path/file"
-
With environnement variables
You can set environment variables:
- VAL3_APPLICATIONS=app1, app2, ...
- VAL3_BEGINNING_FILE_PATH=path/to/file
- VAL3_END_FILE_PATH=path/to/file
-
help command
- Execute
danq valdocs --help
Add documentation
For a program (pgx file)
Edit your program and add one or more lines of comments the line after "begin" keyword.
For an application
Create a text file named "README.md" at the same level as "pjx" file. And add one or more lines of description.
Improvements oportunities
- Improve table for sockets
- Allow to end docstring with 10 * "/"
Other ideas
To create a sanitizer:
- detect unused variables (private, public?): already done for local variables and parameters (not global variables)
- detect wrongly named variables (l_, x_, s/b/n/st, t, Out): DONE
- validate plantuml diagram from pjx files
- code coverage ? find if all return values are tested
Release files for lupin-danquin 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lupin_danquin-1.0.7.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lupin_danquin-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.6 kB
Release files / lupin_danquin-1.0.7.tar.gz
| Download URL | lupin_danquin-1.0.7.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
808c5e2955bb2200ffcaec4842ffb652d87909f406342d1ed067db8bbf62d47a
|
|
BLAKE2b-256 checksum How to use checksums |
92c8d234b875cf24f80cd9c21007f8de0318a8b3e119a9aa7c892cf738f3739b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / lupin_danquin-1.0.7-py3-none-any.whl
| Download URL | lupin_danquin-1.0.7-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc231d3b9018a33cfbfe87d061aa98ee569efb0733dbaa328fd9247512823106
|
|
BLAKE2b-256 checksum How to use checksums |
6ae1b4879e40b67dc162604f1b2716aa8da657ed17ddbf725d0a5e569c9c2055
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|