Skip to content

Commit 7cfe9df

Browse files
committed
🧹 Cleanup and fix deployment configuration
- Remove Python __pycache__ directory - Remove empty remove_bhba_dao.sh script - Update _config.yml to exclude HonKit directories from Jekyll processing - Update .gitignore to include Python cache files - Fix GitHub Pages configuration conflicts
1 parent d01de45 commit 7cfe9df

File tree

4 files changed

+33
-43
lines changed

4 files changed

+33
-43
lines changed

.gitignore

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ gitbook-temp/
1515
*.mobi
1616
*.pdf
1717

18+
# Python 缓存文件
19+
__pycache__/
20+
**/__pycache__/
21+
*.pyc
22+
*.pyo
23+
*.pyd
24+
.Python
25+
*.so
26+
1827
# 编辑器和IDE相关文件
1928
.vscode/
2029
.idea/
@@ -46,7 +55,11 @@ CHAPTER_REWRITE_PLAN.md
4655
CHAPTER_REWRITE_REPORT.md
4756
CHAPTER_REWRITE_SUMMARY.md
4857
CHAPTER_REWRITE_TEMPLATE.md
49-
CHAPTER_REWRITE_TEMPLATE.md
5058

5159
#Claude
5260
CLAUDE.md
61+
62+
# 部署脚本(保留但不在构建中处理)
63+
deploy*.sh
64+
DEPLOY_GUIDE.md
65+
MULTILINGUAL_GUIDE.md

_config.yml

Lines changed: 19 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,31 @@
1-
# GitHub Pages configuration for multi-language support
1+
# GitHub Pages configuration for HonKit
22
title: "Get Started with Web3"
33
description: "Comprehensive Web3, blockchain and cryptocurrency tutorial | 全面的Web3、区块链和加密货币教程"
44
url: "https://beihaili.github.io"
55
baseurl: "/Get-Started-with-Web3"
66

7-
# Language settings
8-
languages: ["en", "zh"]
9-
default_lang: "en"
10-
exclude_from_localization: ["assets", "images", "img"]
11-
12-
# Build settings
7+
# HonKit settings
138
markdown: kramdown
149
highlighter: rouge
15-
theme: minima
16-
17-
# Plugins
18-
plugins:
19-
- jekyll-feed
20-
- jekyll-sitemap
21-
- jekyll-seo-tag
22-
23-
# Collections for multi-language content
24-
collections:
25-
posts_en:
26-
output: true
27-
permalink: /en/:name/
28-
posts_zh:
29-
output: true
30-
permalink: /zh/:name/
3110

32-
# Navigation
33-
header_pages:
11+
# Exclude from Jekyll processing (HonKit handles the build)
12+
exclude:
13+
- zh/
14+
- en/
15+
- book.json
16+
- package.json
17+
- package-lock.json
18+
- deploy*.sh
19+
- DEPLOY_GUIDE.md
20+
- MULTILINGUAL_GUIDE.md
21+
- templates/
22+
23+
# Keep only the main index.html for language selection
24+
include:
3425
- index.html
26+
- README.md
27+
- LICENSE
3528

3629
# Social links
3730
github_username: beihaili
38-
twitter_username: bhbtc1337
39-
40-
# Analytics (if needed)
41-
google_analytics:
42-
43-
# Language-specific configurations
44-
defaults:
45-
- scope:
46-
path: "en"
47-
values:
48-
layout: "default"
49-
lang: "en"
50-
- scope:
51-
path: "zh"
52-
values:
53-
layout: "default"
54-
lang: "zh"
31+
twitter_username: bhbtc1337

remove_bhba_dao.sh

Whitespace-only changes.
Binary file not shown.

0 commit comments

Comments
 (0)