Skip to content

Conversation

ToMESSKa
Copy link
Contributor

@ToMESSKa ToMESSKa commented Aug 26, 2025

INSTUI-4701

ISSUE:

  • InstUI lacks an ai-friendly documentation

TEST PLAN:

  • check https://instructure.design/pr-preview/pr-2109/llms.txt it should open contain all necessary sections, components and guides and each link should be followed by a short summary of that guide/component
  • the links in the llms.txt should redirect to existing markdown files, these should include every information and in the case of components, examples, prop tables and usage, in the case of sub-components like Tabs.Panel in Tabs, the prop table should include the props of the sub-component
  • check the structure and section hierarchy of the llms.txt file and the markdown files, they should be error-free
  • check https://instructure.design/pr-preview/pr-2109/markdowns/documentation.zip , it should download a compressed folder, the folder should contain all files about the necessary sections, components and guides, and the files should include every information and in the case of components, examples, prop tables and usage
  • the compressed folder should contain and INDEX.md file, which should point to the files in the compressed folder, the INDEX.dm should contain all necessary sections, components and guides and each link should be followed by a short summary of that guide/component
  • check the updated sections in 'Getting started' and 'Contributor guides'

@ToMESSKa ToMESSKa self-assigned this Aug 26, 2025
Copy link

github-actions bot commented Aug 26, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-09-26 11:56 UTC

@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch from f3a2a4b to cf3222c Compare August 28, 2025 13:39
@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch 3 times, most recently from b551e1e to 6acc6d9 Compare September 2, 2025 10:05
@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch 2 times, most recently from 06ef1c1 to 0857ffd Compare September 2, 2025 13:29
@ToMESSKa ToMESSKa closed this Sep 2, 2025
@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch from 0857ffd to e66ad32 Compare September 2, 2025 13:49
@ToMESSKa ToMESSKa reopened this Sep 2, 2025
@ToMESSKa ToMESSKa marked this pull request as ready for review September 2, 2025 14:05
@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch from ef5254e to e2bcf25 Compare September 11, 2025 10:00
@ToMESSKa ToMESSKa changed the title build: testing_mds build: generate llms.txt and markdown files of the documentation for optimal AI consumption Sep 11, 2025
@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch from e2bcf25 to 630f62a Compare September 16, 2025 09:33
buildDir + 'markdown-and-sources-data.json',
{
outputFilePath: path.join(parentOfDocs, 'llms.txt'),
baseUrl: 'https://instructure.design/pr-preview/pr-2109/markdowns/',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is for testing purposes, it should be 'https://instructure.design/markdowns/'

@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch 3 times, most recently from f57ff58 to cc9f407 Compare September 16, 2025 11:40
@ToMESSKa ToMESSKa requested review from matyasf and balzss September 16, 2025 11:51
Copy link
Collaborator

@matyasf matyasf left a comment

Choose a reason for hiding this comment

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

Very nice work!! There are a couple of smaller issues what needs to be resolved (see my comments)

Also we should think about (its a future ticket) what we do with internal links. Now they are anchor link,s AI might have a hard time following them in the .md files..

@ToMESSKa ToMESSKa closed this Sep 24, 2025
@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch from cc9f407 to e66ad32 Compare September 24, 2025 07:52
@ToMESSKa ToMESSKa reopened this Sep 24, 2025
Copy link
Collaborator

@matyasf matyasf left a comment

Choose a reason for hiding this comment

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

there is one small change needed for type parsing, see my comment. Also dont forget to use the proper link here: https://github.com/instructure/instructure-ui/pull/2109/files#diff-1faeaf1714eeac41ba8eccaff204c2f140f9adc2d5e6964a357723ba7ccde096R163

@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch from f00ceab to e1632c5 Compare September 25, 2025 12:39
@ToMESSKa ToMESSKa requested a review from matyasf September 25, 2025 12:52
Copy link
Contributor

@HerrTopi HerrTopi left a comment

Choose a reason for hiding this comment

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

Nice work, seems to be working fine. I'm not sure if the AI components section will confuse the llms or not, but I don't think it should be added as an exeption.

Approved

@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch from e1632c5 to 91ea593 Compare September 26, 2025 11:14
@ToMESSKa ToMESSKa force-pushed the create-llms-txt-for-testing branch from 91ea593 to a508506 Compare September 26, 2025 11:37
@ToMESSKa ToMESSKa merged commit bfef92b into master Sep 26, 2025
10 of 11 checks passed
@ToMESSKa ToMESSKa deleted the create-llms-txt-for-testing branch September 26, 2025 11:56
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.

3 participants