Skip to content

Comments

Add links to component tables#584

Merged
eric-schuh merged 25 commits intow3c-ccg:mainfrom
eric-schuh:add_links_to_component_tables
Feb 17, 2026
Merged

Add links to component tables#584
eric-schuh merged 25 commits intow3c-ccg:mainfrom
eric-schuh:add_links_to_component_tables

Conversation

@eric-schuh
Copy link
Collaborator

@eric-schuh eric-schuh commented Feb 3, 2026

Updated the oas.yml to include a new parameter, x-componentTableLink, and added comments to index.html to support linking to each endpoint's definition from its entry(s) in the component tables.

This isn't the most elegant solution as anytime one of the endpoint definition headers is modified in the index.html the corresponding x-componentTableLink parameter in the oas.yml will need to be updated as well.

Happy to take suggestions for other ways this could be done but I didn't see any way to utilize the existing yml parameters to generate the links to the appropriate definition headers for each endpoint.

This is to address #560

…updates.

Added a comment before each header that is linked to in the Component Tables. If the header is updated the corresponding x-componentTableLink parameter in the oas.yaml file needs to be updated for the Component Tables links to continue to function.
The new parameter supports the feature of linking to each endpoint's definition from the Component Tables.
@eric-schuh
Copy link
Collaborator Author

As a note, this PR is dependent on w3c-ccg/respec-oas#2

eric-schuh and others added 2 commits February 3, 2026 11:22
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
eric-schuh and others added 3 commits February 3, 2026 11:22
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
eric-schuh and others added 2 commits February 3, 2026 11:22
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
eric-schuh and others added 2 commits February 3, 2026 11:22
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
eric-schuh and others added 10 commits February 3, 2026 11:29
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
@PatStLouis
Copy link
Collaborator

Lets wait until w3c-ccg/respec-oas#2 is addressed then review.

Updated the component tables to be part of the respec preprocessing step instead of post processing to get the links to display the section numbers properly.
@eric-schuh eric-schuh merged commit 55fa5c0 into w3c-ccg:main Feb 17, 2026
1 check passed
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