Using separate Hugo pages for each author

Hi. I am trying to build a hugo website for a lab with github pages. The idea is to have one root repository/hugo page with a landing page, projects, members etc. Then each member should have their own repository where they maintain their content, posts, bio page, etc. This should be like a separate hugo page, and every time a member updates their page, it should not rebuild the entire website.

I tried using github submodules for each member, but this would mean every time a member changes a post, the whole hugo site is rebuilt.

How can i achieve this, while keeping everything under the same domain?

You can specify baseURL for each repository (site), such as https://example.org/foo, https://example.org/bar.

Have a look at Segmentation:

Reduce build time and cost by partitioning your sites into segments. For example, render the home page and the “news section” every hour, and render the entire site once a week.

See:

Configure Segments

If you cache the generated public folder you could dermine author pages changed you could use a segment for each author and only rebuild that section.

Keep in mind that while keeping public you will have to take care of removed pages in public yourself.