Spaces:
Sleeping
Sleeping
rely on env. variables
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ if os.getenv("OPENAI_API_KEY") is None:
|
|
18 |
)
|
19 |
|
20 |
|
21 |
-
homepage_url = os.getenv("RTD_URL"
|
22 |
-
target_version = os.getenv("RTD_VERSION"
|
23 |
|
24 |
# scrape and embed content from readthedocs website
|
25 |
scrape_rtd(
|
|
|
18 |
)
|
19 |
|
20 |
|
21 |
+
homepage_url = os.getenv("RTD_URL") # e.g. "https://orion.readthedocs.io/"
|
22 |
+
target_version = os.getenv("RTD_VERSION") # e.g. "en/stable"
|
23 |
|
24 |
# scrape and embed content from readthedocs website
|
25 |
scrape_rtd(
|