#156 How can we use the "main" branch instead of the "master" branch for NeuroFedora doc builds?
Closed 3 years ago by ankursinha. Opened 3 years ago by ankursinha.

Hello,

We moved to use the main branch as our primary branch for NeuroFedora docs also recently. The docs are still being built using the master branch, though.

Could someone please summarise what we should do to get the docs built using the main branch instead of the master branch?

https://pagure.io/neuro-sig/documentation

https://pagure.io/neuro-sig/documentation/branches?branchname=main

Thanks very much


You need to update the site.yml in this repo to use main. For example https://pagure.io/fedora-docs/docs-fp-o/c/e0f35e965dd43327e9fceac01181cba7d6370c72?branch=prod

Note that you should keep the value of module in the antora config as 'master', since that's currently hard-coded in Antora

Ah! Awesome. Thanks very much! Opened PRs to update prod and staging. I'll close this ticket now.

Metadata Update from @ankursinha:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata