Files
python/_config.yml
2025-07-09 18:05:46 +08:00

134 lines
2.8 KiB
YAML

# Site settings
title: FlyPython
subtitle: Python Learning Resource Hub
description: >-
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"
baseurl: ""
# Author information
author:
name: FlyPython
email: hello@flypython.com
github: flypython
twitter: flypython
# Build settings
markdown: kramdown
highlighter: rouge
permalink: pretty
# Theme configuration - Using GitHub Pages compatible theme
remote_theme: pages-themes/cayman@v0.2.0
# Plugins (GitHub Pages whitelist)
plugins:
- jekyll-feed
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-optional-front-matter
- jekyll-readme-index
- jekyll-relative-links
# SEO settings
lang: en
logo: /assets/images/logo.png
# Social links
github_username: flypython
twitter_username: flypython
# Navigation
header_pages:
- README.md
- README_cn.md
# GitHub Pages safe collections
collections:
tutorials:
output: true
permalink: /:collection/:name/
resources:
output: true
permalink: /:collection/:name/
# Defaults
defaults:
- scope:
path: ""
type: "posts"
values:
layout: "post"
author: "FlyPython"
- scope:
path: ""
type: "pages"
values:
layout: "page"
- scope:
path: "README.md"
values:
layout: "default"
title: "FlyPython - Python Learning Resources"
description: "A curated collection of Python learning resources including tutorials, books, courses, and best practices for developers at all levels."
lang: "en"
permalink: "/"
- scope:
path: "README_cn.md"
values:
layout: "default"
title: "FlyPython - Python 学习资源"
description: "精心策划的 Python 学习资源集合,包含教程、书籍、课程和各级别开发者的最佳实践。"
lang: "zh-CN"
permalink: "/README_cn.html"
- scope:
path: ""
type: "tutorials"
values:
layout: "tutorial"
- scope:
path: ""
type: "resources"
values:
layout: "resource"
# Analytics (optional)
google_analytics: # UA-XXXXXXXX-X
# Features
show_downloads: false
show_github_ribbon: false
# Custom variables
github:
repository_url: https://github.com/flypython/python
repository_name: flypython/python
# Content settings
kramdown:
input: GFM
hard_wrap: false
syntax_highlighter: rouge
syntax_highlighter_opts:
css_class: 'highlight'
span:
line_numbers: false
block:
line_numbers: true
# Exclude from processing
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- tools/
- link_audit_report.md
- content_update_summary.md