The Maven https://maven.apache.org website is composed from:
And Doxia website has the same dual structure.
These contents are stored in svn and svnpubsub/svnwcsub maintains a working copy on the webservers in /www/maven.apache.org/content, see svnwcsub configured in infra Puppet:
and the link between main content and components reference documentation is done with symbolic links.
Instructions on how to publish website content are split in separate documents: