From d2baf1b1456e2401638652ac3568388d5e4a50d0 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 20 Apr 2024 21:39:18 +0800 Subject: [PATCH] Update config.md --- docs/quick-start/config.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/quick-start/config.md b/docs/quick-start/config.md index 265e9042..f7c34d07 100644 --- a/docs/quick-start/config.md +++ b/docs/quick-start/config.md @@ -25,8 +25,6 @@ You can do the following to ensure thread safety for `VM` instances: ### Full config -You can create a `user_config.h` in the same directory as `pocketpy.h` to override some default settings. +You can take a look at `include/pocketpy/config.h` to see all the available configuration macros. + -1. Copy [src/config.h](https://github.com/pocketpy/pocketpy/blob/main/include/pocketpy/config.h) and rename it to `user_config.h`. -2. Define a macro `PK_USER_CONFIG_H` in `user_config.h`. This invalidates the default `config.h` and enables your `user_config.h`. -3. Edit `user_config.h` to override default settings.