This documentation pertains to working with local GPIOs on ESP8266 and ESP32 modules.
To work with the general principle of working with GPIO, it is recommended to read the article
See russ page