修复代码中的中文注释和配置文件中的中文内容,全部替换为英文

This commit is contained in:
P小二
2025-07-09 17:24:51 +08:00
parent 1751af60ca
commit 11680f471d
5 changed files with 21 additions and 20 deletions

View File

@@ -1,9 +1,10 @@
# Site settings
title: FlyPython
subtitle: Python 学习资源聚合
subtitle: Python Learning Resource Hub
description: >-
FlyPython 是一个精心策划的 Python 学习资源集合,包含教程、书籍、课程、
工具和最佳实践,帮助从初学者到高级开发者的 Python 学习之旅。
FlyPython is a carefully curated collection of Python learning resources,
including tutorials, books, courses, tools, and best practices to support
Python learners from beginners to advanced developers.
# Site information
url: "https://python.flypython.com"
@@ -34,7 +35,7 @@ plugins:
- jekyll-relative-links
# SEO settings
lang: zh-CN
lang: en
logo: /assets/images/logo.png
# Social links

View File

@@ -1,42 +1,42 @@
main:
- title: "🏠 首页 / Home"
- title: "🏠 Home"
url: "/"
- title: "🇨🇳 中文版"
url: "/README_cn.html"
- title: "📚 资源库 / Resources"
- title: "📚 Resources"
url: "#resources"
children:
- title: "📖 教程 / Tutorials"
- title: "📖 Tutorials"
url: "#tutorials"
- title: "📚 书籍 / Books"
- title: "📚 Books"
url: "#books"
- title: "🎓 课程 / Courses"
- title: "🎓 Courses"
url: "#courses"
- title: "🛠️ 工具 / Tools"
- title: "🛠️ Tools"
url: "#tools"
- title: "🤖 AI/ML"
url: "#ai-ml"
children:
- title: "🧠 LLM"
url: "#python-for-llm"
- title: "📊 数据科学 / Data Science"
- title: "📊 Data Science"
url: "#data-science"
- title: "💹 金融 / Finance"
- title: "💹 Finance"
url: "#finance"
- title: "🔗 GitHub"
url: "https://github.com/flypython/python"
external: true
footer:
- title: "快速链接 / Quick Links"
- title: "Quick Links"
children:
- title: "Python 官网 / Python.org"
- title: "Python.org"
url: "https://python.org"
- title: "PyPI"
url: "https://pypi.org"
- title: "Real Python"
url: "https://realpython.com"
- title: "社区 / Community"
- title: "Community"
children:
- title: "Reddit r/Python"
url: "https://reddit.com/r/Python"

View File

@@ -208,7 +208,7 @@
<link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🐍</text></svg>">
<!-- Additional Meta Tags -->
<meta name="keywords" content="Python, 教程, 学习, 编程, 资源, tutorials, learning, programming, resources">
<meta name="keywords" content="Python, tutorials, learning, programming, resources, books, courses, guides, development">
<meta name="robots" content="index, follow">
<meta property="og:type" content="website">
<meta property="og:image" content="{{ site.url }}/assets/images/og-image.png">

View File

@@ -43,7 +43,7 @@
<!-- Table of Contents for long pages -->
{% if content contains '##' %}
<nav class="toc">
<h3>📚 目录 / Table of Contents</h3>
<h3>📚 Table of Contents</h3>
<div id="toc-content"></div>
</nav>
{% endif %}

View File

@@ -22,7 +22,7 @@ body {
border-radius: 0.3rem;
border: 1px solid rgba(255, 255, 255, 0.3);
transition: all 0.2s ease;
/* 确保按钮不受通用 .btn 样式影响 */
/* Ensure buttons are not affected by generic .btn styles */
transform: none !important;
box-shadow: none;
}
@@ -32,7 +32,7 @@ body {
border-color: rgba(255, 255, 255, 0.5);
text-decoration: none;
color: white;
/* 禁用悬浮时的变形效果 */
/* Disable transform effects on hover */
transform: none !important;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
@@ -95,7 +95,7 @@ body {
opacity: 0.9;
}
/* Enhanced Buttons - 只影响GitHub按钮不影响语言切换按钮 */
/* Enhanced Buttons - Only affects GitHub buttons, not language toggle buttons */
.btn:not(.btn-lang) {
transition: all 0.3s ease;
}