Cleanup: use single back-ticks in regular comments
Double back-ticks are used for RST literals.
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
# Update Blender version this key-map was written in:
|
# Update Blender version this key-map was written in:
|
||||||
#
|
#
|
||||||
# When the version is ``(0, 0, 0)``, the key-map being loaded didn't contain any versioning information.
|
# When the version is `(0, 0, 0)`, the key-map being loaded didn't contain any versioning information.
|
||||||
# This will older than ``(2, 92, 0)``.
|
# This will older than `(2, 92, 0)`.
|
||||||
|
|
||||||
def keyconfig_update(keyconfig_data, keyconfig_version):
|
def keyconfig_update(keyconfig_data, keyconfig_version):
|
||||||
from bpy.app import version_file as blender_version
|
from bpy.app import version_file as blender_version
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ ToolDef = namedtuple(
|
|||||||
# Description (for tool-tip), when not set, use the description of 'operator',
|
# Description (for tool-tip), when not set, use the description of 'operator',
|
||||||
# may be a string or a 'function(context, item, key-map) -> string'.
|
# may be a string or a 'function(context, item, key-map) -> string'.
|
||||||
"description",
|
"description",
|
||||||
# The name of the icon to use (found in ``release/datafiles/icons``) or None for no icon.
|
# The name of the icon to use (found in `release/datafiles/icons`) or None for no icon.
|
||||||
"icon",
|
"icon",
|
||||||
# An optional cursor to use when this tool is active.
|
# An optional cursor to use when this tool is active.
|
||||||
"cursor",
|
"cursor",
|
||||||
@@ -65,12 +65,12 @@ ToolDef = namedtuple(
|
|||||||
"widget",
|
"widget",
|
||||||
# Optional key-map for tool, possible values are:
|
# Optional key-map for tool, possible values are:
|
||||||
#
|
#
|
||||||
# - ``None`` when the tool doesn't have a key-map.
|
# - `None` when the tool doesn't have a key-map.
|
||||||
# Also the default value when no key-map value is defined.
|
# Also the default value when no key-map value is defined.
|
||||||
#
|
#
|
||||||
# - A string literal for the key-map name, the key-map items are located in the default key-map.
|
# - A string literal for the key-map name, the key-map items are located in the default key-map.
|
||||||
#
|
#
|
||||||
# - ``()`` an empty tuple for a default name.
|
# - `()` an empty tuple for a default name.
|
||||||
# This is convenience functionality for generating a key-map name.
|
# This is convenience functionality for generating a key-map name.
|
||||||
# So if a tool name is "Bone Size", in "Edit Armature" mode for the "3D View",
|
# So if a tool name is "Bone Size", in "Edit Armature" mode for the "3D View",
|
||||||
# All of these values are combined into an id, e.g:
|
# All of these values are combined into an id, e.g:
|
||||||
@@ -82,7 +82,7 @@ ToolDef = namedtuple(
|
|||||||
# - A function that populates a key-maps passed in as an argument.
|
# - A function that populates a key-maps passed in as an argument.
|
||||||
#
|
#
|
||||||
# - A tuple filled with triple's of:
|
# - A tuple filled with triple's of:
|
||||||
# ``(operator_id, operator_properties, keymap_item_args)``.
|
# `(operator_id, operator_properties, keymap_item_args)`.
|
||||||
#
|
#
|
||||||
# Use this to define the key-map in-line.
|
# Use this to define the key-map in-line.
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user