diff --git a/pyproject.toml b/pyproject.toml index e2b191bd..124ca05a 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*"]