1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-01 13:13:39 +02:00

Fix several issues in HTML doc rendering, improve output

This commit is contained in:
2022-01-24 08:57:53 +01:00
parent 3ca3c804d1
commit 1385297978
9 changed files with 100 additions and 84 deletions

View File

@@ -173,11 +173,13 @@ class CommentLine(Line):
class OptionLine(Line):
"""
This class represents an option. The class' "name" attribute is used
This class represents an option. The class' ``name`` attribute is used
to store the option's name and the "value" attribute contains the option's
value. The "frmt" attribute preserves the format which was used in the configuration
value. The ``frmt`` attribute preserves the format which was used in the configuration
file.
Example:
Example::
optionx:<SPACE><SPACE>value
=> self.frmt = '%s:<SPACE><SPACE>%s'
optiony<SPACE>=<SPACE>value<SPACE>;<SPACE>some_comment