-
Notifications
You must be signed in to change notification settings - Fork 5
Write frontend docs for all components in an appealing form factor. #504
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
Merged
Merged
Changes from 54 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
3386358
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute cef56f0
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute e53751a
example update
KarelJanVanHaute 9480aa7
Example files
arnaud-dbu e4b4e67
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute a721736
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute e7d00ca
docs
KarelJanVanHaute b85d231
Refactor dropdown to use data-attributes and document component
arnaud-dbu 8a28e2c
Refactor scroll smooth to use data-attributes and document component
arnaud-dbu 4a2c682
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute b1d3960
docs
KarelJanVanHaute 57dcf6a
github pages
KarelJanVanHaute 915a2fe
github pages
KarelJanVanHaute 8493f3c
github pages
KarelJanVanHaute fd4ba4d
packages
KarelJanVanHaute c0a279b
packages
KarelJanVanHaute d512772
docs
KarelJanVanHaute e741ec1
docs path
KarelJanVanHaute 55ad009
build with doc styles
KarelJanVanHaute 18d675e
accordion
KarelJanVanHaute 751cf6f
add close button functionality to accordion component
KarelJanVanHaute f7f36d1
update accordion documentation to include grouping and extra close bu…
KarelJanVanHaute 13093c0
refactor: simplify DynamicLayout and update navigation links in config
KarelJanVanHaute bb9d4b8
refactor: update AjaxPaging component to use data attributes for elem…
KarelJanVanHaute 6e8fa72
Refactor code structure for improved readability and maintainability
KarelJanVanHaute de92cb6
Add AJAX paging examples and documentation
KarelJanVanHaute c24699b
refactor: update AjaxSearch component to use new data attributes and …
KarelJanVanHaute ba2aa29
refactor: update AjaxSearch component to handle asynchronous language…
KarelJanVanHaute dc01cde
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute 052481e
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute 275488e
feat: add Swiper component and update documentation for new components
KarelJanVanHaute b212d09
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute 033b958
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute 96b80d5
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute e7b6c03
filter
KarelJanVanHaute c16be5f
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute c0d8336
Indeterminate
KarelJanVanHaute 572a1d5
toggle
KarelJanVanHaute 57df59a
validation
KarelJanVanHaute 5132d45
pullout
KarelJanVanHaute 7e35c74
pullout
KarelJanVanHaute 20a45c5
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute 3f2434c
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute 2270051
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute 543ea10
Matrix
KarelJanVanHaute 889aa1f
frontend
KarelJanVanHaute bd114f5
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute a683227
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute 928f9b4
docs
KarelJanVanHaute f57e117
docs and components
KarelJanVanHaute 7eed4d8
fixes
KarelJanVanHaute 2d661ac
remove jspluging
KarelJanVanHaute d8bf6e2
git
KarelJanVanHaute aeeed05
Merge branch 'develop' into KarelJanVanHaute/issue347
KarelJanVanHaute 376da2f
Write frontend docs for all components in an appealing form factor.
KarelJanVanHaute 4fabb6f
remove doctest
KarelJanVanHaute File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
CRAFT_DB_SERVER="db" | ||
CRAFT_DB_USER="db" | ||
CRAFT_DB_PASSWORD="db" | ||
MAILPIT_SMTP_PORT="1025" | ||
CRAFT_DB_DRIVER="mysql" | ||
CRAFT_DB_PORT="3306" | ||
CRAFT_DB_DATABASE="db" | ||
MAILPIT_SMTP_HOSTNAME="127.0.0.1" | ||
CRAFT_DB_SERVER="db" | ||
CRAFT_DB_USER="db" | ||
CRAFT_WEB_ROOT="/var/www/html/public" | ||
PRIMARY_SITE_URL="https://craft-base-install.local.statik.be" | ||
CRAFT_DB_DATABASE="db" | ||
CRAFT_DB_PASSWORD="db" | ||
MAILPIT_SMTP_HOSTNAME="127.0.0.1" | ||
MAILPIT_SMTP_PORT="1025" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Sample workflow for building and deploying a VitePress site to GitHub Pages | ||
# | ||
name: Deploy VitePress site to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the `main` branch. Change this to `master` if you're | ||
# using the `master` branch as the default branch. | ||
push: | ||
branches: [master] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: pages | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Not needed if lastUpdated is not enabled | ||
# - uses: pnpm/action-setup@v3 # Uncomment this block if you're using pnpm | ||
# with: | ||
# version: 9 # Not needed if you've set "packageManager" in package.json | ||
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: npm # or pnpm / yarn | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v4 | ||
- name: Install dependencies in root | ||
run: yarn install # or pnpm install / yarn install / bun install | ||
- name: Install dependencies for docs | ||
working-directory: ./docs | ||
run: yarn install # or pnpm install / yarn install / bun install | ||
- name: Build frontend into docs | ||
working-directory: ./docs | ||
run: yarn build # or pnpm docs:build / yarn docs:build / bun run docs:build | ||
- name: Build with VitePress | ||
working-directory: ./docs | ||
run: yarn docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: docs/src/.vitepress/dist | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
needs: build | ||
runs-on: ubuntu-latest | ||
name: Deploy | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ nvm install && nvm use | |
npm install -g yarn | ||
yarn install | ||
yarn prod | ||
yarn ckeditor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
IHXFQTF50SHEH+^WA3IS*O$HT8U=1LRSZGP587O/SXRVAP!D^= | ||
+M2TU48Y73CG^%#YN=/K$ZWG%UHMXGV+SX^US70P^SH432GD*1 | ||
KC*WPXCNIX#D2VV6HJPSWW5!=K#K*/WHEA0B+3&9HKNKRIE5DG | ||
TURZ!AR+QA=66HH9$R4DNSYE0ANY4V2KR6N3NZ4T+Z&DE9A*23 | ||
!&3IY#D+$BRAXSAUC%I2L/3U&P$ZKA#KI6$FOI99B&OBD69R16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
dateModified: 1756977801 | ||
dateModified: 1759849244 | ||
elementSources: | ||
craft\elements\Entry: | ||
- | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
VITE_GOOGLE_API_KEY_MAPS="AIzaSyCEjq6aeTaQe626svSDfn8WQ4InLVt9cJw" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Statik Craft Base Install Docs | ||
|
||
## How to build | ||
|
||
- First run `yarn build`. This will take all the frontend from the frontend folder and build it to the example folder zo all examples work. | ||
- Then run `yarn docs:dev` for local testing. | ||
- If all is done you can run `yarn docs:build` and `yarn docs:preview` to preview the final result. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "docs", | ||
"type": "module", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "vite build", | ||
"docs:dev": "vitepress dev src", | ||
"docs:build": "vitepress build src", | ||
"docs:preview": "vitepress preview src" | ||
}, | ||
"devDependencies": { | ||
"vitepress": "^1.6.3" | ||
}, | ||
"dependencies": {} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"hash": "9969b800", | ||
"configHash": "8b872746", | ||
"lockfileHash": "e0c142d9", | ||
"browserHash": "3f9c9830", | ||
"optimized": { | ||
"vue": { | ||
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js", | ||
"file": "vue.js", | ||
"fileHash": "d9ca7532", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vue/devtools-api": { | ||
"src": "../../../../node_modules/@vue/devtools-api/dist/index.js", | ||
"file": "vitepress___@vue_devtools-api.js", | ||
"fileHash": "f3e8997c", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vueuse/core": { | ||
"src": "../../../../node_modules/@vueuse/core/index.mjs", | ||
"file": "vitepress___@vueuse_core.js", | ||
"fileHash": "670b8f6c", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vueuse/integrations/useFocusTrap": { | ||
"src": "../../../../node_modules/@vueuse/integrations/useFocusTrap.mjs", | ||
"file": "vitepress___@vueuse_integrations_useFocusTrap.js", | ||
"fileHash": "534edfcb", | ||
"needsInterop": false | ||
}, | ||
"vitepress > mark.js/src/vanilla.js": { | ||
"src": "../../../../node_modules/mark.js/src/vanilla.js", | ||
"file": "vitepress___mark__js_src_vanilla__js.js", | ||
"fileHash": "7cb96e71", | ||
"needsInterop": false | ||
}, | ||
"vitepress > minisearch": { | ||
"src": "../../../../node_modules/minisearch/dist/es/index.js", | ||
"file": "vitepress___minisearch.js", | ||
"fileHash": "ecf7a73a", | ||
"needsInterop": false | ||
} | ||
}, | ||
"chunks": { | ||
"chunk-Z5QSWKN2": { | ||
"file": "chunk-Z5QSWKN2.js" | ||
}, | ||
"chunk-LW4I4DCF": { | ||
"file": "chunk-LW4I4DCF.js" | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "module" | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.