It's worth highlighting that docs can be published from different branches of a repo. A branch named 'gh-pages' used to be required (it may still be, I don't know). So for example, you create an orphan branch on your Delenda EST repo called 'gh-pages', you put your files and CSS and other assets your website uses on that branch. That's one of the settings under "Pages" on your repo setting. You'd have to create the branch first for the option to show up. That would keep your mod structure clean on your main branch.
To keep that branch checked out all the time, you can use `git worktree ...` to create a directory separate from the directory from where the files on your main branch are located.