浏览代码

update docs

blueloveTH 1 年之前
父节点
当前提交
789bf1ebde
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 3 1
      README.md
  2. 4 0
      docs/retype.yml

+ 3 - 1
README.md

@@ -23,7 +23,9 @@ pkpy is a lightweight(~15K LOC) Python interpreter for game scripting, built on
 It aims to be an alternative to lua for game scripting, with elegant syntax, powerful features and competitive performance.
 pkpy is extremely easy to embed via a single header file `pocketpy.h`, without external dependencies.
 
-Please see https://pocketpy.dev for details or try [Live Demo](https://pocketpy.dev/static/web/).
+Please see https://pocketpy.dev for details and try the following resources.
++ [Live Python Demo](https://pocketpy.dev/static/web/): Python REPL of the latest version
++ [Live C++ Examples](https://pocketpy.github.io/examples/): Common usage of pkpy in C++
 
 ## Supported Platforms
 

+ 4 - 0
docs/retype.yml

@@ -16,6 +16,10 @@ links:
     icon: play
     link: "https://pocketpy.dev/static/web/"
     target: blank
+  - text: "Live Examples"
+    icon: play
+    link: "https://pocketpy.github.io/examples/"
+    target: blank
   - text: "Github"
     icon: mark-github
     link: https://github.com/blueloveth/pocketpy