From d16461226e357d74ce79988d7f7281f257f03cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Fri, 3 Jan 2020 16:28:37 +0100 Subject: [PATCH] more civilized way to install packages during doc build --- docs/conf.py | 2 -- docs/requirements.txt | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 docs/requirements.txt diff --git a/docs/conf.py b/docs/conf.py index 3ac9cc3..2f78e53 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,8 +23,6 @@ sys.path.insert(0, os.path.abspath('..')) source_parsers = { } -os.system('pip install sphinx-autodoc-typehints') - # -- General configuration ---------------------------------- # If your documentation needs a minimal Sphinx version, state it here. diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..ff22922 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +sphinx-autodoc-typehints \ No newline at end of file -- GitLab