SR
sphinxext-rediraffe 知识库
Bundle OKF 0.2 · 13 conceitos · awesome-flexloop/awesome-okf
Open site Project Open in the app JSON README (API)
# sphinxext-rediraffe 知识库
本知识包是 Sphinx 官方生态中的页面重定向扩展 [sphinxext-rediraffe](https://github.com/sphinx-doc/sphinxext-rediraffe) 的系统化中文教程,基于源码深度阅读生成,覆盖从快速上手到核心架构的完整知识体系。所有内容均溯源至 sphinxext-rediraffe 源码(单文件 `sphinxext/rediraffe.py`,485行核心代码),遵循 [OKF v0.2 规范](concepts/00-introduction.md)。
## 入门与基础(concepts/)
* [sphinxext-rediraffe 简介](concepts/00-introduction.md) — 什么是rediraffe、核心特性、安装方法、与其他重定向方案对比。
* [5分钟快速上手](concepts/01-getting-started.md) — 3步完成配置:安装扩展、dict/文件配置重定向、构建验证。
## 核心架构(concepts/)
* [架构概览](concepts/02-architecture-overview.md) — 三大核心组件(图处理/构建钩子/Diff检查)、事件钩子机制、数据流总览、支持的构建器。
* [重定向图模型](concepts/03-redirect-graph.md) — 有向图建模、create_graph解析算法、create_simple_redirects链式压缩、循环检测、复杂度分析。
* [配置项详解](concepts/04-configuration.md) — 4个配置项(rediraffe_redirects/branch/template/auto_redirect_perc)完整参考。
* [Builder体系详解](concepts/05-builders.md) — html/dirhtml自动生成、rediraffecheckdiff变更检查、rediraffewritediff自动写入。
* [Jinja2模板系统](concepts/06-jinja-templates.md) — 默认模板三层降级策略、5个模板变量、自定义模板加载机制、URL参数保留原
README
Loading documentation…
Details
- Type
- OKF bundles
- Topic
- Code versions (Git)
- Publisher
- awesome-flexloop
- Source
- okf_github
- Category
- Data
- Version
- 0.2
- Copies (forks)
- 1
- Last update
- 2026-10-29T07:09:48Z
- Project status
- Active
- Language
- Python
- License
- Apache-2.0
- Added
- 2026-10-17 04:36:41
- Updated
- 2026-10-17 04:36:41
- Source id
awesome-flexloop/awesome-okf:doc/bundles/jishu/document/sphinx/sphinxext-rediraffe/index.md
More