The OpenGL Specification is the document that describes OpenGL in its entirety. It is the main product of the OpenGL Architectural Review Board. Each version of OpenGL is covered by a specification document.
The OpenGL specification is a fairly complex document. The intended audience for it is those implementing OpenGL, not those who are trying to read it. As such, it is structured in an unintuitive way that makes it difficult to use it as a learning tool.