#10323 infra-docs-fpo uses master as default branch
Closed: Upstream 2 years ago by ryanlerch. Opened 2 years ago by ryanlerch.

http://pagure.io/infra-docs-fpo/ uses 'master' as the default branch -- which we should change, but there are a few additional things tro consider here:

  1. the docs seem to be automatically generated on docs.fp.o from the master branch -- we may need to change whatever is building this if we change the default branch name
  2. what to change the default branch name to? there also appears to be a staging docs site, so not sure if that can be automatically updated from a different branch, but this def needs some thought.

@pbokoc Do you have any opinion here?

I may be able to answer that one.
docs.fp.o use a file named site.yml to generate everything. It use master branch by default (I think it will use main for the next release of antora 3.0.0).
You can still specify the branch to use in this file.

For staging, this same file from the stg branch is used. It usually use the same branches configuration as prod, but you can use a different one for your doc repo if you'd like.
Note that the infra doc repo is not present in the stg configuration file, but there is a PR waiting for that purpose.

I think it should be done by docs team and I am not sure if there is anything that infra can do here, but as for the suggestion, we moved everything to main, it can be used to keep the consistency.

Metadata Update from @mohanboddu:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-gain, low-trouble, ops

2 years ago

Anything further for us to do here? Or shall we close this and let it get handled on the docs side?

Metadata Update from @ryanlerch:
- Issue close_status updated to: Upstream
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog