Update instructions for modifying docs, post-Pagure

This commit is contained in:
Benjamin Beasley 2026-08-24 10:00:29 +01:00
commit 26bb28e64e

View file

@ -1,8 +1,8 @@
# Fedora Package Maintainer Docs
Welcome! This is the Pagure instance for the Fedora Package Maintainer Docs.
Welcome! This is the Fedora Forge instance for the Fedora Package Maintainer Docs.
The Pagure repository is used to store the source of Package Maintainer Docs,
The Fedora Forge repository is used to store the source of Package Maintainer Docs,
track related issues
and accept changes via pull requests.
@ -115,7 +115,7 @@ to see your changes in the whole context.
This is especially useful for checking if your `xref` links work properly.
To do this,
you need to clone the main [Fedora Docs build repository](https://pagure.io/fedora-docs/docs-fp-o),
you need to clone the main [Fedora Docs build repository](https://forge.fedoraproject.org/docs/docs-fp-o),
modify the `site.yml` file to reference a repo with your changes,
and build it.
Steps:
@ -123,29 +123,27 @@ Steps:
Clone the main repository and cd into it:
```
$ git clone https://pagure.io/fedora-docs/docs-fp-o.git
$ git clone https://forge.fedoraproject.org/docs/docs-fp-o.git
$ cd docs-fp-o
```
Find a reference to the repository you're changing in the `site.yml` file,
and change it so it points to your change.
So for example, if I made a modification to the Modularity docs,
So for example, if I made a modification to the Accounts docs,
I would find:
```
...
- url: https://pagure.io/fedora-docs/modularity.git
branches:
- master
- url: https://forge.fedoraproject.org/docs/accounts-docs.git
...
```
And replaced it with a pointer to my fork:
```
...
- url: https://pagure.io/forks/asamalik/fedora-docs/modularity.git
- url: https://forge.fedoraproject.org/music/accounts-docs.git
branches:
- master
- my-feature-branch
...
```
@ -161,7 +159,7 @@ and copy my repository into it.
```
...
- url: ./repositories/modularity
- url: ./repositories/accounts
branches:
- HEAD
...