Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a0dc403

Browse files
authoredSep 18, 2019
Publish docs to both /docs and /secret/docs, until we deprecate /secret/docs in January. (streamlit#141)
* Restore correct vertical spacing for report elements. * Break Block.tsx into more functions. * Tiny refactors in Block.tsx * Add "key" property to element in DocString, to avoid warnings. * Fix streamlit#1230: OSError not caught when writing cache to disk * Don't show hashing warning when user imports a module inside a cached function. * Fix streamlit#6: report should loads element by element (was broken since Sidebar PR) * Try to fix CircleCI issue: Method 'renderElementWithErrorBoundary' expected no return value * Add typing to function. * Remove unecessary dockerfiles * Fix a bunch of examples * Fix color of syntax error code in modal dialog. * Remove old style copyright from conftest.py * Remove st.warning when hashing a class. * Add astor to Python requirements * Update widget API in some e2e tests * Clean up st.foo_widget() signatures in st.help() * Lint docs/getting_started.md * Clean up widget examples in docstrings. * Add comment to slider examples in docs. * Tweak Streamlit's description in setup.py * Sort pipfile modules * Re-add scripts and Makefile rules to publish packages to conda. * Fix update_version.py to support new conda location and remove old docker folder. * Make `streamlit config show` pipeable to a file. * Update docs/ site * Remove /docs/api invalidation from Makefile * Improve docstring for st.slider * Remove st.Cache (capital C) from __init__ while we figure out what to call it. * Up version to 0.45.0 * Turn off tests for st.Cache (capital C) * Try turning off tests again * Publish docs to both /docs and /secret/docs, until we deprecate /secret/docs in January.
1 parent c377908 commit a0dc403

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed
 

‎Makefile

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,13 @@ devel-docs: docs
157157
.PHONY: publish-docs
158158
# Build docs and push to prod.
159159
publish-docs: docs
160+
cd docs/_build; \
161+
aws s3 sync \
162+
--acl public-read html s3://streamlit.io/docs/ \
163+
--profile streamlit
164+
165+
# For now, continue publishing to secret/docs.
166+
# TODO: Remove after 2020-01-01
160167
cd docs/_build; \
161168
aws s3 sync \
162169
--acl public-read html s3://streamlit.io/secret/docs/ \
@@ -169,12 +176,14 @@ publish-docs: docs
169176
@# contains("www.streamlit.io")) | \
170177
@# .Id'
171178

172-
aws cloudfront create-invalidation \
173-
--distribution-id=E5G9JPT7IOJDV \
174-
--paths \
175-
'/secret/docs/*' \
176-
'/secret/docs/tutorial/*' \
177-
--profile streamlit
179+
aws cloudfront create-invalidation \
180+
--distribution-id=E5G9JPT7IOJDV \
181+
--paths \
182+
'/docs/*' \
183+
'/docs/tutorial/*' \
184+
'/secret/docs/*' \
185+
'/secret/docs/tutorial/*' \
186+
--profile streamlit
178187

179188
.PHONY: protobuf
180189
# Recompile Protobufs for Python and Javascript.

0 commit comments

Comments
 (0)
Failed to load comments.