* [XEN PATCH 0/2] trivial improvements to sphinx doc tooling
@ 2025-01-15 12:01 Yann Dirson
2025-01-15 12:01 ` [XEN PATCH 1/2] docs/sphinx: import sys for error reporting Yann Dirson
2025-01-15 12:01 ` [XEN PATCH 2/2] docs/sphinx: gitignore generated files Yann Dirson
0 siblings, 2 replies; 5+ messages in thread
From: Yann Dirson @ 2025-01-15 12:01 UTC (permalink / raw)
To: xen-devel
Cc: Yann Dirson, Andrew Cooper, Anthony PERARD, Michal Orzel,
Jan Beulich, Julien Grall, Roger Pau Monné,
Stefano Stabellini
Yann Dirson (2):
docs/sphinx: import sys for error reporting
docs/sphinx: gitignore generated files
.gitignore | 1 +
docs/conf.py | 1 +
2 files changed, 2 insertions(+)
--
2.39.5
Yann Dirson | Vates Platform Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
^ permalink raw reply [flat|nested] 5+ messages in thread
* [XEN PATCH 1/2] docs/sphinx: import sys for error reporting
2025-01-15 12:01 [XEN PATCH 0/2] trivial improvements to sphinx doc tooling Yann Dirson
@ 2025-01-15 12:01 ` Yann Dirson
2025-01-15 12:08 ` Andrew Cooper
2025-01-15 12:01 ` [XEN PATCH 2/2] docs/sphinx: gitignore generated files Yann Dirson
1 sibling, 1 reply; 5+ messages in thread
From: Yann Dirson @ 2025-01-15 12:01 UTC (permalink / raw)
To: xen-devel
Cc: Yann Dirson, Andrew Cooper, Anthony PERARD, Michal Orzel,
Jan Beulich, Julien Grall, Roger Pau Monné,
Stefano Stabellini
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
---
docs/conf.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/conf.py b/docs/conf.py
index 5d2e979449..84bec024e7 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -21,6 +21,7 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import sphinx
+import sys
project = u'Xen'
copyright = u'2019-%Y, The Xen development community'
--
2.39.5
Yann Dirson | Vates Platform Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [XEN PATCH 2/2] docs/sphinx: gitignore generated files
2025-01-15 12:01 [XEN PATCH 0/2] trivial improvements to sphinx doc tooling Yann Dirson
2025-01-15 12:01 ` [XEN PATCH 1/2] docs/sphinx: import sys for error reporting Yann Dirson
@ 2025-01-15 12:01 ` Yann Dirson
2025-01-15 12:12 ` Andrew Cooper
1 sibling, 1 reply; 5+ messages in thread
From: Yann Dirson @ 2025-01-15 12:01 UTC (permalink / raw)
To: xen-devel
Cc: Yann Dirson, Andrew Cooper, Anthony PERARD, Michal Orzel,
Jan Beulich, Julien Grall, Roger Pau Monné,
Stefano Stabellini
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 25484a8fd8..404590c36a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,6 +62,7 @@ docs/man5/
docs/man7/
docs/man8/
docs/pdf/
+docs/sphinx/
docs/txt/
extras/
install/*
--
2.39.5
Yann Dirson | Vates Platform Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [XEN PATCH 1/2] docs/sphinx: import sys for error reporting
2025-01-15 12:01 ` [XEN PATCH 1/2] docs/sphinx: import sys for error reporting Yann Dirson
@ 2025-01-15 12:08 ` Andrew Cooper
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Cooper @ 2025-01-15 12:08 UTC (permalink / raw)
To: Yann Dirson, xen-devel
Cc: Anthony PERARD, Michal Orzel, Jan Beulich, Julien Grall,
Roger Pau Monné, Stefano Stabellini
On 15/01/2025 12:01 pm, Yann Dirson wrote:
> Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
> ---
> docs/conf.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/docs/conf.py b/docs/conf.py
> index 5d2e979449..84bec024e7 100644
> --- a/docs/conf.py
> +++ b/docs/conf.py
> @@ -21,6 +21,7 @@
> # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
>
> import sphinx
> +import sys
>
> project = u'Xen'
> copyright = u'2019-%Y, The Xen development community'
Oh, that's awkward. Older sphinx must have had sys in context, because
it did work when I initially added that check.
Any chance this can go up above the "Path setup" section, and drop the
commented out line?
~Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [XEN PATCH 2/2] docs/sphinx: gitignore generated files
2025-01-15 12:01 ` [XEN PATCH 2/2] docs/sphinx: gitignore generated files Yann Dirson
@ 2025-01-15 12:12 ` Andrew Cooper
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Cooper @ 2025-01-15 12:12 UTC (permalink / raw)
To: Yann Dirson, xen-devel
Cc: Anthony PERARD, Michal Orzel, Jan Beulich, Julien Grall,
Roger Pau Monné, Stefano Stabellini
On 15/01/2025 12:01 pm, Yann Dirson wrote:
> Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
> ---
> .gitignore | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.gitignore b/.gitignore
> index 25484a8fd8..404590c36a 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -62,6 +62,7 @@ docs/man5/
> docs/man7/
> docs/man8/
> docs/pdf/
> +docs/sphinx/
> docs/txt/
> extras/
> install/*
Thanks, although we're transitioning to per-dir .gitignore files.
Can this move into docs/.gitignore and become sphinx/ as the pattern?
If you fancy fixing all of them, that would be excellent too. See c/s
0a15b7695bd983f "tools/ocaml: Rationalise .gitignore" as an example.
~Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-01-15 12:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-15 12:01 [XEN PATCH 0/2] trivial improvements to sphinx doc tooling Yann Dirson
2025-01-15 12:01 ` [XEN PATCH 1/2] docs/sphinx: import sys for error reporting Yann Dirson
2025-01-15 12:08 ` Andrew Cooper
2025-01-15 12:01 ` [XEN PATCH 2/2] docs/sphinx: gitignore generated files Yann Dirson
2025-01-15 12:12 ` Andrew Cooper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.