Skip to content

Commit 2d57f39

Browse files
clickingbuttonsclickingbuttons
authored andcommitted
set docs env var in conf.py
1 parent 4601cd1 commit 2d57f39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ help:
1717
# Catch-all target: route all unknown targets to Sphinx using the new
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
20-
POLYGON_API_KEY="POLYGON_API_KEY" $(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20+
$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import sys
1515
sys.path.insert(0, os.path.abspath('../..'))
1616
print('docs path', sys.path[0])
17-
17+
os.environ['POLYGON_API_KEY'] = 'POLYGON_API_KEY'
1818

1919
# -- Project information -----------------------------------------------------
2020

0 commit comments

Comments
 (0)