Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
gen_doc
- Library to generate documentationpip install gen_doc
.py
files into one or multiple .md
files, keeping the same hierarchygoogle
& sphinx
py docstrings.gen_doc init
gen_doc build -c
Usage: gen_doc [OPTIONS] COMMAND [ARGS]...
Utility for generating project documentation from docstrings
Options:
-v, --version Get library version
-i, --init Init gen_doc config with default parameters
-b, --build Build documentation by config
--help Show this message and exit.
Commands:
build Build documentation
init To init config file in order to generate documentation.
Usage: gen_doc init [OPTIONS]
To init config file in order to generate documentation.
Options:
-f, --file-config TEXT Config file name [default: gen_doc.yaml]
-o, --overwrite To overwrite, in case file already exists
--help Show this message and exit.
Usage: gen_doc build [OPTIONS] [[py]]
Build documentation
Options:
-sm, --save-mode [md] Save mode
-hi, --hierarchically Extract with the same hierarchy
-o, --overwrite To overwrite, in case file already exists
-p2r, --path-to-root TEXT Path to the directory for which documentation
should be compiled
-p2s, --path-to-save TEXT Path to the directory where the documentation
should be saved
-f2s, --file-to-save TEXT Path to the directory where the documentation
should be saved
-c, --config Use config to build documentation.
-f, --file-config TEXT Config file name [default: gen_doc.yaml]
--help Show this message and exit.
FAQs
Library to generate documentation
We found that gen-doc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.