Re: [poly_collection] Doc not being automatically built

Joaquin M López Muñoz via Boost-docs <[email protected]> Tue, 6 Jun 2017 19:38:47 +0200
Newsgroups gmane.comp.lib.boost.documentation
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============6653071925513718289==
Content-Type: multipart/alternative;
 boundary="------------420AF4212FA66089491D9875"

This is a multi-part message in MIME format.
--------------420AF4212FA66089491D9875
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

El 06/06/2017 a las 16:31, Rene Rivera via Boost-docs escribió:
> On Tue, Jun 6, 2017 at 7:28 AM, Joaquin M López Muñoz via Boost-docs 
> <[email protected] <mailto:[email protected]>> wrote:
>
>
>     For some reason images are not being copied in the process, see
>     for example:
>
>     http://www.boost.org/doc/libs/develop/doc/html/poly_collection/an_efficient_polymorphic_data_st.html
>     <http://www.boost.org/doc/libs/develop/doc/html/poly_collection/an_efficient_polymorphic_data_st.html>
>
>     The first broken image URL is
>
>     http://www.boost.org/doc/libs/develop/doc/html/img/ptr_vector.png
>     <http://www.boost.org/doc/libs/develop/doc/html/img/ptr_vector.png>
>
>     which for whatever reason is not there. The image copy action is
>
>       # HTML dependencies for standalone docs.
>       install images : [ glob img/*.png ] : <location>html/img ;
>       explicit images ;
>
>     referred to in
>
>       alias boostdoc : poly_collection : : <dependency>images ;
>
>     FWIW, image copying is succesful when buiilding standalone:
>
>       boostbook standalone
>         : poly_collection
>         :
>           <xsl:param>boost.defaults=Boost
>           <xsl:param>boost.image.src=img/boost.png
>           <xsl:param>boost.root=http://www.boost.org/doc/libs/release
>     <http://www.boost.org/doc/libs/release>
>           #<xsl:param>boost.root=../../../..
>           <dependency>images
>       ;
>
>     1. Any clue what's going on?
>
>
> Yes.. You should copy it to the common root/doc/html directory instead.

How's that? The same images rule, when building standalone, copies images to
html/img/, next to html/poly_collection/, so it seems to me that this 
exactly maps
to <root>/doc/html/img/ when in building boostdoc, right? What am I 
missing here?

Shot in the dark: is the alias OK with respect to dependcy on images?

   alias boostdoc : poly_collection : : <dependency>images ;

Joaquín M López Muñoz

--------------420AF4212FA66089491D9875
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">El 06/06/2017 a las 16:31, Rene Rivera
      via Boost-docs escribió:<br>
    </div>
    <blockquote
cite="mid:CAHEh_GifBzyxKT4tyJBbUnd1FL59bHY_5qk+gOk718vgxF+Y7Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Tue, Jun 6, 2017 at 7:28 AM,
            Joaquin M López Muñoz via Boost-docs <span dir="ltr">&lt;<a
                moz-do-not-send="true"
                href="mailto:[email protected]" target="_blank">[email protected]</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
              <div bgcolor="#FFFFFF" text="#000000"><span class=""></span>For
                some reason images are not being copied in the process,
                see for example:<br>
                <br>
                <a moz-do-not-send="true"
                  class="m_-1115411366333215280moz-txt-link-freetext"
href="http://www.boost.org/doc/libs/develop/doc/html/poly_collection/an_efficient_polymorphic_data_st.html"
                  target="_blank">http://www.boost.org/doc/libs/<wbr>develop/doc/html/poly_<wbr>collection/an_efficient_<wbr>polymorphic_data_st.html</a><br>
                <br>
                The first broken image URL is<br>
                <br>
                <a moz-do-not-send="true"
                  class="m_-1115411366333215280moz-txt-link-freetext"
                  href="http://www.boost.org/doc/libs/develop/doc/html/img/ptr_vector.png"
                  target="_blank">http://www.boost.org/doc/libs/<wbr>develop/doc/html/img/ptr_<wbr>vector.png</a><br>
                <br>
                which for whatever reason is not there. The image copy
                action is<br>
                <br>
                  # HTML dependencies for standalone docs.<br>
                  install images : [ glob img/*.png ] :
                &lt;location&gt;html/img ;<br>
                  explicit images ;<br>
                <br>
                referred to in <br>
                <br>
                  alias boostdoc : poly_collection : :
                &lt;dependency&gt;images ;<br>
                <br>
                FWIW, image copying is succesful when buiilding
                standalone:<br>
                <br>
                  boostbook standalone<br>
                    : poly_collection<br>
                    : <br>
                      &lt;xsl:param&gt;boost.defaults=<wbr>Boost<br>
                      &lt;xsl:param&gt;boost.image.src=<wbr>img/boost.png<br>
                      &lt;xsl:param&gt;boost.root=<a
                  moz-do-not-send="true"
                  class="m_-1115411366333215280moz-txt-link-freetext"
                  href="http://www.boost.org/doc/libs/release"
                  target="_blank">http://<wbr>www.boost.org/doc/libs/release</a><br>
                      #&lt;xsl:param&gt;boost.root=../../.<wbr>./..<br>
                      &lt;dependency&gt;images<br>
                  ;<br>
                <br>
                1. Any clue what's going on?<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Yes.. You should copy it to the common root/doc/html
              directory instead.</div>
            <div> </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    How's that? The same images rule, when building standalone, copies
    images to<br>
    html/img/, next to html/poly_collection/, so it seems to me that
    this exactly maps<br>
    to &lt;root&gt;/doc/html/img/ when in building boostdoc, right? What
    am I missing here?<br>
    <br>
    Shot in the dark: is the alias OK with respect to dependcy on
    images?<br>
    <br>
      alias boostdoc : poly_collection : : &lt;dependency&gt;images ;<br>
    <br>
    Joaquín M López Muñoz<br>
  </body>
</html>

--------------420AF4212FA66089491D9875--

--===============6653071925513718289==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Boost-docs mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-docs

--===============6653071925513718289==--