Browse Source

update docs

blueloveTH 1 year ago
parent
commit
789bf1ebde
2 changed files with 7 additions and 1 deletions
  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.
 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.
 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
 ## Supported Platforms
 
 

+ 4 - 0
docs/retype.yml

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