No subject


Fri Dec 14 15:48:43 EST 2012


Here is a one line bash command that checks to make sure all the image link=
s are correct.  This could be added to the documentation Q/A procedure.

for i in `egrep -roh "media/.*\.(JPG|jpg|png|PNG)" | sort | uniq `; do [ -f=
 $i ] || echo "File $i not found" ; done

--
Remington Steed
Electronic Resources Specialist
Hekman Library, Calvin College
http://library.calvin.edu/

> -----Original Message-----
> From: bounces at canonical.com [mailto:bounces at canonical.com] On Behalf=20
> Of Josh Stompro
> Sent: Saturday, September 27, 2014 11:53 PM
> To: Remington Steed
> Subject: [Bug 1374903] [NEW] Docs - Image error in 2.7 reports=20
> enhancment docs
>=20
> Public bug reported:
>=20
> Just noticed that one of the "2.7_Enhancements_to_Reports" images=20
> under docs/media is a .png, while all the rest are .jpg.
>=20
> docs/media/2.7_Enhancements_to_Reports5.png
>=20
> In docs/reports/reporter_generating_reports.txt it is referenced as a=20
> .jpg, so it doesn't show up.
>=20
> The line is:
> :image::media/2.7_Enhancements_to_Reports5.jpg[Reports5]
>=20
> Here is a one line bash command that checks to make sure all the image=20
> links are correct.  This could be added to the documentation Q/A=20
> procedure.
>=20
> for i in `egrep -roh "media/.*\.(JPG|jpg|png|PNG)" | sort | uniq `; do=20
> [ -f $i ] || echo "File $i not found" ; done
>=20
> I'm not sure if the fix for this should be changing the image to a jpg=20
> or just fixing the link in the asciidoc file.
>=20
> Josh
>=20
> ** Affects: evergreen
>      Importance: Undecided
>          Status: New
>=20
>=20
> ** Tags: bitesize-doc documentation
>=20
> --
> You received this bug notification because you are a member of=20
> Evergreen Bug Wranglers, which is subscribed to Evergreen.
> https://bugs.launchpad.net/bugs/1374903
>=20
> Title:
>   Docs - Image error in 2.7 reports enhancment docs
>=20
> Status in Evergreen - Open ILS:
>   New
>=20
> Bug description:
>   Just noticed that one of the "2.7_Enhancements_to_Reports" images
>   under docs/media is a .png, while all the rest are .jpg.
>=20
>   docs/media/2.7_Enhancements_to_Reports5.png
>=20
>   In docs/reports/reporter_generating_reports.txt it is referenced as a
>   .jpg, so it doesn't show up.
>=20
>   The line is:
>   :image::media/2.7_Enhancements_to_Reports5.jpg[Reports5]
>=20
>   Here is a one line bash command that checks to make sure all the image
>   links are correct.  This could be added to the documentation Q/A
>   procedure.
>=20
>   for i in `egrep -roh "media/.*\.(JPG|jpg|png|PNG)" | sort | uniq `; do
>   [ -f $i ] || echo "File $i not found" ; done
>=20
>   I'm not sure if the fix for this should be changing the image to a jpg
>   or just fixing the link in the asciidoc file.
>=20
>   Josh
>=20
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/evergreen/+bug/1374903/+subscriptions
_______________________________________________
OPEN-ILS-DOCUMENTATION mailing list
OPEN-ILS-DOCUMENTATION at list.georgialibraries.org
http://list.georgialibraries.org/mailman/listinfo/open-ils-documentation


More information about the OPEN-ILS-DOCUMENTATION mailing list