Skip to content

Commit 654fa28

Browse files
committed
minimal builds
1 parent fefa8a1 commit 654fa28

File tree

3 files changed

+178
-0
lines changed

3 files changed

+178
-0
lines changed

_config.dev.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Development Configuration for Python Deadlines
2+
# Fast build config - only English and German, no archive/legacy processing
3+
# Usage: bundle exec jekyll serve --config _config.yml,_config.dev.yml
4+
5+
# Override languages for faster builds
6+
languages: [ "en", "de" ]
7+
8+
# Exclude archive and legacy from page generation for faster builds
9+
page_gen:
10+
# Only process active conferences, skip archive and legacy
11+
- data: 'conferences'
12+
template: 'summary'
13+
dir: 'series'
14+
name_expr: record['conference'].downcase.strip.gsub(' ', '-').gsub(/[^\p{L}]+/, '-')
15+
title_expr: record['conference']+" "+"Conference Series Overview"
16+
- data: 'conferences'
17+
template: 'conference'
18+
dir: 'conference'
19+
name_expr: record['conference'].downcase.strip.gsub(' ', '-').gsub(/[^\p{L}]+/, '-')+"-"+record['year'].to_s
20+
title_expr: record['conference']+" "+record['year'].to_s+" Conference Deadlines"
21+
# Archive and legacy are commented out for dev builds
22+
# - data: 'archive'
23+
# template: 'summary'
24+
# dir: 'series'
25+
# name_expr: record['conference'].downcase.gsub(/[^\p{L}]+/, ' ').strip.gsub(' ', '-')
26+
# title_expr: record['conference']+" "+"Conference Series Overview"
27+
# filter_condition: site.pages.none? { |page| page.relative_path.include?('/' + record['conference'].downcase.gsub(/[^\p{L}]+/, ' ').strip.gsub(' ', '-') + '/') }
28+
# - data: 'legacy'
29+
# template: 'summary'
30+
# dir: 'series'
31+
# name_expr: record['conference'].downcase.strip.gsub(' ', '-').gsub(/[^\p{L}]+/, '-')
32+
# title_expr: record['conference']+" "+"Conference Series Overview"
33+
# filter_condition: site.pages.none? { |page| page.relative_path.include?('/' + record['conference'].downcase.gsub(/[^\p{L}]+/, ' ').strip.gsub(' ', '-') + '/') }
34+
# - data: 'archive'
35+
# template: 'conference'
36+
# dir: 'conference'
37+
# name_expr: record['conference'].downcase.strip.gsub(' ', '-').gsub(/[^\p{L}]+/, '-')+"-"+record['year'].to_s
38+
# title_expr: record['conference']+" "+record['year'].to_s+" Conference Deadlines"
39+
# - data: 'legacy'
40+
# template: 'conference'
41+
# dir: 'conference'
42+
# name_expr: record['conference'].downcase.strip.gsub(' ', '-').gsub(/[^\p{L}]+/, '-')+"-"+record['year'].to_s
43+
# title_expr: record['conference']+" "+record['year'].to_s+" Conference Deadlines"
44+
45+
# Additional optimizations for development
46+
# Disable some plugins that aren't needed during development
47+
plugins:
48+
- jekyll-include-cache
49+
# - jekyll-seo-tag # Can disable for even faster builds
50+
- jekyll-datapage-generator
51+
# - jekyll-maps # Can disable if not testing maps
52+
- jekyll-multiple-languages-plugin
53+
# - jekyll-sitemap # Not needed for dev
54+
55+
# Faster regeneration
56+
incremental: true
57+
profile: false
58+
59+
# Disable analytics for dev
60+
ga_id:
61+
adsense_id:
62+
63+
# Show build time info
64+
show_drafts: true
65+
strict_front_matter: false
66+
67+
# Exclude more files from processing
68+
exclude:
69+
- Gemfile
70+
- Gemfile.lock
71+
- node_modules
72+
- vendor/bundle/
73+
- vendor/cache/
74+
- vendor/gems/
75+
- vendor/ruby/
76+
- utils/
77+
- tests/
78+
- "*.pyc"
79+
- "*.pyo"
80+
- ".pytest_cache"
81+
- "__pycache__"
82+
- ".coverage"
83+
- "htmlcov/"
84+
- ".git"
85+
- ".github"
86+
- "*.log"
87+
- "*.tmp"
88+
- ".DS_Store"
89+
- "Thumbs.db"
90+
- "_data/archive.yml" # Exclude archive data from watch
91+
- "_data/legacy.yml" # Exclude legacy data from watch

