doc: fix build errors