* [PATCH] docs: replace 'Edit on GitLab' with 'View page source'
@ 2024-12-09 16:35 Daniel P. Berrangé
2024-12-09 16:38 ` Philippe Mathieu-Daudé
2024-12-09 18:57 ` Pierrick Bouvier
0 siblings, 2 replies; 4+ messages in thread
From: Daniel P. Berrangé @ 2024-12-09 16:35 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, Daniel P. Berrangé
QEMU takes contributions via the mailing list, so while you can edit a
file on gitlab and then switch to the terminal to send a patch, the
wording 'Edit on GitLab' strongly suggests we take merge requests.
Switching back to "View page source" is a more agnostic term that does
not imply a particular contribution approach, that we had used in QEMU
before:
commit 73e6aec6522e1edd63f631c52577b49a39bc234f
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Tue Mar 23 15:53:28 2021 +0400
sphinx: adopt kernel readthedoc theme
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
docs/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index c11a6ead8a..164a8ee8b2 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -186,7 +186,7 @@
]
html_context = {
- "display_gitlab": True,
+ "source_url_prefix": "https://gitlab.com/qemu-project/qemu/-/blob/master/docs/",
"gitlab_user": "qemu-project",
"gitlab_repo": "qemu",
"gitlab_version": "master",
--
2.46.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] docs: replace 'Edit on GitLab' with 'View page source'
2024-12-09 16:35 [PATCH] docs: replace 'Edit on GitLab' with 'View page source' Daniel P. Berrangé
@ 2024-12-09 16:38 ` Philippe Mathieu-Daudé
2024-12-09 16:41 ` Daniel P. Berrangé
2024-12-09 18:57 ` Pierrick Bouvier
1 sibling, 1 reply; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-12-09 16:38 UTC (permalink / raw)
To: Daniel P. Berrangé, qemu-devel; +Cc: Peter Maydell
On 9/12/24 17:35, Daniel P. Berrangé wrote:
> QEMU takes contributions via the mailing list, so while you can edit a
> file on gitlab and then switch to the terminal to send a patch, the
> wording 'Edit on GitLab' strongly suggests we take merge requests.
>
> Switching back to "View page source" is a more agnostic term that does
> not imply a particular contribution approach, that we had used in QEMU
> before:
>
> commit 73e6aec6522e1edd63f631c52577b49a39bc234f
> Author: Marc-André Lureau <marcandre.lureau@redhat.com>
> Date: Tue Mar 23 15:53:28 2021 +0400
>
> sphinx: adopt kernel readthedoc theme
>
Is this:
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2709
?
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> docs/conf.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/conf.py b/docs/conf.py
> index c11a6ead8a..164a8ee8b2 100644
> --- a/docs/conf.py
> +++ b/docs/conf.py
> @@ -186,7 +186,7 @@
> ]
>
> html_context = {
> - "display_gitlab": True,
> + "source_url_prefix": "https://gitlab.com/qemu-project/qemu/-/blob/master/docs/",
> "gitlab_user": "qemu-project",
> "gitlab_repo": "qemu",
> "gitlab_version": "master",
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] docs: replace 'Edit on GitLab' with 'View page source'
2024-12-09 16:38 ` Philippe Mathieu-Daudé
@ 2024-12-09 16:41 ` Daniel P. Berrangé
0 siblings, 0 replies; 4+ messages in thread
From: Daniel P. Berrangé @ 2024-12-09 16:41 UTC (permalink / raw)
To: Philippe Mathieu-Daudé; +Cc: qemu-devel, Peter Maydell
On Mon, Dec 09, 2024 at 05:38:49PM +0100, Philippe Mathieu-Daudé wrote:
> On 9/12/24 17:35, Daniel P. Berrangé wrote:
> > QEMU takes contributions via the mailing list, so while you can edit a
> > file on gitlab and then switch to the terminal to send a patch, the
> > wording 'Edit on GitLab' strongly suggests we take merge requests.
> >
> > Switching back to "View page source" is a more agnostic term that does
> > not imply a particular contribution approach, that we had used in QEMU
> > before:
> >
> > commit 73e6aec6522e1edd63f631c52577b49a39bc234f
> > Author: Marc-André Lureau <marcandre.lureau@redhat.com>
> > Date: Tue Mar 23 15:53:28 2021 +0400
> >
> > sphinx: adopt kernel readthedoc theme
> >
>
> Is this:
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2709
> ?
I won't really claim it resolves that, as that issues is showing
lots of user confusion, most of which is not in our control.
>
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> > ---
> > docs/conf.py | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/docs/conf.py b/docs/conf.py
> > index c11a6ead8a..164a8ee8b2 100644
> > --- a/docs/conf.py
> > +++ b/docs/conf.py
> > @@ -186,7 +186,7 @@
> > ]
> > html_context = {
> > - "display_gitlab": True,
> > + "source_url_prefix": "https://gitlab.com/qemu-project/qemu/-/blob/master/docs/",
> > "gitlab_user": "qemu-project",
> > "gitlab_repo": "qemu",
> > "gitlab_version": "master",
>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] docs: replace 'Edit on GitLab' with 'View page source'
2024-12-09 16:35 [PATCH] docs: replace 'Edit on GitLab' with 'View page source' Daniel P. Berrangé
2024-12-09 16:38 ` Philippe Mathieu-Daudé
@ 2024-12-09 18:57 ` Pierrick Bouvier
1 sibling, 0 replies; 4+ messages in thread
From: Pierrick Bouvier @ 2024-12-09 18:57 UTC (permalink / raw)
To: Daniel P. Berrangé, qemu-devel; +Cc: Peter Maydell
On 12/9/24 08:35, Daniel P. Berrangé wrote:
> QEMU takes contributions via the mailing list, so while you can edit a
> file on gitlab and then switch to the terminal to send a patch, the
> wording 'Edit on GitLab' strongly suggests we take merge requests.
>
> Switching back to "View page source" is a more agnostic term that does
> not imply a particular contribution approach, that we had used in QEMU
> before:
>
> commit 73e6aec6522e1edd63f631c52577b49a39bc234f
> Author: Marc-André Lureau <marcandre.lureau@redhat.com>
> Date: Tue Mar 23 15:53:28 2021 +0400
>
> sphinx: adopt kernel readthedoc theme
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> docs/conf.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/conf.py b/docs/conf.py
> index c11a6ead8a..164a8ee8b2 100644
> --- a/docs/conf.py
> +++ b/docs/conf.py
> @@ -186,7 +186,7 @@
> ]
>
> html_context = {
> - "display_gitlab": True,
> + "source_url_prefix": "https://gitlab.com/qemu-project/qemu/-/blob/master/docs/",
> "gitlab_user": "qemu-project",
> "gitlab_repo": "qemu",
> "gitlab_version": "master",
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-09 18:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-09 16:35 [PATCH] docs: replace 'Edit on GitLab' with 'View page source' Daniel P. Berrangé
2024-12-09 16:38 ` Philippe Mathieu-Daudé
2024-12-09 16:41 ` Daniel P. Berrangé
2024-12-09 18:57 ` Pierrick Bouvier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).