[OPEN-ILS-DOCUMENTATION] FW: [Bug 1374903] [NEW] Docs - Image error in 2.7 reports enhancment docs
Angela Kilsdonk
akilsdonk at esilibrary.com
Thu Oct 2 11:45:56 EDT 2014
Hi,
I pushed a commit to fix this by changing the image to jpg for
consistency. Thanks for catching this. I'm unable to log in to Launchpad
at the moment to update the bug, but will do so.
Thanks,
Angela
On Wed, Oct 1, 2014 at 7:28 PM, Josh Stompro <stomproj at exchange.larl.org>
wrote:
> Here is one more, this one goes through the images to check to see if each
> one is used in the documentation. There are 400 images that are not used
> right now. LP#1374453
>
> for i in `ls media/*.*`; do fgrep -q -r "$i" --exclude-dir="/media" ||
> echo "Not Found - $i"; done
>
> Josh
>
> -----Original Message-----
> From: open-ils-documentation-bounces at list.georgialibraries.org [mailto:
> open-ils-documentation-bounces at list.georgialibraries.org] On Behalf Of
> Remington Steed
> Sent: Wednesday, October 01, 2014 3:35 PM
> To: Documentation discussion for Evergreen software
> Subject: [OPEN-ILS-DOCUMENTATION] FW: [Bug 1374903] [NEW] Docs - Image
> error in 2.7 reports enhancment docs
>
> Robert (and others),
>
> Josh provides a useful bash command in the bug report below, and I wonder
> if it could be incorporated into the nightly docs build (outputting to
> anywhere you would notice, even emailing the DIG list). It gets us one
> step closer to the kind of process used to test Evergreen code after every
> commit, which I think would be a great goal. What do you think?
>
> From Josh:
> 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.
>
> 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
> > 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
> > enhancment docs
> >
> > Public bug reported:
> >
> > Just noticed that one of the "2.7_Enhancements_to_Reports" images
> > under docs/media is a .png, while all the rest are .jpg.
> >
> > docs/media/2.7_Enhancements_to_Reports5.png
> >
> > In docs/reports/reporter_generating_reports.txt it is referenced as a
> > .jpg, so it doesn't show up.
> >
> > The line is:
> > :image::media/2.7_Enhancements_to_Reports5.jpg[Reports5]
> >
> > 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.
> >
> > for i in `egrep -roh "media/.*\.(JPG|jpg|png|PNG)" | sort | uniq `; do
> > [ -f $i ] || echo "File $i not found" ; done
> >
> > 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.
> >
> > Josh
> >
> > ** Affects: evergreen
> > Importance: Undecided
> > Status: New
> >
> >
> > ** Tags: bitesize-doc documentation
> >
> > --
> > You received this bug notification because you are a member of
> > Evergreen Bug Wranglers, which is subscribed to Evergreen.
> > https://bugs.launchpad.net/bugs/1374903
> >
> > Title:
> > Docs - Image error in 2.7 reports enhancment docs
> >
> > Status in Evergreen - Open ILS:
> > New
> >
> > 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.
> >
> > docs/media/2.7_Enhancements_to_Reports5.png
> >
> > In docs/reports/reporter_generating_reports.txt it is referenced as a
> > .jpg, so it doesn't show up.
> >
> > The line is:
> > :image::media/2.7_Enhancements_to_Reports5.jpg[Reports5]
> >
> > 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.
> >
> > for i in `egrep -roh "media/.*\.(JPG|jpg|png|PNG)" | sort | uniq `; do
> > [ -f $i ] || echo "File $i not found" ; done
> >
> > 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.
> >
> > Josh
> >
> > 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
> _______________________________________________
> OPEN-ILS-DOCUMENTATION mailing list
> OPEN-ILS-DOCUMENTATION at list.georgialibraries.org
> http://list.georgialibraries.org/mailman/listinfo/open-ils-documentation
>
--
Angela Kilsdonk
Education Manager
Equinox Software Inc. / The Open Source Experts
1-877-OPEN-ILS (673-6457)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.georgialibraries.org/pipermail/open-ils-documentation/attachments/20141002/b7eade8d/attachment-0001.htm>
More information about the OPEN-ILS-DOCUMENTATION
mailing list