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

Generate all doc pages as Markdown format #4363

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

flovntp
Copy link
Contributor

@flovntp flovntp commented Jan 30, 2025

Generate all of the pages in a markdown format (LLMS)
To get any page in Markdown format, just change .html in your browser by .md
example :
https://docs.upsun.com.llms-md-pages-xzf6x5y-ucq44jg6ofare.eu-5.platformsh.site/administration/web/configure-project.md

Please note:
for the homepage, that's different as index.html is not displayed, so add index.md at the end:
https://docs.upsun.com.llms-md-pages-xzf6x5y-ucq44jg6ofare.eu-5.platformsh.site/index.md

I also

  • change the links in the llms.txt file to point on this new markdown version of doc pages.
  • reformat replaceRE function in a single partial file and use it everywhere we need markdown output

Why

Closes #{ISSUE_NUMBER}

What's changed

Where are changes

Updates are for:

  • platform (sites/platform templates)
  • upsun (sites/upsun templates)

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

Successfully merging this pull request may close these issues.

2 participants