模块 |
描述 |
run.py |
启动脚本 |
websiteconfig.py |
配置脚本 |
update-doc-searchindex.py |
更新索引脚本 |
flask_website |
项目的主模块,包含以下内容 |
database.py |
数据库模块 |
docs.py |
索引文档模块 |
openid_auth.py |
oauth认证 |
search.py |
搜素模块 |
utils.py |
工具类 |
listings |
一些展示栏 |
views |
蓝图模块,包括社区,扩展,邮件列表,代码片段等 |
static |
网站的静态资源 |
templates |
网站的模版资源 |
.
├── LICENSE
├── Makefile
├── README
├── flask_website
│ ├── __init__.py
│ ├── database.py
│ ├── docs.py
│ ├── flaskystyle.py
│ ├── listings
│ ├── openid_auth.py
│ ├── search.py
│ ├── static
│ ├── templates
│ ├── utils.py
│ └── views
├── requirements.txt
├── run.py
├── update-doc-searchindex.py
└── websiteconfig.py
- run.py作为项目的启动入口
- requirements.txt描述项目的依赖包
- flask_website是项目的主模块,里面包括:
-
-
-
- 存放一些蓝图模块的views模块,使用这些蓝图构建网站的不同页面。