| 1 |
From: Michael R. Crusoe <[email protected]> |
| 2 |
Subject: allow doc building without installing cwl-utils first |
| 3 |
Origin: upstream, https://github.com/common-workflow-language/cwl-utils/commit/deb41bf224c7e870732f9747ba51d82dc3d059fc |
| 4 |
Forwarded: not-needed |
| 5 |
--- cwl-utils.orig/docs/conf.py |
| 6 |
+++ cwl-utils/docs/conf.py |
| 7 |
@@ -6,7 +6,6 @@ |
| 8 |
|
| 9 |
# -- Path setup -------------------------------------------------------------- |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
# If extensions (or modules to document with autodoc) are in another directory, |
| 14 |
# add these directories to sys.path here. If the directory is relative to the |
| 15 |
@@ -17,8 +16,7 @@ |
| 16 |
import time |
| 17 |
from datetime import datetime, timezone |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
+from cwl_utils.__meta__ import __version__ |
| 22 |
|
| 23 |
# -- Project information ----------------------------------------------------- |
| 24 |
|
| 25 |
@@ -82,8 +80,7 @@ |
| 26 |
# so a file named "default.css" will overwrite the builtin "default.css". |
| 27 |
html_static_path = ["_static"] |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
+version = __version__ |
| 32 |
|
| 33 |
autoapi_dirs = ["../cwl_utils"] |
| 34 |
autodoc_typehints = "description" |