_config.minimal.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# Minimal Configuration for Python Deadlines
2+
# Ultra-fast build config - English only, no archive/legacy, minimal plugins
3+
# Usage: bundle exec jekyll serve --config _config.yml,_config.minimal.yml
4+
5+
# Only English for fastest possible builds
6+
languages: [ "en" ]
7+
8+
# Only process current conferences
9+
page_gen:
10+
- data: 'conferences'
11+
template: 'conference'
12+
dir: 'conference'
13+
name_expr: record['conference'].downcase.strip.gsub(' ', '-').gsub(/[^\p{L}]+/, '-')+"-"+record['year'].to_s
14+
title_expr: record['conference']+" "+record['year'].to_s+" Conference Deadlines"
15+
16+
# Minimal plugins - only essentials
17+
plugins:
18+
- jekyll-datapage-generator
19+
- jekyll-multiple-languages-plugin
20+
21+
# Maximum speed optimizations
22+
incremental: true
23+
profile: false
24+
safe: false
25+
liquid:
26+
error_mode: lax
27+
strict_filters: false
28+
strict_variables: false
29+
30+
# Disable all external services
31+
ga_id:
32+
adsense_id:
33+
maps:
34+
google:
35+
api_key:
36+
37+
# Don't process these at all
38+
keep_files: ['.git', '.svn']
39+
skip_config_files: false
40+
41+
# Minimal file watching
42+
watch: true
43+
force_polling: false
44+
45+
# Exclude everything non-essential
46+
exclude:
47+
- Gemfile
48+
- Gemfile.lock
49+
- node_modules
50+
- vendor/
51+
- utils/
52+
- tests/
53+
- "*.pyc"
54+
- "*.pyo"
55+
- ".pytest_cache"
56+
- "__pycache__"
57+
- ".coverage"
58+
- "htmlcov/"
59+
- ".git"
60+
- ".github"
61+
- "*.log"
62+
- "*.tmp"
63+
- ".DS_Store"
64+
- "Thumbs.db"
65+
- "_data/archive.yml"
66+
- "_data/legacy.yml"
67+
- "_i18n/es*"
68+
- "_i18n/fr*"
69+
- "_i18n/pt-br*"
70+
- "_i18n/zh-cn*"
71+
- "_i18n/hi*"
72+
- "_i18n/id*"
73+
- "_i18n/ru*"
74+
- "_site/es"
75+
- "_site/fr"
76+
- "_site/pt-br"
77+
- "_site/zh-cn"
78+
- "_site/hi"
79+
- "_site/id"
80+
- "_site/ru"
81+
- "crowdin.yml"
82+
- "TRANSLATION.md"

pixi.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ sort = 'python ./utils/sort_yaml.py --skip_links'
1111
links = 'python ./utils/sort_yaml.py'
1212
merge = 'python ./utils/main.py'
1313
serve = "bundler exec jekyll serve"
14+
serve-dev = "bundler exec jekyll serve --config _config.yml,_config.dev.yml"
15+
serve-fast = "bundler exec jekyll serve --config _config.yml,_config.dev.yml --incremental --skip-initial-build"
16+
serve-minimal = "bundler exec jekyll serve --config _config.yml,_config.minimal.yml --incremental"
17+
build-dev = "bundler exec jekyll build --config _config.yml,_config.dev.yml"
18+
build-minimal = "bundler exec jekyll build --config _config.yml,_config.minimal.yml"
1419
profile = "bundler exec jekyll build --profile"
1520
next = "python ./utils/newsletter.py"
1621
git = "python utils/git_parser.py"

0 commit comments

Comments
 (0)