From fd692237b3988d717edb53c1cc30a74af9abeb14 Mon Sep 17 00:00:00 2001 From: Yifan Li Date: Fri, 15 Dec 2023 03:09:00 -0500 Subject: [PATCH] add dependencies for doc in pyproject.toml --- pyproject.toml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1203049d..01e0aaeb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,12 +32,20 @@ dependencies = [ [project.urls] homepage = "https://github.com/deepmodeling/dpti" -[project.optional-dependencies] -# docs = ["sphinx", "recommonmark", "sphinx_rtd_theme"] - [project.scripts] dpti = "dpti.main:main" +[project.optional-dependencies] +docs = [ + 'sphinx', + 'myst-parser', + 'sphinx_rtd_theme>=1.0.0rc1', + 'numpydoc', + 'deepmodeling_sphinx>=0.1.1', + 'dargs>=0.3.1', + 'sphinx-argparse', +] + [tool.setuptools.packages.find] include = ["dpti*"]