Skip to content

Commit ddae428

Browse files
lionsardesaimoustafa-adorxlineainframingjerli
authored
refresh main with changes after 0.2.0 - 0.2.1 (#804)
* bump up the version * copying over the items from platform-demo * minor edits to the self-hosting-demo * Update README.md * Update README.md * update demo notebook tagging * Add tutorials to docs * first attempt at the github action. flood gates will open after MJL finishes his copy * also copy our favourite tutorial for the same treatment as other demos. * Add artifact store file for main PR (#798) * Update and reorganize RTD docs (#795) * Move intro text to pipeline's TOC section * Reorganize RTD pages related to artifact storage * Add a new section on using existing artifacts * Update index.rst minor change * Update index.rst minor tweaks * Update s3.rst minor tweak * Update s3.rst @yoonspark let me know if this modification makes sense * Fix typos; remove duplacate doc * For Postgres and S3, make clearer distinction between storing artifact values vs. metadata * Add phrasing suggested by MMA Co-authored-by: Moustafa AbdelBaky <[email protected]> * Add mkdir step before cp (#799) * Lin 621 migrate everything from demos repo to lineapy examples (#794) * Copy demos repo stories * Exclude self-hosting-lineapy notebooks from CI * Use zip artifact store file * Skip cell due to bugs in pandas Only happen in python 3.10, so not going to force updating pandas version in requirements. Related pandas-dev/pandas#41935 Co-authored-by: Humble bot servant <[email protected]> * Add tutorials to docs * Lin 621 cleanup nbval prefix (#800) * Fix mkdir demos error and remove NBVAL_prefix in demos notebooks * Exclude notebooks in demos from CI * Modify a comment to trigger demo copy (#803) * Modify a comment * Add tutorials to docs Co-authored-by: Humble bot servant <[email protected]> * get rid of is_demo. es confuso * add lineapy install at the top. * Add tutorials to docs * load lineapy as an extension. * Add tutorials to docs * refresh all the tags and rebuild demos. * Add tutorials to docs * two actions were competing with each other. arranging for both demos and docs folder to sync together and commit only once (might need to merge into main for this to work) * add explicit image for colab * Refresh demos folder and update docs Co-authored-by: Moustafa <[email protected]> Co-authored-by: dorx <[email protected]> Co-authored-by: Humble bot servant <[email protected]> Co-authored-by: Mingjer Lee <[email protected]> Co-authored-by: Sangyoon Park <[email protected]>
1 parent c8c0e30 commit ddae428

File tree

66 files changed

+18045
-462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+18045
-462
lines changed

.github/workflows/docs.yml

-30
This file was deleted.

.github/workflows/sync_notebooks.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Sync Demos and docs
2+
3+
on:
4+
push:
5+
branches-ignore: [main]
6+
paths:
7+
- "examples/use_cases/**/*.ipynb"
8+
- "examples/tutorials/00_api_basics.ipynb"
9+
10+
jobs:
11+
sync-notebooks:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
17+
18+
- name: "Copy demo notebooks to top level demos folder"
19+
run: mkdir -p demos/ && cp -R examples/use_cases/* demos/ && cp examples/tutorials/00_api_basics.ipynb demos/
20+
21+
- name: "copy example notebooks to docs"
22+
run: cp examples/tutorials/00_api_basics.ipynb docs/source/tutorials/
23+
24+
- name: "Regex out the NBVAL_SKIP and NBVAL_IGNORE_OUTPUT comments"
25+
run: |
26+
cd demos/
27+
find ./ -type f -name "*.ipynb" -exec sed -i 's/\#[\ ]*NBVAL_SKIP//g' {} \;
28+
find ./ -type f -name "*.ipynb" -exec sed -i 's/\#[\ ]*NBVAL_IGNORE_OUTPUT//g' {} \;
29+
30+
- name: Commit files
31+
run: |
32+
git config --local user.email "[email protected]"
33+
git config --local user.name "Humble bot servant"
34+
git add .
35+
(git diff --quiet && git diff --staged --quiet) || git commit -m "Refresh demos folder and update docs"
36+
- name: push synced changes
37+
uses: ad-m/github-push-action@master
38+
with:
39+
github_token: ${{ secrets.GITHUB_TOKEN }}
40+
branch: ${{ github.ref }}
41+
42+

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ tests/integration/venvs/
154154
*.sqlite
155155
*.db
156156
*.png
157+
!lineapy_artifact.png
157158

158159
tmp_*
159160
*.temp

0 commit comments

Comments
 (0)