Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark the conventions that are experimental #20

Open
vikram-redhat opened this issue Nov 22, 2017 · 3 comments
Open

Mark the conventions that are experimental #20

vikram-redhat opened this issue Nov 22, 2017 · 3 comments

Comments

@vikram-redhat
Copy link

The guide should mark the conventions that are experimental so teams can decide whether or not to use them. I know there is a note at the top that says that some of these conventions are experimental, but it is left for the user to figure out which ones.

@rkratky
Copy link

rkratky commented Nov 28, 2017

@vikram-redhat, only the UI elements macros (kbd, menu, btn) require the experimental attribute. Given that ccutil (and the CP) fully supports (i.e. renders well) these macros, the team that worked on these conventions did not consider their use optional. The macros improve semanticity of the source and as such are preferred over non-semantic mark-up.

@vikram-redhat
Copy link
Author

@rkratky - thanks. I wasn't referring to the UI elements macros, but to the others which are not yet part of the AsciiDoc conventions. The use of the experimental attribute was totally coincidental, but that is an interesting conversation as well.

I was referring to: command, package and filename. These are not standard AsciiDoc tags?

@rkratky
Copy link

rkratky commented Jan 3, 2018

I was referring to: command, package and filename. These are not standard AsciiDoc tags?

Got it, apologies for the misunderstanding.

The mark-up you're referring to is actually valid AsciiDoc(tor) syntax, and there's nothing experimental about it. AsciiDoc allows setting arbitrary/ad hoc class attributes using the [class]#element# syntax. See http://asciidoctor.org/docs/user-manual/#custom-styling-with-attributes

We're merely making use of this functionality to semantically mark up our source code, so that tools for automated docs testing, such as Emender, can easily pick up these elements and perform their checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants