Is it legal to use Apple's official technical documentation for training GPTs

Is it legal to use Apple's official technical documentation for training GPTs, and if so, where can I download the PDF version of the official documents?