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

A way to configure the directory for docs instead of the root folder #4384

Open
4 tasks done
kaesar opened this issue Nov 25, 2024 · 0 comments
Open
4 tasks done

A way to configure the directory for docs instead of the root folder #4384

kaesar opened this issue Nov 25, 2024 · 0 comments

Comments

@kaesar
Copy link

kaesar commented Nov 25, 2024

Is your feature request related to a problem? Please describe.

Currently, I have three small blogs due to different approaches. I have customized certain things in the theme design when downloading VitePress, for example, to include in these projects native web components that can be loaded as an html tag from a simple Markdown (.md) file, besides include TailwindCSS.
I am not interested in doing a Fork and would like to evaluate if it is possible to change the directory of the Vitepress documents (separating or decoupling the content of the mechanism) in order to have versatility and not having to copy in each project folder the theme and components.

Describe the solution you'd like

One idea would be to allow the base directory of Vitepress to be different from the root, separating or decoupling the content of the theme or template (although I would understand if it is a matter of design).
What is wanted is to use the modified Vitepress theme on different blogs without having to copy it to each project (thinking in multi-project of content)

Describe alternatives you've considered

I have tried to apply on each of the three Vitepress blogs with the custom theme ( just that it can lead to theme desynchronization).

Additional context

The project with native web components that can be use in Markdown (.md) is: https://github.com/kaesar/onmind-cui

Validations

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

No branches or pull requests

1 participant