Render multiple projects in one docs project

Hi there, I have an issue with generating the docs for multiple projects in 1 docs project. I have multiple dbt projects that have their own profile. I want 1 docs page which includes all the projects. So I followed the instructions: Can I render docs for multiple projects? | dbt Developer Hub and created a “super project” with the other projects in the packages.yml . When I then run dbt deps and then dbt docs generate , the docs will include all the projects, so that works. But the docs are incorrect, cause the compiled code in the docs, point to the target in the profile from the “super project” instead of the target of the original project.

How can I solve that? Every project has its own target/profile/output, but I can only use one when I run dbt docs generate.

1 Like

Hey, I have also faced a similar problem, so I have created a GitHub action to generate documentation for multiple projects and publish it to the GitHub Pages on committing to the main branch.

Check this out and use it – Generate DBT Docs · Actions · GitHub Marketplace · GitHub
Demo - GitHub - praneeth527/dbt-docs-demo