UV: Document pack islands features and new ui #104468
@ -237,7 +237,7 @@ epub_publisher = 'Blender Foundation'
|
|||||||
|
|
||||||
# The language of the text. It defaults to the language option
|
# The language of the text. It defaults to the language option
|
||||||
# or 'en' if the language is not set.
|
# or 'en' if the language is not set.
|
||||||
#epub_language = ''
|
# epub_language = ''
|
||||||
|
|
||||||
epub_copyright = 'This manual is licensed under a CC-BY-SA 4.0 Int. License.'
|
epub_copyright = 'This manual is licensed under a CC-BY-SA 4.0 Int. License.'
|
||||||
|
|
||||||
@ -330,17 +330,17 @@ latex_logo = "../resources/theme/blender-logo.svg"
|
|||||||
|
|
||||||
# This value determines the topmost sectioning unit. It should be chosen from
|
# This value determines the topmost sectioning unit. It should be chosen from
|
||||||
# 'part', 'chapter' or 'section'.
|
# 'part', 'chapter' or 'section'.
|
||||||
#latex_toplevel_sectioning = 'None'
|
# latex_toplevel_sectioning = 'None'
|
||||||
|
|
||||||
# A list of document names to append as an appendix to all manuals.
|
# A list of document names to append as an appendix to all manuals.
|
||||||
#latex_appendices = []
|
# latex_appendices = []
|
||||||
|
|
||||||
# If true, generate domain-specific indices in addition to the general index.
|
# If true, generate domain-specific indices in addition to the general index.
|
||||||
#latex_domain_indices = True
|
# latex_domain_indices = True
|
||||||
|
|
||||||
# If true, add page references after internal references.
|
# If true, add page references after internal references.
|
||||||
# This is very useful for printed copies of the manual.
|
# This is very useful for printed copies of the manual.
|
||||||
#latex_show_pagerefs = False
|
# latex_show_pagerefs = False
|
||||||
|
|
||||||
# Control whether to display URL addresses.
|
# Control whether to display URL addresses.
|
||||||
latex_show_urls = "no"
|
latex_show_urls = "no"
|
||||||
@ -415,17 +415,17 @@ texinfo_documents = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# A list of document names to append as an appendix to all manuals.
|
# A list of document names to append as an appendix to all manuals.
|
||||||
#texinfo_appendices = []
|
# texinfo_appendices = []
|
||||||
|
|
||||||
# If true, generate domain-specific indices in addition to the general index.
|
# If true, generate domain-specific indices in addition to the general index.
|
||||||
#texinfo_domain_indices = True
|
# texinfo_domain_indices = True
|
||||||
|
|
||||||
# Control how to display URL addresses.
|
# Control how to display URL addresses.
|
||||||
#texinfo_show_urls = 'footnote'
|
# texinfo_show_urls = 'footnote'
|
||||||
|
|
||||||
# If true, do not generate a @detailmenu in the “Top” node’s menu
|
# If true, do not generate a @detailmenu in the “Top” node’s menu
|
||||||
# containing entries for each sub-node in the document.
|
# containing entries for each sub-node in the document.
|
||||||
#texinfo_no_detailmenu = False
|
# texinfo_no_detailmenu = False
|
||||||
|
|
||||||
|
|
||||||
# -- Extension configuration -------------------------------------------------
|
# -- Extension configuration -------------------------------------------------
|
||||||
|
@ -33,6 +33,7 @@ def text_remove_preprocess(text):
|
|||||||
non_comment_lines = [line for line in lines if not line.strip().startswith("#")]
|
non_comment_lines = [line for line in lines if not line.strip().startswith("#")]
|
||||||
return "\n".join(non_comment_lines)
|
return "\n".join(non_comment_lines)
|
||||||
|
|
||||||
|
|
||||||
def text_join_lines(text):
|
def text_join_lines(text):
|
||||||
lines = text.split("\n")
|
lines = text.split("\n")
|
||||||
lines_out = [[]]
|
lines_out = [[]]
|
||||||
@ -165,7 +166,7 @@ def text_extract_strings(text):
|
|||||||
def text_extract_help(text, args, static_strings):
|
def text_extract_help(text, args, static_strings):
|
||||||
func_id = 'static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), void *data)\n'
|
func_id = 'static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), void *data)\n'
|
||||||
index_start = text.find(func_id)
|
index_start = text.find(func_id)
|
||||||
assert(index_start != -1)
|
assert (index_start != -1)
|
||||||
index_end = text.find("exit(0);", index_start)
|
index_end = text.find("exit(0);", index_start)
|
||||||
# print(index_start, index_end)
|
# print(index_start, index_end)
|
||||||
body = text[index_start + len(func_id):index_end]
|
body = text[index_start + len(func_id):index_end]
|
||||||
|
@ -458,7 +458,7 @@ class RstSpellingVisitor(docutils.nodes.NodeVisitor):
|
|||||||
def visit_date(self, node):
|
def visit_date(self, node):
|
||||||
# date = datetime.date(*(
|
# date = datetime.date(*(
|
||||||
# map(int, unicode(node[0]).split('-'))))
|
# map(int, unicode(node[0]).split('-'))))
|
||||||
#metadata['creation_date'] = date
|
# metadata['creation_date'] = date
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# def visit_document(self, node):
|
# def visit_document(self, node):
|
||||||
|
@ -178,7 +178,7 @@ def main(argv=None):
|
|||||||
print("Role", role_id, "not handled!", file=sys.stderr)
|
print("Role", role_id, "not handled!", file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
assert(line is not None)
|
assert (line is not None)
|
||||||
print("%s:%d:%d" % (fn, line, col))
|
print("%s:%d:%d" % (fn, line, col))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user