doc build improvements