CLN: Remove unnecessary code in docs/make.py
Simple cleaning in docs/make.py.

`include_api = False`  in the if block doesn't have any effect.

lgtm, agree it does nothing in the method. thanks @hasan-yaman 