prairir / Buoy

A Mesh VPN
MIT License
2 stars 1 forks source link

hugo location #5

Open bachittle opened 2 years ago

bachittle commented 2 years ago

Describe Problem

hugo source code can either be in this repository, or separate. There are pros and cons to either option, so we should vote on it

Suggest Solution

solution should be discussed

Additional Details

another option is adding the docs as a submodule (currently in my local setup, the hugo documentation is in a folder called docs). Can potentially get the best of both worlds by doing this.

prairir commented 2 years ago

I believe a sub module called docs is a good way to do it

bachittle commented 2 years ago

ok do you wanna make the new repo then, or should I?

prairir commented 2 years ago

ok do you wanna make the new repo then, or should I?

we can just use a submodule in this repo like a mono repo

bachittle commented 2 years ago

how do you accomplish that? I thought submodules had to be separate repos.

prairir commented 2 years ago

submodules in the same repo. we could make a folder called docs and itll include all the hugo code

bachittle commented 2 years ago

ok I'll do that, will make PR today

bachittle commented 2 years ago

so idk if it is possible, if so what do I set the submodule url to? I think I have to set it to something. image

bachittle commented 2 years ago

either that or just remove the git file that is in docs and just use git in root directory

prairir commented 2 years ago

I meant more like a go submodule. no need to have it as an extra repo.

bachittle commented 2 years ago

oh ok, I see what you mean. I'll mess around with go submodules. worse case will just make it linked with the repo