Skip to content

Conversation

emmurphy1
Copy link
Collaborator

Updated the comments in the templates to reflect what we know about potential issues with migrating to DITA.

@emmurphy1 emmurphy1 requested a review from a team as a code owner April 2, 2025 14:54
Copy link
Contributor

@mjahoda mjahoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found only minor (potential) problems at very few lines. In general, this is a very good improvement of the templates. The text is much clearer now. Thank you.

@emmurphy1
Copy link
Collaborator Author

@laubai and @mjahoda thank you so much for the comments. I have implemented most of them. Just waiting on Jaromir's feedback on a couple.

////
Be sure to include a line break between the title and the :context: variable and the :context: variable and the assembly introduction.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following line is the first time the instructions refer to lines above them. I find this confusing, it would make more sense to me to move this information to the comment above the ID and section title.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, the explanation of the :context: attribute would make more sense in this place, above the actual :context: attribute definition.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And as GitHub won't let me comment on those lines, all instructions regarding include statements would make more sense above the include statements, including the one about the empty line in between them. It would allow you to demonstrate that principle clearly without the includes being consistently interrupted with additional information.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@emmurphy1 emmurphy1 merged commit 5230880 into redhat-documentation:main Apr 8, 2025
jhradilek added a commit to jhradilek/newdoc that referenced this pull request Apr 9, 2025
redhat-documentation/modular-docs#236 introduced
a few changes to the structure and the comments in the official
templates. This commit carries these changes over to newdoc with a few
notable exceptions:

  * I unified the empty space above and below the comment blocks. The
    upstream version is very inconsistent.
  * I unified the type of comments, The upstream version occasionally
    switches to line comments for no reason.
  * I moved the _mod-docs-content-type attribute definition in the
    assembly template to the top to match its position in the other
    templates.
  * I removed accidental leading spaces from some of the comments.
jhradilek added a commit to jhradilek/newdoc that referenced this pull request Apr 9, 2025
redhat-documentation/modular-docs#236 introduced
a few changes to the structure and the comments in the official
templates. This commit carries these changes over to newdoc with a few
notable adjustments:

  * I unified the empty space above and below the comment blocks. The
    upstream version is very inconsistent.
  * I unified the type of comments. The upstream version occasionally
    switches to line comments for no reason.
  * I moved the _mod-docs-content-type attribute definition in the
    assembly template to the top to match its position in the other
    templates.
  * I removed accidental leading spaces from some of the comments.
jhradilek added a commit to jhradilek/newdoc that referenced this pull request Apr 9, 2025
redhat-documentation/modular-docs#236 introduced
a few changes to the structure and the comments in the official
templates. This commit carries these changes over to newdoc with a few
notable adjustments:

  * I unified the empty space above and below the comment blocks. The
    upstream version is very inconsistent.
  * I unified the type of comments. The upstream version occasionally
    switches to line comments for no reason.
  * I moved the _mod-docs-content-type attribute definition in the
    assembly template to the top to match its position in the other
    templates.
  * I removed accidental leading spaces from some of the comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants