newdoc icon indicating copy to clipboard operation
newdoc copied to clipboard

Move _* attributes to the top

Open mmuehlfeldRH opened this issue 2 years ago • 2 comments

Some of the _* attributes are separated with a blank line from each other or appear later in the template. For consistency reasons, can we move them up so that they appear all at the beginning of the file (without blank lines)

image

mmuehlfeldRH avatar Feb 12 '24 09:02 mmuehlfeldRH

I agree it would be prettier to move the attributes together. The reason why the mod docs attribute is placed further down is that it follows the attribute placement in the upstream template files:

https://github.com/redhat-documentation/modular-docs/tree/main/modular-docs-manual/files

I'll see if I can consolidate this without diverging from the templates too much.

msuchane avatar Feb 12 '24 11:02 msuchane

Then it should better be improved upstream, so that it won't come back after the next template refresh.

mmuehlfeldRH avatar Feb 12 '24 11:02 mmuehlfeldRH

Solved by https://github.com/redhat-documentation/newdoc/pull/47

mmuehlfeldRH avatar Apr 10 '25 08:04 mmuehlfeldRH