2 phút đọc
useblocks/sphinx-needs: Adds needs/requirements to sphinx – Repository useblocks/sphinx-needs. Mô tả: Adds needs/requirements to sphinx. 301 stars, 92 forks, ngôn ngữ chính Python, cập nhật 2026-09-02.
1. Repository làm gì?
Complete documentation: http://sphinx-needs.readthedocs.io/en/latest/
Attention: sphinxcontrib-needs got renamed to sphinx-needs. This affects also the URLs for documentation and repository:
Sphinx-Needs allows the definition, linking and filtering of class-like need-objects, which are by default:
This list can be easily customized via configuration (for instance to support bugs or user stories).
A default requirement need looks like:
Layout and style of needs can be highly customized, so that a need can also look like:

2. Dữ liệu và cấu trúc đáng chú ý
Take a look into our tutorial for more pictures and ideas how to use Sphinx-Needs.
For filtering and analyzing needs, Sphinx-Needs provides different, powerful possibilities:
If you wish to also use the plotting features of sphinx-needs (see needbar and needpie), you need to also install matplotlib, which is available via the plotting extra:
Prior version 1.0.1 the package was named sphinxcontrib-needs.
For final activation, please add sphinx_needs to the project's extension list of your conf.py file.
Prior version 1.0.1 the extensions was called sphinxcontrib.needs.

Số liệu repository có thể thay đổi; nên mở liên kết nguồn để kiểm tra README, giấy phép và trạng thái phát hành.
Nguồn tham khảo: Xem bài gốc