diff --git a/framework/doc/content/css/moose.css b/framework/doc/content/css/moose.css index a121d3cd5d20..1802adf957b2 100644 --- a/framework/doc/content/css/moose.css +++ b/framework/doc/content/css/moose.css @@ -569,6 +569,7 @@ li{ .moose-parameter-description span, .moose-parameter-description-default span, .moose-parameter-description-cpptype span, +.moose-parameter-description-doc-unit span, .moose-parameter-description-options span, .moose-parameter-description-controllable span{ padding-right:10px; diff --git a/python/MooseDocs/extensions/appsyntax.py b/python/MooseDocs/extensions/appsyntax.py index a39b46c3f64d..c3cd344d919d 100644 --- a/python/MooseDocs/extensions/appsyntax.py +++ b/python/MooseDocs/extensions/appsyntax.py @@ -772,6 +772,11 @@ def createMaterialize(self, parent, token, page): html.Tag(p, 'span', string='C++ Type:') html.String(p, content=cpp_type, escape=True) + doc_unit = param['doc_unit'] + p = html.Tag(body, 'p', class_='moose-parameter-description-doc-unit') + html.Tag(p, 'span', string='Unit:') + html.String(p, content=doc_unit) + if param['options']: p = html.Tag(body, 'p', class_='moose-parameter-description-options') html.Tag(p, 'span', string='Options:')