Gjs and node-gtk Typescript API documentation
This repository has submodules, so you need to clone this repository including this submodules:
git clone --recursive https://github.com/gjsify/doc.git
You can also clone the submodules afterwards:
git clone https://github.com/gjsify/doc.git
cd doc
git submodule update --init --recursive
If you want to pull updates from this repository you should also pull the submodules:
git pull --recurse-submodules
Simply execute:
yarn install
yarn run build
yarn run start
Get images from https://gitlab.gnome.org/GNOME/gtk/-/tree/main/docs/reference/gtk/images
Problem: I get the following error:
FATAL ERROR: Scavenger: semi-space copy Allocation failed - JavaScript heap out of memory
Solution:
sudo sysctl -w vm.max_map_count=262144
NODE_OPTIONS=--max-old-space-size=25600 yarn run start