| `PYTHON_FORCE_PACKAGE` | Force the packaging even if not on tag related event | _none_ |
| `PYTHON_FORCE_PACKAGE` | Set to `true` to force the packaging even if not on tag related event | _none_ (disabled) |
### Publish jobs
@@ -281,17 +280,7 @@ If you want to automatically create tag and publish your Python package, please
#### `py-docs` job
This job is **disabled by default** and performs documentation generation of your Python code using [Sphinx](http://www.sphinx-doc.org/en/master/). Documentation will be available through a GitLab artifact.
It is bound to the `publish` stage, applies only on tags and uses the following variables:
"description":"Documentation generation of your python code using [Sphinx](http://www.sphinx-doc.org/en/master/). Documentation will be available through a gitlab artifact.",
"enable_with":"DOCS_ENABLED",
"variables":[
{
"name":"DOCS_REQUIREMENTS_FILE",
"description":"Python dependencies for documentation generation _(relative to `$PYTHON_PROJECT_DIR`)_",
"default":"docs-requirements.txt",
"advanced":true
},
{
"name":"DOCS_DIRECTORY",
"description":"Directory containing docs source",
"default":"docs",
"advanced":true
},
{
"name":"DOCS_BUILD_DIR",
"description":"Output build directory for documentation",