Add documentation for extension building