diff --git a/docs/conf.py b/docs/conf.py index 7944124..300063b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -46,7 +46,7 @@ extensions = [ autodoc_member_order = 'bysource' autodoc_typehints = 'none' -autodoc_mock_imports = ['sphinxcontrib_trio','sphinxcontrib-serializinghtml','sphinxcontrib-qthelp','sphinxcontrib-jsmath','sphinxcontrib-htmlhelp','sphinxcontrib-devhelp','sphinxcontrib-applehelp ','typing_extensions'] +#autodoc_mock_imports = ['sphinxcontrib_trio','sphinxcontrib-serializinghtml','sphinxcontrib-qthelp','sphinxcontrib-jsmath','sphinxcontrib-htmlhelp','sphinxcontrib-devhelp','sphinxcontrib-applehelp ','typing_extensions'] # maybe consider this? # napoleon_attr_annotations = False diff --git a/setup.py b/setup.py index 0c6f56e..0c3ca32 100644 --- a/setup.py +++ b/setup.py @@ -16,6 +16,15 @@ readme = '' with open('README.md') as f: readme = f.read() +extras_require = { + 'docs': [ + 'sphinx==4.4.0', + 'sphinxcontrib_trio==1.1.2', + 'sphinxcontrib-websupport', + 'typing-extensions', + ], +} + setup( name='github', author='VarMonke & sudosnok',