All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick DELAUNAY <patrick.delaunay@st.com>
To: u-boot@lists.denx.de
Subject: [PATCH] doc: Makefile: remove target refcheckdocs
Date: Fri, 28 Feb 2020 09:04:19 +0000	[thread overview]
Message-ID: <a86f67e4b21e4c319704d5a68d4f32ee@SFHDAG6NODE3.st.com> (raw)
In-Reply-To: <20200225184423.GK18302@bill-the-cat>

Hi Heinrich,

> From: Tom Rini <trini@konsulko.com>
> Sent: mardi 25 f?vrier 2020 19:44
> 
> On Tue, Feb 25, 2020 at 07:10:01PM +0100, Heinrich Schuchardt wrote:
> > On 2/25/20 7:00 PM, Patrick Delaunay wrote:
> > > Remove the target refcheckdocs, based on the missing script
> > > scripts/documentation-file-ref-check.
> > >
> > > This script exists in Linux tree but wasn't imported when 'doc' move
> > > to SPHINX in commit 78a88f7930be ("doc: Replace DocBook with
> > > sphinx-based docs")
> > >
> > > This patch avoids the error:
> > >
> > > make refcheckdocs
> > > /bin/sh: scripts/documentation-file-ref-check: No such file or
> > > directory
> > > doc/Makefile:102: recipe for target 'refcheckdocs' failed
> > > make[1]: *** [refcheckdocs] Error 127
> > > Makefile:2094: recipe for target 'refcheckdocs' failed
> > > make: *** [refcheckdocs] Error 2
> > >
> > > Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> >
> > When we copy and adjust the missing script we can identify dozens of
> > documentation errors, see below. So I think we should fix the make
> > target instead of removing it.
> >
> > arch/arm/mach-imx/Kconfig: doc/README.mxc_hab
> > arch/arm/mach-imx/Kconfig: doc/README.mxc_hab
> > board/advantech/dms-ba16/dms-ba16_1g.cfg: doc/README.imximage
> > board/advantech/dms-ba16/dms-ba16_2g.cfg: doc/README.imximage
> > board/aristainetos/aristainetos2.cfg: doc/README.imximage
> > board/bachmann/ot1200/mx6q_4x_mt41j128.cfg: doc/README.imximage
> > board/barco/titanium/imximage.cfg: doc/README.imximage
> > board/boundary/nitrogen6x/nitrogen6dl.cfg: doc/README.imximage
> > board/boundary/nitrogen6x/nitrogen6dl2g.cfg: doc/README.imximage
> > board/boundary/nitrogen6x/nitrogen6q.cfg: doc/README.imximage
> > board/boundary/nitrogen6x/nitrogen6q2g.cfg: doc/README.imximage
> > board/boundary/nitrogen6x/nitrogen6s.cfg: doc/README.imximage
> > board/boundary/nitrogen6x/nitrogen6s1g.cfg: doc/README.imximage
> > board/ccv/xpress/imximage.cfg: doc/README.imximage
> > board/cobra5272/README: u-boot-x-x-x/doc/README.COBRA5272
> > board/freescale/imx8qxp_mek/imximage.cfg: doc/README.imx8image
> > board/freescale/m52277evb/README: doc/README.m52277evb
> > board/freescale/m53017evb/README: doc/README.m53017evb
> > board/freescale/m5373evb/README: doc/README.m5373evb
> > board/freescale/m54455evb/README: doc/README.m54455evb
> > board/freescale/m547xevb/README: doc/README.m5475evb
> > board/freescale/mx25pdk/imximage.cfg: doc/README.imximage
> > board/freescale/mx51evk/imximage.cfg: doc/README.imximage
> > board/freescale/mx53ard/imximage_dd3.cfg: doc/README.imximage
> > board/freescale/mx53evk/imximage.cfg: doc/README.imximage
> > board/freescale/mx53loco/imximage.cfg: doc/README.imximage
> > board/freescale/mx53smd/imximage.cfg: doc/README.imximage
> > board/freescale/mx6qarm2/imximage.cfg: doc/README.imximage
> > board/freescale/mx6qarm2/imximage_mx6dl.cfg: doc/README.imximage
> > board/freescale/mx6slevk/imximage.cfg: doc/README.imximage
> > board/freescale/mx6ullevk/imximage.cfg: doc/README.imximage
> > board/freescale/mx7dsabresd/imximage.cfg: doc/README.imximage
> > board/freescale/s32v234evb/s32v234evb.cfg: doc/README.imximage
> > board/freescale/vf610twr/imximage.cfg: doc/README.imximage
> > board/ge/bx50v3/bx50v3.cfg: doc/README.imximage
> > board/ge/mx53ppd/imximage.cfg: doc/README.imximage
> > board/menlo/m53menlo/imximage.cfg: doc/README.imximage
> > board/phytec/pcm052/imximage.cfg: doc/README.imximage
> > board/seco/mx6quq7/mx6quq7-2g.cfg: doc/README.imximage
> > board/siemens/capricorn/imximage.cfg: doc/README.imx8image
> > board/technexion/pico-imx6ul/imximage.cfg: doc/README.imximage
> > board/toradex/apalis-imx8/apalis-imx8qm-imximage.cfg:
> > doc/README.imx8image
> > board/toradex/colibri-imx6ull/imximage.cfg: doc/README.imximage
> > board/toradex/colibri-imx8x/colibri-imx8qxp-imximage.cfg:
> > doc/README.imx8image
> > board/toradex/colibri_imx7/imximage.cfg: doc/README.imximage
> > board/toradex/colibri_vf/imximage.cfg: doc/README.imximage
> > board/tqc/tqma6/clocks.cfg: doc/README.imximage
> > board/tqc/tqma6/tqma6dl.cfg: doc/README.imximage
> > board/tqc/tqma6/tqma6q.cfg: doc/README.imximage
> > board/tqc/tqma6/tqma6s.cfg: doc/README.imximage
> > board/warp/imximage.cfg: doc/README.imximage
> > board/warp7/imximage.cfg: doc/README.imximage
> > cmd/Kconfig: doc/README.beddbug
> > doc/README.drivers.eth: doc/driver-model/README.txt
> > doc/README.fdt-control: doc/driver-model/README.txt
> > doc/device-tree-bindings/net/ti,dp83867.txt:
> > doc/devicetree/bindings/net/ethernet.txt
> > doc/device-tree-bindings/video/rockchip-lvds.txt:
> > doc/devicetree/device-tree-bindings/video/display-timing.txt
> > doc/imx/misc/sdp.txt: doc/README.imximage
> > doc/sphinx/parse-headers.pl: doc/doc-guide/parse-headers.rst
> > doc/sphinx/rstFlatTable.py: doc/books/kernel-doc-HOWTO
> > drivers/i2c/davinci_i2c.c: doc/driver-model/i2c-howto.txt
> > drivers/i2c/kona_i2c.c: doc/driver-model/i2c-howto.txt
> > drivers/i2c/sh_i2c.c: doc/driver-model/i2c-howto.txt
> > drivers/i2c/soft_i2c.c: doc/driver-model/i2c-howto.txt
> > drivers/rtc/ds1374.c: Watchdoc/Alarm
> > include/ata.h: ftp://ftp.fee.vutbr.cz/pub/doc/io/ata/ata-3/ata3r5v.zip
> > include/configs/sbc8548.h: doc/README.sbc8548
> > include/fsl_qe.h: doc/README.qe_firmware
> > lib/zlib/trees.c: ftp.uu.net:/pub/archiving/zip/doc/deflate-1.1.doc
> > tools/dtoc/dtb_platdata.py: doc/driver-model/of-plat.txt
> > tools/dtoc/dtoc.py: doc/driver-model/of-plat.txt
> 
> Agreed.  And then make new errors a CI fatal?  Thanks!

Agreed also.
I did not have the courage to do it (in fact: I started, but I did not succeed and I give up)

FYI: that can't be CI fatal today, because the current script give too many false positive

For example : 
	board/aristainetos/aristainetos2.cfg: doc/README.imximage
	cmd/Kconfig: doc/README.beddbug

	=> these file exist

Thanks

> --
> Tom

      reply	other threads:[~2020-02-28  9:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-25 18:00 [PATCH] doc: Makefile: remove target refcheckdocs Patrick Delaunay
2020-02-25 18:10 ` Heinrich Schuchardt
2020-02-25 18:44   ` Tom Rini
2020-02-28  9:04     ` Patrick DELAUNAY [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a86f67e4b21e4c319704d5a68d4f32ee@SFHDAG6NODE3.st.com \
    --to=patrick.delaunay@st.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.