Add logic to compile Formats documentation independently