#How to integrate starlight docs into existing CF Worker project?

4 messages · Page 1 of 1 (latest)

pearl stump
#

I have a project for a Cloudflare Worker, however I also want to have my docs in the same repo - just in a sub-directory.

I also want the docs have nothing to do with the worker, since the worker is an application on its own. I want the starlight docs to be deployed on Github Pages. How can I do that?

My current repo: https://github.com/The-LukeZ/discord-vote-handler

I tried creating a subdir with pnpm create astro --template starlight docs however that resulted in a new package.json, and more importantly, a new tsconfig being created in the docs subdirectory.
So what can I do?

warm mural
#

It sounds like you are looking for a MonoRepo.

pearl stump
#

I don't really get it. But yeah, a monorepo is the right term for what I'm trying to do.