From 756152235d6932ffd4b7a3c668c3e9cfabb8463b Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 00:54:17 +0000 Subject: [PATCH] Initial upload: Doc2Man CLI tool with parsers, generators, and tests --- pyproject.toml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..e3139db --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,62 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "doc2man" +version = "0.1.0" +description = "CLI tool to generate man pages, Markdown, and HTML documentation from docstrings" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.8" +authors = [ + {name = "Doc2Man Contributors"} +] +keywords = ["documentation", "manpage", "markdown", "cli", "docstring"] +classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +dependencies = [ + "click>=8.0", + "rich>=13.0", + "docstring-parser>=0.15", + "jinja2>=3.1", + "pyyaml>=6.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "pytest-cov>=4.0", + "black>=23.0", + "ruff>=0.1.0", +] + +[project.scripts] +doc2man = "doc2man.cli:main" + +[tool.setuptools] +packages = ["doc2man"] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_classes = ["Test*"] +python_functions = ["test_*"] + +[tool.ruff] +line-length = 100 +target-version = "py38" + +[tool.black] +line-length = 100 +target-version = ["py38", "py39", "py310", "py311", "py312"]