specware 1.3.3__tar.gz → 1.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: specware
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: Provides utilities to specify software.
5
5
  Keywords: certification,documentation,markdown,qualification,requirements-management,traceability
6
6
  Author: The specware Authors
@@ -4,7 +4,7 @@
4
4
 
5
5
  [project]
6
6
  name = "specware"
7
- version = "1.3.3"
7
+ version = "1.3.4"
8
8
  description = "Provides utilities to specify software."
9
9
  authors = [
10
10
  {name = "The specware Authors", email = "specthings@embedded-brains.de"}
@@ -573,7 +573,7 @@ def get_value_double_colon(ctx: ItemGetValueContext) -> Any:
573
573
 
574
574
  def get_value_header_file(ctx: ItemGetValueContext) -> Any:
575
575
  """ Get the value formatted as a header file. """
576
- return f"``<{ctx.value[ctx.key]}>``"
576
+ return f"`<{ctx.value[ctx.key]}>`"
577
577
 
578
578
 
579
579
  def get_value_hash(ctx: ItemGetValueContext) -> Any:
@@ -110,6 +110,11 @@ def get_value_sphinx_param(ctx: ItemGetValueContext) -> str:
110
110
  return f"``{sanitize_name(ctx.value[ctx.key])}``"
111
111
 
112
112
 
113
+ def get_value_sphinx_header_file(ctx: ItemGetValueContext) -> str:
114
+ """ Gets a header file. """
115
+ return f"``<{ctx.value[ctx.key]}>``"
116
+
117
+
113
118
  class SphinxInterfaceMapper(SphinxMapper):
114
119
  """ Sphinx item mapper for the interface documentation. """
115
120
 
@@ -135,7 +140,7 @@ class SphinxInterfaceMapper(SphinxMapper):
135
140
  get_value_sphinx_param)
136
141
  self.add_get_value("interface/group:/name", self._get_group)
137
142
  self.add_get_value("interface/header-file:/path",
138
- get_value_header_file)
143
+ get_value_sphinx_header_file)
139
144
  self.add_get_value("interface/macro:/name", self._get_function)
140
145
  self.add_get_value("interface/macro:/params/name",
141
146
  get_value_sphinx_param)
File without changes
File without changes
File without changes
File without changes
File without changes