Metadata-Version: 2.5
Name: badgerp_community
Version: 0.1.0
Summary: Show whether a project has a nonempty community policy
Project-URL: Documentation, https://philocalyst.tngl.io/Badger/plugins.html
Project-URL: Repository, https://tangled.org/largo.tngl.sh/plugin-community
Project-URL: Issues, https://tangled.org/largo.tngl.sh/plugin-community/issues
Author: Philocalyst
License-Expression: BlueOak-1.0.0
License-File: LICENSE.md
Keywords: badge,badge-plugin,badger
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# badgerp_community

Reports the presence of nonempty community documentation in a local directory.

```python
badge(producer=community(root=".", policy="contributing"))
badge(producer=community(root=".", policy="security"))
```

Policies: `contributing`, `code-of-conduct`, `security`. These search respectively
for `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, or `SECURITY.md` at project root,
`.github/`, and `docs/`. A nonempty file is green `documented`; missing/blank files
show neutral `not found`. This does not assess the policy's adequacy or claim
compliance or security. Missing project roots fail explicitly. Symlinks leaving
the selected root are rejected; files elsewhere are never read.

Fixture project: `fixtures/project`.
