Divyansh Singh

Results 369 comments of Divyansh Singh

Just tested. Seems to work fine. Also, would it be possible to emit .d.ts files for those 👀

Things referenced by links are not treated like assets. Only these are: ```ts { video: ['src', 'poster'], source: ['src'], img: ['src'], image: ['xlink:href', 'href'], use: ['xlink:href', 'href'] } ``` You'll...

GitHub pages problem. I don't think we can do anything except maybe client side redirection. But that condition is tricky to properly detect.

You can just add it using transformPageData instead 🤷 Do module augmentation if you need types too.

> Maybe other people need So far, you're the first to request this. So I'll maybe wait for more people to upvote this feature request. Keeping it open for now....

You'll need to add the files to [`include`](https://www.typescriptlang.org/tsconfig#include) array in tsconfig too. Also triple slash reference is not needed, you can do something like ```ts // vitepress-extension.d.ts declare module 'vitepress'...

You can set `logoLink: '/docs/` in themeConfig. It won't redirect your page to `/docs/` by default though. Why do you need to set srcDir?

Are those components also being served under `/docs/`? Can you show your directory tree and at which route you want to serve which file?

Closing as stale/

You can use one of our layouts slots to add a breadcrumbs component there.