We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c907c commit a1e33afCopy full SHA for a1e33af
docs/builds.rst
@@ -90,13 +90,17 @@ An example in code:
90
.. code-block:: python
91
92
update_docs_from_vcs(version)
93
- if exists('setup.py'):
+ config = get_config(project)
94
+ if config.python.install.method.setuptools:
95
run('python setup.py install')
- if project.requirements_file:
96
- run('pip install -r %s' % project.requirements_file)
+ if config.python.install.method.pip:
97
+ run('pip install .')
98
+ if config.python.install.requirement:
99
+ run('pip install -r %s' % config.python.install.requirement)
100
build_docs(version=version)
101
copy_files(artifact_dir)
102
103
+
104
.. note::
105
106
Regardless of whether you build your docs with Sphinx or MkDocs,
0 commit comments