Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 002c541

Browse filesBrowse files
committed
update docs
1 parent 495a067 commit 002c541
Copy full SHA for 002c541

File tree

6 files changed

+111
-109
lines changed
Filter options

6 files changed

+111
-109
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+26-1Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
1+
<div align="center">
2+
13
# Litefs
2-
4+
5+
<p>
6+
<!-- Place this tag where you want the button to render. -->
7+
<a class="github-button" href="https://github.com/leafcoder/litefs/subscription" data-color-scheme="no-preference: light; light: light; dark: dark;" data-show-count="true" aria-label="Watch leafcoder/litefs on GitHub">
8+
<img alt="GitHub forks" src="https://img.shields.io/github/watchers/leafcoder/litefs?style=social">
9+
</a>
10+
<a class="github-button" href="https://github.com/leafcoder/litefs" data-color-scheme="no-preference: light; light: light; dark: dark;" data-show-count="true" aria-label="Star leafcoder/litefs on GitHub">
11+
<img alt="GitHub forks" src="https://img.shields.io/github/stars/leafcoder/litefs?style=social">
12+
</a>
13+
<a class="github-button" href="https://github.com/leafcoder/litefs/fork" data-color-scheme="no-preference: light; light: light; dark: dark;" data-show-count="true" aria-label="Fork leafcoder/litefs on GitHub">
14+
<img alt="GitHub forks" src="https://img.shields.io/github/forks/leafcoder/litefs?style=social">
15+
</a>
16+
</p>
17+
18+
<p>
19+
<img src="https://img.shields.io/github/v/release/leafcoder/litefs" data-origin="https://img.shields.io/github/v/release/leafcoder/litefs" alt="GitHub release (latest by date)">
20+
<img src="https://img.shields.io/github/languages/top/leafcoder/litefs" data-origin="https://img.shields.io/github/languages/top/leafcoder/litefs" alt="GitHub top language">
21+
<img src="https://img.shields.io/github/languages/code-size/leafcoder/litefs" data-origin="https://img.shields.io/github/languages/code-size/leafcoder/litefs" alt="GitHub code size in bytes">
22+
<img src="https://img.shields.io/github/commit-activity/w/leafcoder/litefs" data-origin="https://img.shields.io/github/commit-activity/w/leafcoder/litefs" alt="GitHub commit activity">
23+
<img src="https://img.shields.io/github/downloads/leafcoder/litefs/total" data-origin="https://img.shields.io/github/downloads/leafcoder/litefs/total" alt="GitHub All Releases">
24+
</p>
25+
26+
</div>
27+
328
Litefs is a lite python web framework.
429

530
Build a web server framework using Python. Litefs was developed to implement

‎docs/.nojekyll

Copy file name to clipboardExpand all lines: docs/.nojekyll
Whitespace-only changes.

‎docs/tutorial.md renamed to ‎docs/README.md

Copy file name to clipboardExpand all lines: docs/README.md
+30-1Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
<div align="center">
2+
3+
# Litefs {docsify-ignore}
4+
5+
<p>
6+
<!-- Place this tag where you want the button to render. -->
7+
<a class="github-button" href="https://github.com/leafcoder/litefs/subscription" data-color-scheme="no-preference: light; light: light; dark: dark;" data-show-count="true" aria-label="Watch leafcoder/litefs on GitHub">
8+
<img alt="GitHub forks" src="https://img.shields.io/github/watchers/leafcoder/litefs?style=social">
9+
</a>
10+
<a class="github-button" href="https://github.com/leafcoder/litefs" data-color-scheme="no-preference: light; light: light; dark: dark;" data-show-count="true" aria-label="Star leafcoder/litefs on GitHub">
11+
<img alt="GitHub forks" src="https://img.shields.io/github/stars/leafcoder/litefs?style=social">
12+
</a>
13+
<a class="github-button" href="https://github.com/leafcoder/litefs/fork" data-color-scheme="no-preference: light; light: light; dark: dark;" data-show-count="true" aria-label="Fork leafcoder/litefs on GitHub">
14+
<img alt="GitHub forks" src="https://img.shields.io/github/forks/leafcoder/litefs?style=social">
15+
</a>
16+
</p>
17+
18+
<p>
19+
<img src="https://img.shields.io/github/v/release/leafcoder/litefs" data-origin="https://img.shields.io/github/v/release/leafcoder/litefs" alt="GitHub release (latest by date)">
20+
<img src="https://img.shields.io/github/languages/top/leafcoder/litefs" data-origin="https://img.shields.io/github/languages/top/leafcoder/litefs" alt="GitHub top language">
21+
<img src="https://img.shields.io/github/languages/code-size/leafcoder/litefs" data-origin="https://img.shields.io/github/languages/code-size/leafcoder/litefs" alt="GitHub code size in bytes">
22+
<img src="https://img.shields.io/github/commit-activity/w/leafcoder/litefs" data-origin="https://img.shields.io/github/commit-activity/w/leafcoder/litefs" alt="GitHub commit activity">
23+
<img src="https://img.shields.io/github/downloads/leafcoder/litefs/total" data-origin="https://img.shields.io/github/downloads/leafcoder/litefs/total" alt="GitHub All Releases">
24+
</p>
25+
26+
</div>
27+
128
# Introduction
229

