* Building htmldocs
@ 2021-08-05 15:41 Simon Glass
2021-08-05 15:54 ` Heinrich Schuchardt
0 siblings, 1 reply; 7+ messages in thread
From: Simon Glass @ 2021-08-05 15:41 UTC (permalink / raw)
To: U-Boot Mailing List; +Cc: Heinrich Schuchardt, Tom Rini
Hi,
I cannot do this at present:
$ make htmldocs
doc/board/freescale/b4860qds.rst:170:duplicate label
board/freescale/b4860qds:switch settings, other instance in
doc/board/freescale/b4860qds.rst
Regards,
Simon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building htmldocs
2021-08-05 15:41 Building htmldocs Simon Glass
@ 2021-08-05 15:54 ` Heinrich Schuchardt
2021-08-05 15:59 ` Tom Rini
0 siblings, 1 reply; 7+ messages in thread
From: Heinrich Schuchardt @ 2021-08-05 15:54 UTC (permalink / raw)
To: Simon Glass; +Cc: Tom Rini, U-Boot Mailing List
On 05.08.21 17:41, Simon Glass wrote:
> Hi,
>
> I cannot do this at present:
>
> $ make htmldocs
> doc/board/freescale/b4860qds.rst:170:duplicate label
> board/freescale/b4860qds:switch settings, other instance in
> doc/board/freescale/b4860qds.rst
Hello Simon,
that is for origin/master? I am not able to reproduce it there.
Which version of python3-sphinx are you using? We require at least:
doc/sphinx/requirements.txt:2:Sphinx==2.4.4
Best regards
Heinrich
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building htmldocs
2021-08-05 15:54 ` Heinrich Schuchardt
@ 2021-08-05 15:59 ` Tom Rini
2021-08-05 16:02 ` Simon Glass
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rini @ 2021-08-05 15:59 UTC (permalink / raw)
To: Heinrich Schuchardt; +Cc: Simon Glass, U-Boot Mailing List
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
On Thu, Aug 05, 2021 at 05:54:52PM +0200, Heinrich Schuchardt wrote:
>
>
> On 05.08.21 17:41, Simon Glass wrote:
> > Hi,
> >
> > I cannot do this at present:
> >
> > $ make htmldocs
> > doc/board/freescale/b4860qds.rst:170:duplicate label
> > board/freescale/b4860qds:switch settings, other instance in
> > doc/board/freescale/b4860qds.rst
>
> Hello Simon,
>
> that is for origin/master? I am not able to reproduce it there.
>
> Which version of python3-sphinx are you using? We require at least:
> doc/sphinx/requirements.txt:2:Sphinx==2.4.4
The check for too old a Sphinx needs to be fatal and not a WARNING I
believe.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building htmldocs
2021-08-05 15:59 ` Tom Rini
@ 2021-08-05 16:02 ` Simon Glass
2021-08-05 16:04 ` Tom Rini
0 siblings, 1 reply; 7+ messages in thread
From: Simon Glass @ 2021-08-05 16:02 UTC (permalink / raw)
To: Tom Rini; +Cc: Heinrich Schuchardt, U-Boot Mailing List
Hi,
On Thu, 5 Aug 2021 at 09:59, Tom Rini <trini@konsulko.com> wrote:
>
> On Thu, Aug 05, 2021 at 05:54:52PM +0200, Heinrich Schuchardt wrote:
> >
> >
> > On 05.08.21 17:41, Simon Glass wrote:
> > > Hi,
> > >
> > > I cannot do this at present:
> > >
> > > $ make htmldocs
> > > doc/board/freescale/b4860qds.rst:170:duplicate label
> > > board/freescale/b4860qds:switch settings, other instance in
> > > doc/board/freescale/b4860qds.rst
> >
> > Hello Simon,
> >
> > that is for origin/master? I am not able to reproduce it there.
Yes.
> >
> > Which version of python3-sphinx are you using? We require at least:
> > doc/sphinx/requirements.txt:2:Sphinx==2.4.4
OK I see. I uninstalled the Ubuntu one and installed this and it works
now, thanks!
What feature do we need from the newer version? I was using 1.8.5
>
> The check for too old a Sphinx needs to be fatal and not a WARNING I
> believe.
Actually I didn't even see a warning.
Regards
Simon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building htmldocs
2021-08-05 16:02 ` Simon Glass
@ 2021-08-05 16:04 ` Tom Rini
2021-08-05 16:17 ` Simon Glass
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rini @ 2021-08-05 16:04 UTC (permalink / raw)
To: Simon Glass; +Cc: Heinrich Schuchardt, U-Boot Mailing List
[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]
On Thu, Aug 05, 2021 at 10:02:31AM -0600, Simon Glass wrote:
> Hi,
>
> On Thu, 5 Aug 2021 at 09:59, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Thu, Aug 05, 2021 at 05:54:52PM +0200, Heinrich Schuchardt wrote:
> > >
> > >
> > > On 05.08.21 17:41, Simon Glass wrote:
> > > > Hi,
> > > >
> > > > I cannot do this at present:
> > > >
> > > > $ make htmldocs
> > > > doc/board/freescale/b4860qds.rst:170:duplicate label
> > > > board/freescale/b4860qds:switch settings, other instance in
> > > > doc/board/freescale/b4860qds.rst
> > >
> > > Hello Simon,
> > >
> > > that is for origin/master? I am not able to reproduce it there.
>
> Yes.
>
> > >
> > > Which version of python3-sphinx are you using? We require at least:
> > > doc/sphinx/requirements.txt:2:Sphinx==2.4.4
>
> OK I see. I uninstalled the Ubuntu one and installed this and it works
> now, thanks!
>
> What feature do we need from the newer version? I was using 1.8.5
>
> >
> > The check for too old a Sphinx needs to be fatal and not a WARNING I
> > believe.
>
> Actually I didn't even see a warning.
The warning says that you need at least 1.7 or greater. I still have
1.6.7 from the distribution.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building htmldocs
2021-08-05 16:04 ` Tom Rini
@ 2021-08-05 16:17 ` Simon Glass
2021-08-05 16:26 ` Tom Rini
0 siblings, 1 reply; 7+ messages in thread
From: Simon Glass @ 2021-08-05 16:17 UTC (permalink / raw)
To: Tom Rini; +Cc: Heinrich Schuchardt, U-Boot Mailing List
Hi,
On Thu, 5 Aug 2021 at 10:04, Tom Rini <trini@konsulko.com> wrote:
>
> On Thu, Aug 05, 2021 at 10:02:31AM -0600, Simon Glass wrote:
> > Hi,
> >
> > On Thu, 5 Aug 2021 at 09:59, Tom Rini <trini@konsulko.com> wrote:
> > >
> > > On Thu, Aug 05, 2021 at 05:54:52PM +0200, Heinrich Schuchardt wrote:
> > > >
> > > >
> > > > On 05.08.21 17:41, Simon Glass wrote:
> > > > > Hi,
> > > > >
> > > > > I cannot do this at present:
> > > > >
> > > > > $ make htmldocs
> > > > > doc/board/freescale/b4860qds.rst:170:duplicate label
> > > > > board/freescale/b4860qds:switch settings, other instance in
> > > > > doc/board/freescale/b4860qds.rst
> > > >
> > > > Hello Simon,
> > > >
> > > > that is for origin/master? I am not able to reproduce it there.
> >
> > Yes.
> >
> > > >
> > > > Which version of python3-sphinx are you using? We require at least:
> > > > doc/sphinx/requirements.txt:2:Sphinx==2.4.4
> >
> > OK I see. I uninstalled the Ubuntu one and installed this and it works
> > now, thanks!
> >
> > What feature do we need from the newer version? I was using 1.8.5
> >
> > >
> > > The check for too old a Sphinx needs to be fatal and not a WARNING I
> > > believe.
> >
> > Actually I didn't even see a warning.
>
> The warning says that you need at least 1.7 or greater. I still have
> 1.6.7 from the distribution.
This is what I saw (i.e. I cannot see the warning):
make htmldocs
SPHINX htmldocs -->
file:///scratch/sglass/cosarm/src/third_party/u-boot/files/doc/output
PARSE include/linker_lists.h
Running Sphinx v1.8.5
enabling CJK for LaTeX builder
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 230 source files that are out of date
updating environment: 230 added, 0 changed, 0 removed
reading sources... [100%] usage/x86/cbsysinfo
Warning, treated as error:
/scratch/sglass/cosarm/src/third_party/u-boot/files/doc/board/freescale/b4860qds.rst:170:duplicate
label board/freescale/b4860qds:switch settings, other instance in
/scratch/sglass/cosarm/src/third_party/u-boot/files/doc/board/freescale/b4860qds.rst
make[1]: *** [doc/Makefile:68: htmldocs] Error 2
make: *** [Makefile:2237: htmldocs] Error 2
Regards,
Simon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building htmldocs
2021-08-05 16:17 ` Simon Glass
@ 2021-08-05 16:26 ` Tom Rini
0 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2021-08-05 16:26 UTC (permalink / raw)
To: Heinrich Schuchardt; +Cc: Simon Glass, U-Boot Mailing List
[-- Attachment #1: Type: text/plain, Size: 3167 bytes --]
On Thu, Aug 05, 2021 at 10:17:19AM -0600, Simon Glass wrote:
> Hi,
>
> On Thu, 5 Aug 2021 at 10:04, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Thu, Aug 05, 2021 at 10:02:31AM -0600, Simon Glass wrote:
> > > Hi,
> > >
> > > On Thu, 5 Aug 2021 at 09:59, Tom Rini <trini@konsulko.com> wrote:
> > > >
> > > > On Thu, Aug 05, 2021 at 05:54:52PM +0200, Heinrich Schuchardt wrote:
> > > > >
> > > > >
> > > > > On 05.08.21 17:41, Simon Glass wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I cannot do this at present:
> > > > > >
> > > > > > $ make htmldocs
> > > > > > doc/board/freescale/b4860qds.rst:170:duplicate label
> > > > > > board/freescale/b4860qds:switch settings, other instance in
> > > > > > doc/board/freescale/b4860qds.rst
> > > > >
> > > > > Hello Simon,
> > > > >
> > > > > that is for origin/master? I am not able to reproduce it there.
> > >
> > > Yes.
> > >
> > > > >
> > > > > Which version of python3-sphinx are you using? We require at least:
> > > > > doc/sphinx/requirements.txt:2:Sphinx==2.4.4
> > >
> > > OK I see. I uninstalled the Ubuntu one and installed this and it works
> > > now, thanks!
> > >
> > > What feature do we need from the newer version? I was using 1.8.5
> > >
> > > >
> > > > The check for too old a Sphinx needs to be fatal and not a WARNING I
> > > > believe.
> > >
> > > Actually I didn't even see a warning.
> >
> > The warning says that you need at least 1.7 or greater. I still have
> > 1.6.7 from the distribution.
>
> This is what I saw (i.e. I cannot see the warning):
>
> make htmldocs
> SPHINX htmldocs -->
> file:///scratch/sglass/cosarm/src/third_party/u-boot/files/doc/output
> PARSE include/linker_lists.h
> Running Sphinx v1.8.5
> enabling CJK for LaTeX builder
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 230 source files that are out of date
> updating environment: 230 added, 0 changed, 0 removed
> reading sources... [100%] usage/x86/cbsysinfo
>
> Warning, treated as error:
> /scratch/sglass/cosarm/src/third_party/u-boot/files/doc/board/freescale/b4860qds.rst:170:duplicate
> label board/freescale/b4860qds:switch settings, other instance in
> /scratch/sglass/cosarm/src/third_party/u-boot/files/doc/board/freescale/b4860qds.rst
> make[1]: *** [doc/Makefile:68: htmldocs] Error 2
> make: *** [Makefile:2237: htmldocs] Error 2
In a real quick test, if we do:
diff --git a/doc/conf.py b/doc/conf.py
index eb74b86aefba..1485bfb7329e 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -31,7 +31,7 @@ from load_config import loadConfig
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
-needs_sphinx = '1.3'
+needs_sphinx = '2.4'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
It's now a fatal error. Heinrich, can you please post a patch to update
this to the real minimum required version and drop the bit about 1.7 or
later with v2021.04? Thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-08-05 16:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 15:41 Building htmldocs Simon Glass
2021-08-05 15:54 ` Heinrich Schuchardt
2021-08-05 15:59 ` Tom Rini
2021-08-05 16:02 ` Simon Glass
2021-08-05 16:04 ` Tom Rini
2021-08-05 16:17 ` Simon Glass
2021-08-05 16:26 ` Tom Rini
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.