diff --git a/docs/Doxyfile.template b/docs/Doxyfile.template index e497fc5edd9bb..129cff8b2b5df 100644 --- a/docs/Doxyfile.template +++ b/docs/Doxyfile.template @@ -48,7 +48,7 @@ DOXYFILE_ENCODING = UTF-8 # title of most generated pages and in a few other places. # The default value is: My Project. -PROJECT_NAME = @@PROJECT_NAME@@ +PROJECT_NAME = "@@PROJECT_NAME@@" # The PROJECT_NUMBER tag can be used to enter a project or revision number. This # could be handy for archiving the generated documentation or if some version @@ -74,7 +74,7 @@ PROJECT_LOGO = ./docs/flutter_logo.png # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = @@OUTPUT_DIRECTORY@@ +OUTPUT_DIRECTORY = "@@OUTPUT_DIRECTORY@@" # If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096 # sub-directories (in 2 levels) under the output directory of each output format @@ -938,7 +938,7 @@ WARN_LINE_FORMAT = "at line $line of file $file" # specified the warning and error messages are written to standard output # (stdout). -WARN_LOGFILE = @@LOG_FILE@@ +WARN_LOGFILE = "@@LOG_FILE@@" #--------------------------------------------------------------------------- # Configuration options related to the input files @@ -1437,7 +1437,7 @@ GENERATE_DOCSET = YES # The default value is: Doxygen generated docs. # This tag requires that the tag GENERATE_DOCSET is set to YES. -DOCSET_FEEDNAME = @@DOCSET_FEEDNAME@@ +DOCSET_FEEDNAME = "@@DOCSET_FEEDNAME@@" # This tag determines the URL of the docset feed. A documentation feed provides # an umbrella under which multiple documentation sets from a single provider diff --git a/tools/gen_docs.py b/tools/gen_docs.py index 97ad324c96c15..bf6f002c0d990 100755 --- a/tools/gen_docs.py +++ b/tools/gen_docs.py @@ -56,7 +56,9 @@ def generate_doxyfile(section, output_dir, log_file, doxy_file): doxyfile = open('docs/Doxyfile.template', 'r').read() doxyfile = doxyfile.replace('@@OUTPUT_DIRECTORY@@', output_dir) doxyfile = doxyfile.replace('@@LOG_FILE@@', log_file) - doxyfile = doxyfile.replace('@@INPUT_DIRECTORIES@@', ' '.join(section.inputs)) + doxyfile = doxyfile.replace( + '@@INPUT_DIRECTORIES@@', '"{}"'.format('" "'.join(section.inputs)) + ) doxyfile = doxyfile.replace( '@@PROJECT_NAME@@', 'Flutter {}'.format(section.title) )