File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151
5252 - name : Publish to Maven Central
5353 run : ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
54+
55+ pages :
56+ needs : deploy
57+ uses : ./.github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ workflow_call :
78
89permissions :
910 contents : write
2829 - run : pip install pillow cairosvg
2930 - run : pip install mkdocs-minify-plugin
3031 - run : pip install mkdocs-macros-plugin
32+ - run : pip install ghp-import
3133
32- - run : mkdocs gh-deploy --force
34+ - name : Set up JDK 17
35+ uses : actions/setup-java@v5
36+ with :
37+ java-version : ' 17'
38+ distribution : ' zulu'
39+
40+ - name : Setup gradle
41+ uses : gradle/actions/setup-gradle@v5
42+
43+ - name : Build web demo
44+ run : ./gradlew :sample:web:wasmJsBrowserDistribution
45+
46+ - name : Build docs
47+ run : mkdocs build
48+
49+ - name : Add web demo to site
50+ run : cp -r sample/web/build/dist/wasmJs/productionExecutable site/demo
51+
52+ - name : Deploy to GitHub Pages
53+ run : ghp-import --no-jekyll --push --force --no-history site
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ A library that allows you to easily add drag and drop functionality to your Jetp
1010
1111![ Compose DND sample] ( docs/images/hero.gif )
1212
13+ ** [ Try the live demo] ( https://mohamedrejeb.github.io/compose-dnd/demo/ ) ** · ** [ Documentation] ( https://mohamedrejeb.github.io/compose-dnd/ ) **
14+
1315## Features
1416
1517- ** Drag and Drop** -- Drag items from one location and drop them onto designated targets
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ edit_uri: ""
88theme :
99 name : ' material'
1010 language : ' en'
11- favicon : ' images/logo.ico '
11+ favicon : ' images/logo.svg '
1212 logo : ' images/logo.svg'
1313 palette :
1414 - scheme : default
5353 - ' Conditional Drop ' : drag-and-drop/conditional-drop.md
5454 - ' Multiple Lists (Kanban) ' : drag-and-drop/kanban-board.md
5555 - ' Form Builder (Copy on Drop) ' : drag-and-drop/form-builder.md
56+ - ' Live Demo ' : https://mohamedrejeb.github.io/compose-dnd/demo/
5657 - ' Code of Conduct ' : code_of_conduct.md
5758
5859extra_css :
You can’t perform that action at this time.
0 commit comments