Skip to content

Feature: optionally display line numbers in code blocks #799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1,922 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1922 commits
Select commit Hold shift + click to select a range
8a8d198
Docs for colored text support
snehankekre Dec 8, 2022
a936ae0
Update plotly, altair, plotly API screenshots
snehankekre Dec 8, 2022
3afc22d
add note about updating config with live server
achieveordie Dec 8, 2022
59c8e7e
Swap theme and use_container_width order in commands
snehankekre Dec 9, 2022
143c7b5
Add docs for cached media element+form replay
snehankekre Dec 12, 2022
2214489
Fix typo in command
snehankekre Dec 12, 2022
1357024
Merge pull request #548 from achieveordie/minor_config_update
snehankekre Dec 12, 2022
b7195c2
Add line breaks mid-word to API ref param names
snehankekre Dec 12, 2022
ec5ca9a
Reword pargraph about overriding with custom chart configs
snehankekre Dec 12, 2022
b7984b1
Merge pull request #550 from streamlit/overflow-wrap-p-api
snehankekre Dec 12, 2022
016c6dc
Update blog posts on homepage
snehankekre Dec 12, 2022
47ff8ee
Merge pull request #551 from streamlit/blog-posts
snehankekre Dec 12, 2022
3140ff2
Remove note about SOC-2 from security-model.md
sfc-gh-tteixeira Dec 12, 2022
5c754ad
Add docs for social share previews
snehankekre Dec 13, 2022
8c0801f
Clarify share previews are for public apps only
snehankekre Dec 14, 2022
cd2c897
Update share preview for private app screenshot
snehankekre Dec 14, 2022
177c098
Merge pull request #552 from streamlit/social-share-previews
snehankekre Dec 14, 2022
2b90e9e
Merge pull request #545 from streamlit/streamlit-theme-charts
snehankekre Dec 16, 2022
828ee9a
Merge pull request #547 from streamlit/colored-text
snehankekre Dec 16, 2022
d2c8be8
Merge pull request #549 from streamlit/cached-form-media-replay
snehankekre Dec 16, 2022
0bb9555
Add 1.16.0 release notes to changelog (#554)
snehankekre Dec 16, 2022
1ab8f3c
Bump docstring version from 1.15.0 to 1.16.0 (#553)
snehankekre Dec 16, 2022
c89c24f
Update link to 1.16.0 blog post in changelog (#555)
snehankekre Dec 20, 2022
2ba4d26
Fix TOC hierarchy on floating nav (#556)
sfc-gh-jgarcia Dec 21, 2022
d457a15
fix typos: paramters -> parameters (#558)
burakbagdatli Dec 23, 2022
8abb84d
Fix variable name typo in Components API code example (#559)
sfc-gh-jcarroll Jan 3, 2023
9ffe8a5
Add link to custom subdomain page on cloud troubleshooting question (…
sfc-gh-jcarroll Jan 3, 2023
003f18c
Update blog posts on homepage (#563)
snehankekre Jan 12, 2023
be4be80
Remove note on secondarbackground color for ploty (#565)
jrieke Jan 12, 2023
d0d1015
Fixed Typo (#564)
GHeyx Jan 13, 2023
401b3cd
Add docs for 1.17.0 release (#566)
snehankekre Jan 13, 2023
e443d00
Attempt to fix performance issue when browsing API reference page (#562)
sfc-gh-jgarcia Jan 13, 2023
d77bcc5
Update cache invalidation docs with simpler examples
snehankekre Jan 13, 2023
da4ddc5
Remove mentions of allow-listing email domains (#570)
snehankekre Jan 18, 2023
56ccdb6
Fix typo: been giving -> been given in 'Share your app' (#569)
snehankekre Jan 18, 2023
d3267eb
Revert changes to singleton cache validation docs (#573)
snehankekre Jan 20, 2023
3706952
Update blog posts on homepage (#572)
snehankekre Jan 20, 2023
ca6fca0
Update healthcheck endpoint URL (#574)
sfc-gh-kbregula Jan 20, 2023
98347fb
Replace and redirect Streamlit Cloud to Streamlit Community Cloud (#576)
snehankekre Jan 23, 2023
a60e906
Patch generate.py to parse cache_data, cache_resource docstrings (#575)
snehankekre Jan 23, 2023
ef04ec9
Deprecation notice designs (#568)
sfc-gh-jgarcia Jan 24, 2023
71a155e
Self-host google fonts
sfc-gh-jgarcia Jan 24, 2023
0f829ac
Add NOTICES
sfc-gh-jgarcia Jan 25, 2023
ccca812
Merge pull request #577 from streamlit/self-host-google-fonts
sfc-gh-jgarcia Jan 25, 2023
64462aa
Fix visible false not working for some child items (#578)
sfc-gh-jgarcia Jan 26, 2023
463ba34
Add doc about configuration on Streamlit cloud (#567)
sfc-gh-kbregula Jan 27, 2023
baebe1b
Make expanded state of Collapse component configurable (#582)
snehankekre Jan 30, 2023
96b7753
Make embedded apps use streamlit-nightly
snehankekre Jan 31, 2023
5220ff9
Set logger level to error for embedded apps
snehankekre Jan 31, 2023
cbbae26
Update plotly_chart.md (#580)
lobotomisador Feb 1, 2023
6ed91e5
Create KB article on restrictions with nesting `st.columns` (#583)
jrieke Feb 1, 2023
46d296d
Rename “Privacy Policy” → "Privacy Notice” (#584)
snehankekre Feb 1, 2023
3ab5a9d
Add KB article on how to host static files (#586)
sfc-gh-jcarroll Feb 10, 2023
b1f83bf
Support for Python 3.11 (#571)
snehankekre Feb 10, 2023
0e6d3d0
Docs changes for `st.cache_data` and `st.cache_resource` (#579)
snehankekre Feb 10, 2023
cc9019e
Update changelog.md
snehankekre Feb 10, 2023
4032a89
Bump docs apps from 1.18.0 to 1.18.1
snehankekre Feb 13, 2023
1439686
DOC: tiny fixes (#588)
yogabonito Feb 15, 2023
f851494
Truncate large titles in pagination (#590)
sfc-gh-jgarcia Feb 15, 2023
cc40aa7
Link to caching blog post in docs (#592)
snehankekre Feb 16, 2023
7054723
Add `st.experimental_data_editor` example apps to repo (#594)
snehankekre Feb 16, 2023
187a968
Update example in public google sheets tutorial to not use `gsheetsdb…
snehankekre Feb 16, 2023
de84c48
Clean up algolia search markup (#591)
sfc-gh-jgarcia Feb 16, 2023
ef165c3
Update data.data_editor.py
snehankekre Feb 20, 2023
06bc1f7
Let example use container width
snehankekre Feb 20, 2023
daef073
Add more data editor embedded apps
snehankekre Feb 22, 2023
ec4e62c
Fix incorrect link to st.columns API in KB article (#597)
snehankekre Feb 23, 2023
fcd8291
Add 1.19.0 release notes to changelog (#596)
snehankekre Feb 23, 2023
419da95
Document new `st.experimental_data_editor` command (#595)
snehankekre Feb 23, 2023
cf568b2
Temporarily break app to test Datadog monitor
snehankekre Feb 23, 2023
b5ddaca
Update charts.pyplot.py
snehankekre Feb 23, 2023
e7a9cd6
Bump docs apps from 1.18.1 to 1.19.0
snehankekre Feb 23, 2023
1dc7b5d
Update requirements.txt
snehankekre Feb 23, 2023
9fdb3c0
Update requirements.txt
snehankekre Feb 23, 2023
6c74d02
Temporarily break app to test Datadog monitor
snehankekre Feb 23, 2023
df43d6e
Bump MPA embedded app to 1.19.0
snehankekre Feb 23, 2023
fc76f44
Update requirements.txt
snehankekre Feb 23, 2023
60cf385
Update requirements.txt
snehankekre Feb 23, 2023
8ed83a4
Rename st.data_editor to st.experimental_data_editor (#600)
snehankekre Feb 23, 2023
801f33f
Update `Connect Streamlit to Deta Base` tutorial (#598)
mikBighne98 Feb 24, 2023
f8eb83c
Be consistent with how we spell `DataFrame` and `dataframe` (#601)
snehankekre Mar 2, 2023
12b766e
Document HTTPS support in Streamlit library (#602)
snehankekre Mar 10, 2023
c6655a7
Add 1.20.0 related changes (#603)
snehankekre Mar 10, 2023
213a085
Allow clipboard read/write access to iframes via Cloud.js (#605)
snehankekre Mar 10, 2023
82508f9
Remove shell prompt characters (`$` and `#`) from code blocks (#606)
snehankekre Mar 13, 2023
d589ba2
Update static serving demo link in KB and changelog (#608)
snehankekre Mar 17, 2023
89cf749
Update TiDB data source tutorial to reflect latest product changes (#…
zhangyangyu Mar 17, 2023
c2d517c
Remove Stable outbound IP addresses Cloud doc (#609)
snehankekre Mar 17, 2023
4260904
Add Pandas column config techniques to Dataframe docs (#610)
snehankekre Mar 20, 2023
8838680
Update whats new tiles and blogs for 1.20.0 (#611)
snehankekre Mar 20, 2023
25860ab
Fix incorrect final screenshot in MSSQL Server tutorial (#612)
snehankekre Mar 20, 2023
d8bde06
Add comments to generate.py
snehankekre Mar 23, 2023
8dd37a3
Add a `[source]` link to API reference tables (#613)
snehankekre Mar 23, 2023
797b120
Fix GitHub source for API ref >=1.18.0
snehankekre Mar 23, 2023
f8fce1f
Fix GitHub source for API ref >=0.83.0
snehankekre Mar 23, 2023
213e2e8
Add `st.help` embedded apps to Cloud
snehankekre Mar 27, 2023
c68c39a
Update api-reference.md (#614)
lobotomisador Mar 30, 2023
5de3bcb
Replace Dataframe with .read_csv in utilities.help2.py
snehankekre Mar 31, 2023
7ae6f27
Replace Dataframe with .read_csv in utilities.help2.py
snehankekre Mar 31, 2023
8925429
Add `st.divider` API docs (#615)
snehankekre Apr 6, 2023
090f6d7
Document global `secrets.toml` file feature (#617)
snehankekre Apr 6, 2023
d7702f3
Docs for serializable session state (#619)
snehankekre Apr 6, 2023
c4e7db8
Add 1.21.0 release notes to changelog (#618)
snehankekre Apr 6, 2023
01575ad
Fix typo (#621)
blackary Apr 18, 2023
8d65bc7
Fix session state format (#625)
sfc-gh-jrieke Apr 26, 2023
c7c206a
`st.experimental_connection` API docs (#622)
snehankekre Apr 28, 2023
7edc9c5
Update mysql and snowflake tutorials for st.connection (#626)
sfc-gh-jcarroll Apr 28, 2023
8fe6535
Add 1.22.0 related changes (#627)
snehankekre Apr 28, 2023
e958aaf
Fix ttl=None -> ttl=0 to disable caching in tutorials (#628)
sfc-gh-jcarroll Apr 30, 2023
ee5c0c4
Update S3 and GCS tutorials to use FilesConnection (#629)
sfc-gh-jcarroll May 2, 2023
0766a5a
Cut off header in the docs sidebar
sfc-gh-jgarcia May 2, 2023
440475d
Fix gradient showing in API page
sfc-gh-jgarcia May 2, 2023
ca87b10
Merge pull request #630 from streamlit/ipad-fixes
sfc-gh-jgarcia May 9, 2023
6c45888
Emphasize Data Editor Limitations (#637)
MathCatsAnd May 9, 2023
635a1bd
Bump docs apps from 1.21.0 to 1.22.0 (#641)
snehankekre May 12, 2023
06a17dd
Hide deprecated API pages from search (#644)
snehankekre May 16, 2023
dce2922
Migrate Community Cloud support articles from Snowflake to Streamlit …
snehankekre May 17, 2023
320ff2a
Use pip+venv in get-started/installation.md (#620)
sfc-gh-kbregula May 18, 2023
d082287
Package compatibility warning including protobuf (#640)
MathCatsAnd May 18, 2023
91602c4
Manually add components to API Reference (#623)
sfc-gh-jgarcia May 19, 2023
33e1cf3
Remove 'view standalone Streamlit app' text from `cloud.js` and `stou…
snehankekre May 22, 2023
36db1f5
Fix link to Anaconda Navigator (#651)
RadixSeven May 22, 2023
9bf4e02
Media links update (#654)
MathCatsAnd May 22, 2023
259e31d
Dynamically update blog posts with `NewsFeed` component (#652)
snehankekre May 22, 2023
80f1786
Update sitemap generation workflow file (#648)
sfc-gh-jgarcia May 22, 2023
595d11b
[create-pull-request] automated change (#658)
github-actions[bot] May 22, 2023
4d6e1e4
Add docs on 'Embed your app' (#655)
snehankekre May 23, 2023
648caad
update tidb tutorial to use st.experimental_connection
zhangyangyu May 23, 2023
a09b886
[create-pull-request] automated change (#665)
github-actions[bot] May 24, 2023
4b47f1f
Replace oEmbed gif in `Embed your app` (#667)
snehankekre May 24, 2023
1eee07a
Add data editor and column config apps (#669)
snehankekre May 24, 2023
63c20c0
Merge pull request #666 from zhangyangyu/tidb-new-connection
sfc-gh-jcarroll May 24, 2023
6f7b853
Update caching.md (#670)
vfdev-5 May 25, 2023
788501d
Bump requests from 2.22.0 to 2.31.0 in /python/api-examples-source/he…
dependabot[bot] May 25, 2023
784dee2
Bump requests in /python/api-examples-source/mpa-hello (#663)
dependabot[bot] May 25, 2023
c521818
Bump requests from 2.22.0 to 2.31.0 in /python/api-examples-source (#…
dependabot[bot] May 25, 2023
d91a2b1
Components in API Reference page adjustments (#661)
sfc-gh-jgarcia May 25, 2023
c034f8a
Handle prism module error and log to console instead of crashing app …
snehankekre May 25, 2023
1326c98
Update Streamlit Cloud Python versions (#677)
MathCatsAnd May 29, 2023
52af7dd
[create-pull-request] automated change (#678)
github-actions[bot] May 29, 2023
0145f9f
Media links update (#660)
MathCatsAnd May 29, 2023
282c5b2
Change writing (#680)
sfc-gh-jrieke May 30, 2023
7315a51
Fix `border-radius` on code snippets and callouts (#682)
sfc-gh-jgarcia Jun 1, 2023
069d238
Bump docs apps to version from streamlit-nightly==1.22.1.dev20230523 …
snehankekre Jun 1, 2023
265c10e
Fix `<iframe>` refreshing issue (#683)
sfc-gh-jgarcia Jun 1, 2023
1e5afbc
Add 'Connecting to data' docs (#645)
snehankekre Jun 1, 2023
db3fd29
Delete experimental_show.md (#642)
sfc-gh-jrieke Jun 2, 2023
bbdc342
Add column type API cards to st.column_config (#673)
snehankekre Jun 2, 2023
5ad82d6
Add 1.23.0 release notes to the changelog (#689)
snehankekre Jun 2, 2023
c73373b
Remove extra comma from 1.23.0 changelog
snehankekre Jun 2, 2023
f8213ce
[create-pull-request] automated change (#686)
github-actions[bot] Jun 2, 2023
6ce7185
Move content in changelog point 1 to point 2
snehankekre Jun 2, 2023
3c0284b
Merge branch 'main' of https://github.com/streamlit/docs
snehankekre Jun 2, 2023
cc0d923
Additional improvements to data editor and column config (#691)
snehankekre Jun 5, 2023
0d1d622
Fix link to line chart column page (#692)
sfc-gh-jrieke Jun 5, 2023
dc1c40c
project folder name consistency (#693)
sfc-gh-dmatthews Jun 8, 2023
3333eb0
Grant Clipboard API permissions to iframed apps in docstrings (#694)
snehankekre Jun 8, 2023
593e911
Add docs on account deletion for Streamlit Community Cloud (#695)
snehankekre Jun 9, 2023
2de9132
[create-pull-request] automated change (#696)
github-actions[bot] Jun 9, 2023
70e02f5
Example apps for st.toast (#698)
sfc-gh-dmatthews Jun 15, 2023
dfa094c
Replace `*.streamlitapp.com` with `*.streamlit.app` (#699)
snehankekre Jun 15, 2023
7039082
Style: capitalization consistency (#704)
sfc-gh-dmatthews Jun 16, 2023
75fc430
[create-pull-request] automated change (#697)
github-actions[bot] Jun 16, 2023
9312e68
Upgrade: Allow generate.py to accept version override (#700)
sfc-gh-dmatthews Jun 16, 2023
29e8bcd
Remove release notes
sfc-gh-jgarcia Jun 16, 2023
22fda8f
Merge pull request #707 from streamlit/remove-release-notes
sfc-gh-dmatthews Jun 16, 2023
fa022df
change set_page_config arguments (#708)
astralko Jun 21, 2023
c7ef7bb
Docs for setting up a custom subdomain during app deployment (#710)
sfc-gh-dmatthews Jun 22, 2023
aab0f9f
Add a Cloud page on how to `Update your email` (#711)
sfc-gh-dmatthews Jun 22, 2023
1386c07
[create-pull-request] automated change (#705)
github-actions[bot] Jun 23, 2023
113df7a
Replace vercel-like favicon with Streamlit (#714)
snehankekre Jun 23, 2023
825a3ad
Addded advanced exaplanation and examples for st.button (#674)
MathCatsAnd Jun 23, 2023
3cc3600
Remove Community Cloud support for Python 3.7 (#716)
sfc-gh-dmatthews Jun 26, 2023
322a18d
Add chat input+message docstring apps
snehankekre Jun 26, 2023
8badd58
Edits to Advanced explanation and examples for st.button (#715)
sfc-gh-dmatthews Jun 26, 2023
d4c5e89
Add simple chat app for tutorial
snehankekre Jun 26, 2023
50c6e52
Simple chat app: Split on space instead of character
snehankekre Jun 26, 2023
f64d81d
Add echo bot app for chat tutorial
snehankekre Jun 27, 2023
74039f1
Remove Streamlit Core support for Python 3.7 (#717)
sfc-gh-dmatthews Jun 27, 2023
7fffd96
Add new chat elements to API reference (#718)
snehankekre Jun 27, 2023
1c59eab
Document `hash_funcs` Caching (#720)
snehankekre Jun 27, 2023
fcc994e
Document 1.24.0 related changes (#721)
snehankekre Jun 27, 2023
5025b87
Remove point about ibis table support from changelog
snehankekre Jun 27, 2023
b09c475
[create-pull-request] automated change (#713)
github-actions[bot] Jun 27, 2023
7e0c5a5
Improve embed options descriptions (#723)
sfc-gh-jrieke Jun 29, 2023
a3babc1
Harmonize AI model usage and improve message container syntax (#725)
Sven-Bo Jul 3, 2023
94a0ece
Added documentation for in-app options menu (use and configuration) (…
sfc-gh-dmatthews Jul 6, 2023
2d5eea3
Prevent `Collapse` component closing on code block copy action (#729)
snehankekre Jul 7, 2023
2558ebd
Bump json5 from 1.0.1 to 1.0.2 (#604)
dependabot[bot] Jul 7, 2023
a57d780
Bump decode-uri-component from 0.2.0 to 0.2.2 (#544)
dependabot[bot] Jul 7, 2023
b812668
Bump loader-utils from 2.0.2 to 2.0.4 (#530)
dependabot[bot] Jul 7, 2023
8d9d873
Bump qs, body-parser and express (#543)
dependabot[bot] Jul 10, 2023
c2de3ea
Add LLM-powered chat app to feature in tutorial (#732)
snehankekre Jul 10, 2023
75caa6a
Bump minimatch from 3.0.4 to 3.1.2 (#731)
dependabot[bot] Jul 10, 2023
98c24eb
Embed llm-powered chat app in tutorial (#733)
snehankekre Jul 10, 2023
e96b960
Bump semver from 5.7.1 to 5.7.2 (#734)
dependabot[bot] Jul 11, 2023
1529149
[create-pull-request] automated change (#722)
github-actions[bot] Jul 12, 2023
aa8a03e
Embedded apps for Dataframe guide (#735)
sfc-gh-dmatthews Jul 12, 2023
c8e861a
Simplify code examples for st.balloons/st.snow (#741)
sfc-gh-jrieke Jul 13, 2023
bb60b1f
Correct links on App menu guide (#738)
sfc-gh-dmatthews Jul 13, 2023
2e6e06c
Switch embedded apps to nightly for release
sfc-gh-dmatthews Jul 14, 2023
8474173
Merge pull request #742 from streamlit/sfc-gh-dmatthews-patch-1
sfc-gh-jcarroll Jul 14, 2023
f95dafd
Embedded app for st.map color and size support (#743)
sfc-gh-dmatthews Jul 14, 2023
92ee323
Add NPM install instructions to README.md
snehankekre Jul 17, 2023
a657e3a
Feature/column config dataframe guide (#739)
sfc-gh-dmatthews Jul 17, 2023
294b2b2
Fix typo in readme.md (#747)
sfc-gh-dswiecki Jul 17, 2023
cf282c6
Visual fixes to inline code and images (#748)
sfc-gh-jgarcia Jul 17, 2023
91afcc1
Feature: Add Escape key functionality to close enlarged images (#749)
snehankekre Jul 18, 2023
863eb20
Bug: onClick event for close button be set to call closeModal, not op…
snehankekre Jul 18, 2023
8cee034
DOC: small markdown fix (#752)
yogabonito Jul 19, 2023
4bbd5ac
Bump word-wrap from 1.2.3 to 1.2.4 (#753)
dependabot[bot] Jul 19, 2023
679b5b3
Pass unique key prop to each NewsEntry in NewsFeed component (#754)
snehankekre Jul 19, 2023
07949a6
Version selector persists when st.command doesn't exist in version (#…
snehankekre Jul 19, 2023
fd68407
Update embedded app in st.connection guide
sfc-gh-dmatthews Jul 19, 2023
8a78eea
Merge pull request #756 from streamlit/fix/st-connection-embedded-app
sfc-gh-jcarroll Jul 19, 2023
4e0a9c6
Fix regression
sfc-gh-jgarcia Jul 20, 2023
5e0fb87
Merge pull request #761 from streamlit/fix-inline-code-regression
sfc-gh-jgarcia Jul 20, 2023
ff35160
Add app source code for forms guide (#758)
sfc-gh-dmatthews Jul 20, 2023
f9888cc
Fix Invalid DOM property warning on svg path in socialCallout.js (#759)
snehankekre Jul 21, 2023
42e60e8
Add documentation for `st.toast` (#744)
sfc-gh-dmatthews Jul 21, 2023
eec6881
Add source file for st.date_input embedded app (#763)
sfc-gh-dmatthews Jul 21, 2023
d4a1420
Add new guide on forms (#757)
sfc-gh-dmatthews Jul 21, 2023
665c35a
Update images to remove hamburger menu (#730)
sfc-gh-dmatthews Jul 21, 2023
52986dd
Release Notes 1.25.0 (#762)
sfc-gh-dmatthews Jul 21, 2023
4e2e310
Bump app requirements to 1.25.0 compatible versions
snehankekre Jul 21, 2023
c038405
[create-pull-request] automated change (#737)
github-actions[bot] Jul 21, 2023
e6ee71d
[create-pull-request] automated change (#764)
github-actions[bot] Jul 21, 2023
4de52fc
Update app-menu.md (#767)
BejanSadeghian Jul 24, 2023
1d3a102
Update set_page_config snippet (#768)
evandiewald Jul 27, 2023
039db0f
Embed 'Introducing Streamlit Chat Elements' video in API and tutorial…
snehankekre Jul 27, 2023
65e6de2
Update toast example description (#771)
sfc-gh-dmatthews Jul 27, 2023
8d65683
Add tutorial embedded app (#772)
sfc-gh-dmatthews Jul 28, 2023
b900ed7
Add LLM tutorial (#773)
sfc-gh-dmatthews Jul 29, 2023
9e4f303
Update index.md (#774)
dataprofessor Aug 1, 2023
0081531
Pagination updates (#776)
sfc-gh-jgarcia Aug 3, 2023
130f47f
Dont truncate sidenav titles (#777)
sfc-gh-jgarcia Aug 8, 2023
6fcae79
Update Community Cloud docs (#766)
sfc-gh-dmatthews Aug 8, 2023
7681521
Prerelease 1.26.0 (#780)
sfc-gh-dmatthews Aug 18, 2023
de6d3dd
Update st.status embedded apps (#788)
sfc-gh-dmatthews Aug 23, 2023
ff45d24
Update components-api.md (#789)
sfc-gh-pbelczyk Aug 23, 2023
8ae5ce8
Fix scrollbars on MacOS (#781)
sfc-gh-jgarcia Aug 23, 2023
2e4e95b
Update components-api.md (#793)
sfc-gh-pbelczyk Aug 24, 2023
d89d5d0
Release 1.26.0 (#791)
sfc-gh-dmatthews Aug 25, 2023
e4407c7
[create-pull-request] automated change (#765)
github-actions[bot] Aug 25, 2023
97f9900
Feature: optionally support line numbers in code blocks
snehankekre Aug 30, 2023
a65565f
Hide vertical line to the right of line no in code blocks
snehankekre Aug 30, 2023
7173d92
Demo optional line numbers in code blocks
snehankekre Aug 30, 2023
9f6c715
Safe checking for `children.props`
snehankekre Aug 30, 2023
2e8e90a
Use `showLineNumbers` instead of `numbered`
snehankekre Aug 30, 2023
0f7acc8
Fix baseline alignment for line numbers
sfc-gh-jgarcia Aug 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/python-3/.devcontainer/base.Dockerfile

# [Choice] Python version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.10, 3.9, 3.8, 3.7, 3.6, 3-bullseye, 3.10-bullseye, 3.9-bullseye, 3.8-bullseye, 3.7-bullseye, 3.6-bullseye, 3-buster, 3.10-buster, 3.9-buster, 3.8-buster, 3.7-buster, 3.6-buster
ARG VARIANT="3.10-bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}

# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
ARG NODE_VERSION="none"
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi

ENV PATH="/home/vscode/.local/bin:${PATH}"

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>

# [Optional] Uncomment this line to install global node packages.
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
41 changes: 41 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/python-3
{
"name": "Python 3",
"build": {
"dockerfile": "Dockerfile",
"context": "..",
"args": {
// Update 'VARIANT' to pick a Python version: 3, 3.10, 3.9, 3.8, 3.7, 3.6
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"VARIANT": "3.7",
// Options
"NODE_VERSION": "lts/*"
}
},
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/usr/local/bin/python",
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
3000
],
// Use 'postCreateCommand' to run commands after the container is created.
// Install NPM dependencies.
"postCreateCommand": "make",
// Use 'postStartCommand' to run 'make up' every time the container is started.
"postStartCommand": "make up",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"features": {
"git": "latest",
"github-cli": "latest"
}
}
55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: bug, needs triage
assignees: ""
---

### Summary

Type here a clear and concise description of the bug. Aim for 2-3 sentences.

### Steps to reproduce

Code snippet:

```

```

Screenshot(s):

(Please provide a code snippet and/or screenshots! These will help expedite us finding and solving the problem.)

If applicable, please provide the steps we should take to reproduce the bug:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'

**Expected behavior:**

Explain what you expect to happen when you go through the steps above, assuming there were no bugs.

**Actual behavior:**

Explain the buggy behavior you experience when you go through the steps above.
If applicable, add screenshots to help explain your problem.

### Is this a regression?

That is, did this use to work the way you expected in the past?
yes / no

### Debug info

- Docs page link: (do you have a link to the docs page containing the bug?)
- npm version: (get it with `npm -v`)
- node version: (get it with `node -v`)
- OS version:
- Browser version:

### Additional information

If needed, add any other context about the problem here. For example, did this bug come from <https://discuss.streamlit.io> or another site? Link the original source here!
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Streamlit community support
url: https://discuss.streamlit.io/
about: Please ask and answer questions here.
- name: Streamlit documentation
url: https://docs.streamlit.io/
about: To learn more about how Streamlit works.
- name: Streamlit docs README
url: https://github.com/streamlit/docs/blob/main/README.md
about: To learn how Streamlit's documentation works.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/doc_improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Documentation improvement request
about: Let us know how our docs could be better
title: ""
labels: docs, needs triage
assignees: ""
---

**Link to doc page in question (if any):**

**Name of the Streamlit feature whose docs need improvement:**

**What you think the docs should say:**
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: enhancement, needs triage
assignees: ""
---

_(Note, you don't have to fill out every section here. They're just here for guidance. That said, nicely detailed feature requests are more likely to get eng attention sooner)_

### Problem

Is your feature request related to a problem? Please describe the problem here. Ex. I'm always frustrated when [...]

### Solution

**MVP:** What's the smallest possible solution that would get 80% of the problem out of the way?

**Possible additions:** What are other things that could be added to the MVP over time to make it better?

**Preferred solution:** If you don't like the MVP above, tell us why, and what you'd like done instead.

### Additional context

Add any other context or screenshots about the feature request here. For example, did this FR come from <https://discuss.streamlit.io> or another site? Link the original source here!
38 changes: 38 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## 📚 Context

<!-- Why do you want to make this change? What background should the reviewer know? -->

## 🧠 Description of Changes

<!-- What was specifically changed? Which files, algorithms, links, media? -->
<!-- Please add them here as a bulleted list -->

**Revised:**

_Insert screenshot of your updated UI/code here_

**Current:**

_Insert screenshot of existing UI/code here_

## 💥 Impact

<!-- what is the scale of this change -->

Size:

- [ ] Small <!-- Small bug fix or small edit to existing code that amounts to few lines) -->
- [ ] Not small <!-- Everything else -->

## 🌐 References

<!-- Add link to a Design Document, forum thread, or a ticket that has the greater context for this change. -->
<!-- For small isolated changes, you can skip this section -->

- [ ] [Notion](...)

<!-- Want to edit this template? https://github.com/streamlit/docs/edit/master/.github/pull_request_template.md -->

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
53 changes: 53 additions & 0 deletions .github/workflows/postbuild-scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: postbuild-scripts
run-name: Build the site, update Algolia's search index, and regenerate the sitemap
on:
push:
branches:
- "main"

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true

jobs:
build-search-index:
runs-on: ubuntu-latest
name: Build Algolia search index

steps:
- name: Checkout the repo
uses: actions/checkout@v3

- name: Setup node, build the site and search index afterwards
uses: actions/setup-node@v3
with:
node-version: "14"
- run: npm install
- run: npm run build
- run: node ./scripts/build-search-index.js
build-sitemap:
runs-on: ubuntu-latest
name: Build sitemap

steps:
- name: Checkout the repo
uses: actions/checkout@v3

- name: Setup node, build the site, and generate the sitemap
id: sitemap
uses: actions/setup-node@v3
with:
node-version: "14"
- run: npm install
- run: npm run build
- run: npm run sitemap

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: "Automated sitemap update"
body: >
Sitemap updated by the [generate-sitemap](https://github.com/cicirello/generate-sitemap)
GitHub action. Automated pull-request generated by the
[create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ typings/
.rts2_cache_es/
.rts2_cache_umd/

# Python cache
python/__pycache__/

# Optional REPL history
.node_repl_history

Expand Down Expand Up @@ -102,3 +105,11 @@ dist

# TernJS port file
.tern-port

.next/
node_modules/
/npm-debug.log
.DS_Store
out/
public/pdf/pages/
.idea/
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx pretty-quick --staged
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v15.14.0
35 changes: 35 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Just copied straight from .gitignore

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

.env

# Sitemap and other public files
/public
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading