remove all the ints from the pyray hints and docs. (leave them in pyray itself for backwards compability) add proper enums to pyray and to pyray hints/docs (generated from raylib.json). TODO: raygui, rlgl, maybe something for the C API. See issue #52
This commit is contained in:
parent
d05890344d
commit
2c752b5ad0
7 changed files with 715 additions and 515 deletions
|
@ -6,8 +6,13 @@ gcc raylib-c/parser/raylib_parser.c
|
|||
./a.out -i raylib-c/src/raylib.h -o raylib.json -f JSON
|
||||
|
||||
python3 raylib/build.py
|
||||
|
||||
python3 create_enums.py > raylib/enums.py
|
||||
|
||||
|
||||
pip3 install sphinx-autoapi myst_parser sphinx_rtd_theme
|
||||
python3 create_stub_pyray.py > pyray/__init__.pyi
|
||||
python3 create_enums.py >> pyray/__init__.pyi
|
||||
python3 create_stub_static.py >raylib/__init__.pyi
|
||||
rm -r docs
|
||||
cd docs-src
|
||||
|
|
Reference in a new issue