Skip to content

Commit cde4af6

Browse files
committed
update
1 parent d7bbf94 commit cde4af6

2 files changed

Lines changed: 181 additions & 10 deletions

File tree

.gitignore

Lines changed: 107 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,110 @@
1-
# echo ".DS_Store" >> .gitignore
2-
echo ".vscode/" >> .gitignore
3-
echo "node_modules/" >> .gitignore
4-
echo "*.pyc" >> .gitignore
5-
echo "*.class" >> .gitignore
6-
echo "*.log" >> .gitignore
7-
echo "Thumbs.db" >> .gitignore
8-
# echo "testing.md" >> .gitignore
1+
# macOS
2+
.DS_Store
3+
.DS_Store?
4+
._*
5+
.Spotlight-V100
6+
.Trashes
7+
ehthumbs.db
8+
Thumbs.db
9+
10+
# IDE and Editors
11+
.vscode/
12+
.idea/
13+
*.swp
14+
*.swo
15+
*~
16+
17+
# Node.js
18+
node_modules/
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*
22+
.npm
23+
.eslintcache
24+
25+
# Build outputs
26+
dist/
27+
build/
28+
*.tgz
29+
*.tar.gz
30+
31+
# Logs
32+
*.log
33+
logs/
34+
35+
# Runtime data
36+
pids/
37+
*.pid
38+
*.seed
39+
*.pid.lock
40+
41+
# Coverage directory used by tools like istanbul
42+
coverage/
43+
.nyc_output
44+
45+
# Dependency directories
46+
jspm_packages/
47+
48+
# Optional npm cache directory
49+
.npm
50+
51+
# Optional REPL history
52+
.node_repl_history
53+
54+
# Output of 'npm pack'
55+
*.tgz
56+
57+
# Yarn Integrity file
58+
.yarn-integrity
59+
60+
# Environment variables
61+
.env
62+
.env.local
63+
.env.development.local
64+
.env.test.local
65+
.env.production.local
66+
67+
# Python
68+
*.pyc
69+
*.pyo
70+
*.pyd
71+
__pycache__/
72+
*.so
73+
.Python
74+
env/
75+
pip-log.txt
76+
pip-delete-this-directory.txt
77+
.tox/
78+
.coverage
79+
.coverage.*
80+
.cache
81+
nosetests.xml
82+
coverage.xml
83+
*.cover
84+
*.log
85+
.git
86+
.mypy_cache
87+
.pytest_cache
88+
.hypothesis
89+
90+
# Java
91+
*.class
92+
93+
# Testing and development files
994
**/testing.md
10-
# Local config file with private data
11-
**/config.js
95+
DEVELOPMENT.md
96+
97+
# Widget-specific config files (NOT VitePress config!)
98+
# Only ignore config files in widget directories that contain sensitive data
99+
**/Countdown\ Widget/config.js
100+
**/widget-configs/config.js
101+
102+
# VitePress build cache (but keep source files!)
103+
docs/.vitepress/cache/
104+
docs/.vitepress/dist/
105+
106+
# Temporary files
107+
temp/
108+
tmp/
12109

13110

docs/.vitepress/config.js

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
export default {
2+
title: 'Scriptable iOS Widgets',
3+
description: 'Custom iOS Widgets built with Scriptable by rushhiii',
4+
base: process.env.VITEPRESS_BASE || '/Scriptable-IOSWidgets/', // Configurable base path
5+
6+
head: [
7+
['link', { rel: 'icon', href: `${process.env.VITEPRESS_BASE || '/Scriptable-IOSWidgets/'}/favicon.ico` }],
8+
['meta', { name: 'theme-color', content: '#5f67ee' }],
9+
['meta', { property: 'og:type', content: 'website' }],
10+
['meta', { property: 'og:locale', content: 'en' }],
11+
['meta', { property: 'og:title', content: 'Scriptable iOS Widgets | Beautiful Custom Widgets' }],
12+
['meta', { property: 'og:site_name', content: 'Scriptable iOS Widgets' }],
13+
['meta', { property: 'og:url', content: 'https://rushhiii.github.io/Scriptable-IOSWidgets/' }]
14+
],
15+
16+
themeConfig: {
17+
logo: 'https://raw.githubusercontent.com/rushhiii/Scriptable-IOSWidgets/main/.src/scriptable_icon.png',
18+
19+
nav: [
20+
{ text: 'Home', link: '/' },
21+
{ text: 'Widgets', link: '/widgets/' },
22+
{ text: 'GitHub', link: 'https://github.com/rushhiii/Scriptable-IOSWidgets' }
23+
],
24+
25+
sidebar: [
26+
{
27+
text: '🚀 Getting Started',
28+
items: [
29+
{ text: 'Introduction', link: '/' },
30+
{ text: 'Installation', link: '/installation' }
31+
]
32+
},
33+
{
34+
text: '📱 Widgets',
35+
items: [
36+
{ text: 'AQI Widget', link: '/widgets/aqi-widget' },
37+
{ text: 'Birthday Widget', link: '/widgets/birthday-widget' },
38+
{ text: 'Countdown Widget', link: '/widgets/countdown-widget' },
39+
{ text: 'GitHub Stats Widget', link: '/widgets/github-stats-widget' },
40+
{ text: 'Hindu Calendar Widget', link: '/widgets/hindu-calendar-widget' },
41+
{ text: 'Quote Widget', link: '/widgets/quote-widget' },
42+
{ text: 'Schedule Widget', link: '/widgets/schedule-widget' },
43+
{ text: 'Time Progress Widget', link: '/widgets/time-progress-widget' },
44+
{ text: 'Toyota Widget', link: '/widgets/toyota-widget' },
45+
{ text: 'Weather Widget', link: '/widgets/weather-widget' }
46+
]
47+
},
48+
{
49+
text: '📚 Resources',
50+
items: [
51+
{ text: 'Scriptable Documentation', link: 'https://docs.scriptable.app/' },
52+
{ text: 'Contributing', link: '/contributing' }
53+
]
54+
}
55+
],
56+
57+
socialLinks: [
58+
{ icon: 'github', link: 'https://github.com/rushhiii/Scriptable-IOSWidgets' }
59+
],
60+
61+
footer: {
62+
message: 'Released under the MIT License.',
63+
copyright: 'Copyright © 2024-present rushhiii'
64+
},
65+
66+
editLink: {
67+
pattern: 'https://github.com/rushhiii/Scriptable-IOSWidgets/edit/main/docs/:path'
68+
},
69+
70+
search: {
71+
provider: 'local'
72+
}
73+
}
74+
}

0 commit comments

Comments
 (0)