citizenfx / fivem-docs

FiveM documentation repository
https://docs.fivem.net/
101 stars 300 forks source link

chore(build): add a script to build the docs #484

Open spacevx opened 1 month ago

spacevx commented 1 month ago

Add a script to build and run hugo docs, the script is checking if the user have GCC and Go installed on his computer, and if the user don't have hugo then it will build it and run it, if the user already have hugo it will directly run it (the script don't make the difference between the official hugo and the one from dbub)

AvarianKnight commented 1 month ago

I think it would be best to wait on this for the moment, hopefully we won't need a custom build in the future.

spacevx commented 1 month ago

I think it would be best to wait on this for the moment, hopefully we won't need a custom build in the future.

No problem, i'm going to let this open in case someone want to build the documentation for now