Skip to content

Commit

Permalink
Fix pism_config.py
Browse files Browse the repository at this point in the history
(Configuration parameters *in the text* did not show properly.
  • Loading branch information
ckhroulev committed May 21, 2021
1 parent e10faf7 commit 55917da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/sphinx/pism_config.py
Expand Up @@ -21,6 +21,9 @@ class config(nodes.literal):
def __init__(self, parameter, **kwargs):
self.parameter = parameter

if "text" not in kwargs:
kwargs["text"] = parameter

nodes.literal.__init__(self, parameter, **kwargs)

# this node makes it possible to add soft hyphens to wrap long parameter names
Expand Down

0 comments on commit 55917da

Please sign in to comment.