docs: 更新文档导航和解析器指南

- 添加演练场(Playground)文档导航区到主 README
- 新增 Python 解析器文档链接(开发指南、测试报告、LSP集成)
- 更新前端版本号至 0.1.9b19p
- 补充 Python 解析器 requests 库使用章节和官方文档链接
- 添加 JavaScript 和 Python 解析器的语言版本和官方文档
- 优化文档结构,分类为项目文档和外部资源
This commit is contained in:
q
2026-01-11 22:35:45 +08:00
parent 29ebab8799
commit 19d83fa267
60 changed files with 10132 additions and 436 deletions

View File

@@ -1,52 +0,0 @@
<!DOCTYPE html>
<html lang="ZH-cn">
<script src="sockjs-min.js"></script>
<head>
<meta charset="UTF-8">
<title>测试021</title>
</head>
<body>
<div>
<label>
<input id="input0"/>
<input type="button" value="发送" onclick="send()">
</label>
</div>
</body>
<script>
var sock = new SockJS('http://127.0.0.1:8086/real/serverApi/test');
// 测试websocket直接http反向代理
// var sock = new SockJS('http://'+location.host+'/real/serverApi/test'); // 这会导致sockjs降级处理 (使用普通post轮询 模拟websocket)
sock.onopen = function () {
console.log('open');
};
function send() {
var v = document.getElementById("input0");
console.log('client:', v.value)
sock.send(v.value)
}
sock.onmessage = function (e) {
console.log('message', e.data);
};
sock.onevent = function (event, message) {
console.log('event: %o, message:%o', event, message);
return true; // 为了标记消息已被处理了
};
sock.onunhandled = function (json) {
console.log('this message has no address:', json);
};
sock.onclose = function () {
console.log('close');
};
</script>
</html>

File diff suppressed because one or more lines are too long