330
Litefs is a lite python web framework.
@@ -134,7 +161,7 @@ List attributes of "self".
134161
Attributes | Description
135162
---------------------------------------------------- | -----------
136163
self.environ | 环境变量(只读)
137-
self.environ`[`_*envname*_`]` | 获取某环境变量
164+
self.environ[*envname*] | 获取某环境变量
138165
self.session | session 对象,可临时保存或获取内存数据
139166
self.session_id | session 对象 ID,将通过 SET_COOKIE 环境变量返回给客户端浏览器
140167
self.form | form 为字典对象,保存您提交到服务器的数据
@@ -149,6 +176,8 @@ self.request_uri | REQUEST_URI
149176
self.referer | REFERER
150177
self.request_method | REQUEST_METHOD
151178
self.server_protocol | SERVER_PROTOCOL
179+
180+
152181
## Environ
153182

154183
环境变量 | 描述 | 例子

‎docs/SUMMARY.md

Copy file name to clipboardExpand all lines: docs/SUMMARY.md
-3Lines changed: 0 additions & 3 deletions
This file was deleted.

‎docs/book.json

Copy file name to clipboardExpand all lines: docs/book.json
-104Lines changed: 0 additions & 104 deletions
This file was deleted.

‎docs/index.html

Copy file name to clipboard
+55Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>litefs - leafcoder</title>
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7+
<meta name="description" content="Litefs is a lite python web framework.">
8+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
9+
<!-- <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css"> -->
10+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css">
11+
<script data-ad-client="ca-pub-9406265482044737" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
12+
<script>
13+
var _hmt = _hmt || [];
14+
(function() {
15+
var hm = document.createElement("script");
16+
hm.src = "https://hm.baidu.com/hm.js?f3fbccf0789476b80fab0c58359399a5";
17+
var s = document.getElementsByTagName("script")[0];
18+
s.parentNode.insertBefore(hm, s);
19+
})();
20+
</script>
21+
</head>
22+
<body>
23+
<div id="app"></div>
24+
<script>
25+
window.$docsify = {
26+
name: 'litefs',
27+
repo: 'https://github.com/leafcoder/litefs'
28+
}
29+
</script>
30+
<script src="//unpkg.com/docsify/lib/docsify.min.js" data-ga="UA-54353519-1"></script>
31+
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
32+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-python.min.js"></script>
33+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-json.min.js"></script>
34+
<!-- Place this tag in your head or just before your close body tag. -->
35+
<script async defer src="https://buttons.github.io/buttons.js"></script>
36+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/ga.min.js"></script>
37+
38+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css">
39+
40+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
41+
<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
42+
<script>
43+
const gitalk = new Gitalk({
44+
clientID: '93351e163e1c7e8d32b9',
45+
clientSecret: 'dbd20b4a37f1c0a0eeda588998fd3f3e62746880',
46+
repo: 'litefs',
47+
owner: 'leafcoder',
48+
admin: ['leafcoder'],
49+
id: location.pathname,
50+
distractionFreeMode: false
51+
})
52+
</script>
53+
54+
</body>
55+
</html>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.