The Stacks project

An open source textbook and reference work on algebraic geometry

Link