From 789bf1ebde2804925a61dec3528c6b8bba96361b Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 1 May 2024 18:33:27 +0800 Subject: [PATCH] update docs --- README.md | 4 +++- docs/retype.yml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f3530ca0..af2073f2 100644 --- a/README.md +++ b/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 diff --git a/docs/retype.yml b/docs/retype.yml index 0f492264..4d601822 100644 --- a/docs/retype.yml +++ b/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