# Question about the website source

**URL:** <https://forum.babylonjs.com/t/question-about-the-website-source/30004>\
**Category:** Off topic\
**Tags:** website\
**Created:** [May 4, 2022, 4:50am UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004 "2022-05-04T04:50:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![RPaladin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rpaladin/32/27367_2.png) [@RPaladin](https://forum.babylonjs.com/u/RPaladin)\
**Post date:** [May 4, 2022, 4:50am UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/1 "2022-05-04T04:50:46Z")

</div>

Hi. To avoid spam at the Babylon.js Website Github repository I’ll ask my question here.

I was wondering is there a hidden, build process to add a new button for the website in the community section?

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/4/a/4adb69894e1a0491c1e6ce1b0dd1f05454f2d86c.png)

For instance when I type in “forum” at the Github repository that hosts the shared source for the website: [Search · forum · GitHub](https://github.com/BabylonJS/Website/search?p=2&q=forum)

It shows a lot of files in the build folders, but also some in the src folders, and I don’t see any instructions on how to build the source though? Fyi I know some of the search results aren’t even related to the community section and I’m not referring to them.

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [May 4, 2022, 10:57am UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/2 "2022-05-04T10:57:58Z")

</div>

there is no hidden process (or not one that we are aware of :-))

The website is still being built using gulp (and will be updated in the future), but until then - the documentation here is the right one to get started - [BabylonJS/Website: Main babylon.js website (github.com)](https://github.com/BabylonJS/Website)

Is there any change you want to make to the website that we can help with?

---

<div class="post-metadata">

**Author:** ![RPaladin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rpaladin/32/27367_2.png) [@RPaladin](https://forum.babylonjs.com/u/RPaladin)\
**Post date:** [May 4, 2022, 5:25pm UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/3 "2022-05-04T17:25:24Z")

</div>

> [@RaananW](#):
>
> Is there any change you want to make to the website that we can help with?

In most setups where they have repetitive content e.g. Header/Navigation content, there is usually a template webpage or document where code; like Nodejs, injects the code in each non-Header/Navigation webpage. This relatively allows the needing to only manually update one webpage/document and then build/run the code script to inject the changes into the other webpages.

For example this script (sorry if this comes across as cross-advertising):  
[https://github.com/armory3d/armory\_web/blob/main/templates/make.js](https://github.com/armory3d/armory_web/blob/main/templates/make.js)

I’ve seen the same setup using React as well.

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [May 4, 2022, 7:21pm UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/4 "2022-05-04T19:21:07Z")

</div>

As we are revamping our website with new content now, it will probably not be the right time to restructure the code 🙂

The website’s structure hasn’t been changed in a long time. It’s not a project we invest too much time in, but if you are willing to give it a bit of your time, we will obviously be happy to improve things there. Adding @PatrickRyan to the mix, but again - for the next 2-3 days no changes will be merged to the website other than content changes for the release.

---

<div class="post-metadata">

**Author:** ![shaderbytes](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/shaderbytes/32/174_2.png) [@shaderbytes](https://forum.babylonjs.com/u/shaderbytes)\
**Post date:** [May 4, 2022, 7:25pm UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/5 "2022-05-04T19:25:24Z")

</div>

@RPaladin from a time and money point of view it would obviously best to go with one of the leading frameworks if and when they do upgrade. No offense , its simply a case of working smart 😉

---

<div class="post-metadata">

**Author:** ![PatrickRyan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/patrickryan/32/3417_2.png) [@PatrickRyan](https://forum.babylonjs.com/u/PatrickRyan)\
**Post date:** [May 4, 2022, 7:43pm UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/6 "2022-05-04T19:43:01Z")

</div>

@RPaladin, the file you are looking for that creates the navigation is [src \> content \> site.json](https://github.com/BabylonJS/Website/blob/master/src/content/site.json). And @RaananW is right in that we are only making content changes this week to get ready for the 5.0 release announcement.

That said, this site was created several years ago and we are due for an overhaul. We will look at a redesign in the next release cycle and would make any determinations about the framework needs at that point.

---

<div class="post-metadata">

**Author:** ![RPaladin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rpaladin/32/27367_2.png) [@RPaladin](https://forum.babylonjs.com/u/RPaladin)\
**Post date:** [May 4, 2022, 9:00pm UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/7 "2022-05-04T21:00:52Z")

</div>

> [@PatrickRyan](#):
>
> @RPaladin, the file you are looking for that creates the navigation is [src \> content \> site.json](https://github.com/BabylonJS/Website/blob/master/src/content/site.json).

I believe so, but how does one metaphorically “build” to other files after making changes to` site.json`?

Does `gulp run` do this automatically? _Confused._

> [@PatrickRyan](#):
>
> right in that we are only making content changes this week to get ready for the 5.0 release announcement.

Does this include PRs as well as core development?

---

<div class="post-metadata">

**Author:** ![PatrickRyan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/patrickryan/32/3417_2.png) [@PatrickRyan](https://forum.babylonjs.com/u/PatrickRyan)\
**Post date:** [May 4, 2022, 9:16pm UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/8 "2022-05-04T21:16:10Z")

</div>

Yes, `gulp run` from the main website directory will build the whole site. I’m not sure what you mean by core development in this context. In terms of the website, we are in our last day before pushing the 5.0 content live so any changes to the site beyond that content are out of scope for the communication plan. If you mean can you push PRs for the engine, then yes. This only applies to changes to the website for this week so we can get everything proofed and buttoned up.

---

<div class="post-metadata">

**Author:** ![RPaladin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rpaladin/32/27367_2.png) [@RPaladin](https://forum.babylonjs.com/u/RPaladin)\
**Post date:** [May 5, 2022, 2:02am UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/9 "2022-05-05T02:02:53Z")

</div>

> [@PatrickRyan](#):
>
> f you mean can you push PRs for the engine, then yes.

I realize that tomorrow is the big day, so I’ll wait until tomorrow before creating a PR. I was curious to know whether PRs are acceptable if from non-team members in the long term - non-team members by the way, is what I meant by core development earlier. Sorry, should have clarified more.

---

<div class="post-metadata">

**Author:** ![PatrickRyan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/patrickryan/32/3417_2.png) [@PatrickRyan](https://forum.babylonjs.com/u/PatrickRyan)\
**Post date:** [May 5, 2022, 2:51am UTC](https://forum.babylonjs.com/t/question-about-the-website-source/30004/10 "2022-05-05T02:51:44Z")

</div>

Yes, as an open-source repository we accept PRs for the engine. However, we usually like to have a discussion about what the PR entails on the forum so we all know what we are trying to implement as the core team will usually need to support things going forward.
