Skip to content

Conversation

@zastrowm
Copy link
Member

Description

Note: This is targeting the workstream/cms-migration branch.

Previously we used a hard-link to include files in starlight/astro so that mkdocs and starlight would continue to work together - however, this is now slowing down progress in generating api documentation (Python & TypeScript). So switch to doing a straight copy to the directory.

Changes in this PR:

  • Copy the relevant files from /docs -> src/content/docs which is where starlight needs them; previously we used a directory link
  • update-docs.ts to account for this; as noted before, this is a script that will be used to do the final migration and so the contents are not to be tightly reviewed unless you see something obvious. The final output is the more important part.

Related Issues

#441

Type of Change

  • Content update/revision

Checklist

  • I have read the CONTRIBUTING document
  • My changes follow the project's documentation style
  • I have tested the documentation locally using mkdocs serve
  • Links in the documentation are valid and working

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Previously we used a hard-link to include files in astro so that mkdocs and starlight would continue to work together - however, this is now slowing down progress in generating api documentation (Python & TypeScript).

Switch to doing a straight copy to the directory.
@zastrowm zastrowm deployed to auto-approve February 11, 2026 19:28 — with GitHub Actions Active
@github-actions
Copy link
Contributor

Documentation Preview Ready

Your documentation preview has been successfully deployed!

Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-cms-541/user-guide/quickstart/overview/

Updated at: 2026-02-11T19:30:17.233Z

const files: string[] = [];
const assetExtensions = [".png", ".jpg", ".jpeg", ".gif", ".svg", ".webp", ".ico", ".js", ".css"];

async function walk(currentDir: string) {
Copy link
Contributor

Choose a reason for hiding this comment

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

this function seems very similar to line 90, do we want to extract it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really; this script is basically just for converting the docs; once we migrate to the new CMS, we're throwing this away.

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.

2 participants