Skip to content

docs: fixes rendering of parameter table in docs for app desc and deployment#184

Merged
singhmj-1 merged 4 commits into
pre-draftfrom
docs/169-fix-param-attrib
May 29, 2026
Merged

docs: fixes rendering of parameter table in docs for app desc and deployment#184
singhmj-1 merged 4 commits into
pre-draftfrom
docs/169-fix-param-attrib

Conversation

@singhmj-1
Copy link
Copy Markdown
Contributor

Description

The docs rendered for application-description and application-deployment show name object to be an explicit field in parameters object (a key:value map), whereas it refers to the key attribute of the map.

Issues Addressed

Closes #169

Change Type

Please select the relevant options:

  • Fix (change that resolves an issue)
  • New enhancement (change that adds specification content)
  • Content edits (change that edits existing content)

Checklist

  • I have read the CONTRIBUTING document.
  • My changes adhere to the established patterns, and best practices.

…loyment

Closes #169

Signed-off-by: Manjinder <manjinder.b.singh@capgemini.com>
@singhmj-1 singhmj-1 self-assigned this May 22, 2026
@singhmj-1 singhmj-1 requested a review from a team as a code owner May 22, 2026 08:47
@singhmj-1
Copy link
Copy Markdown
Contributor Author

Fixes for application description:

image image

Fixes for application deployment:

image image

@Silvanoc
Copy link
Copy Markdown
Contributor

This PR makes a moving target for the Data Model PR #158. The hereby introduced changes should be also made in the branch of PR #158.

@chrisgclayton
Copy link
Copy Markdown

Looking at the images vs. the actual files, which I assume are snapshots of the actual files I noticed there is a "typo" I assume in Image 1. You will notice it says in the description of parameters:
e.g., e.g., (doubled up).

I get that this passed the SUP stage I assume so it is more of a question than asking for a change.

Moving something from a formal field (i.e., metadata.name) to a property bag key/value typically implies there are not special rules of processing associated with it etc. I would assume that a formal name would have some guardrails? Also is there not special meaning to it? It feels like movement from formal to property bag is generalizing something that should not be? (again please take this as a question as I was not involved at the time of the SUP)

@singhmj-1
Copy link
Copy Markdown
Contributor Author

I'm not fully aware of how this data structure originally got introduced into the spec, but a two quick thoughts on the layout:

  1. Since the schema is built on LinkML, we can technically write rules for map keys, but I'm doubtful that downstream code-generators or language-specific libraries can enforce those strictly by default. So, I agree this could be an issue for application-deployment objects.
  2. That said, keeping a map structure within the application-description object, which is original source config template, makes some sense as it provides a direct, clean lookup mechanism for validating if the application-deployment is correct or not. But keeping guardrails, wherever possible, is good practice, so your observation weighs more in this case as well.

And thanks for reporting that double word issue, I'll fix that one.

Signed-off-by: Manjinder <manjinder.b.singh@capgemini.com>
@ajcraig
Copy link
Copy Markdown
Contributor

ajcraig commented May 26, 2026

Hey @singhmj-1
PR looks good but a couple items I saw when rendering.

I think you need to inject a single line after line 71. See line below in markdown and rendering screenshot. Reason I mention that is, when I render it, the helm exceptions header is getting placed in the table.

image image

Also, think it might be good to reiterate the description you placed in the top-level attribute down in the parameter attributes section. Readers might have forgot what that description was by the time they get to the relevant section.

Signed-off-by: Manjinder <manjinder.b.singh@capgemini.com>
@singhmj-1
Copy link
Copy Markdown
Contributor Author

@ajcraig issues addressed.

Comment thread src/specification/applications/application-description.linkml.yaml Outdated
Copy link
Copy Markdown
Contributor

@ajcraig ajcraig left a comment

Choose a reason for hiding this comment

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

Looks good, following link fixes via Phil.

…attributes

Signed-off-by: Manjinder <manjinder.b.singh@capgemini.com>
@singhmj-1 singhmj-1 requested a review from phil-abb May 29, 2026 05:40
@singhmj-1 singhmj-1 merged commit 1bd4be2 into pre-draft May 29, 2026
12 checks passed
@singhmj-1 singhmj-1 deleted the docs/169-fix-param-attrib branch May 29, 2026 11:38
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.

Clarify name parameter within the parameter attributes section of the application description.

5 participants