Forrest
  1. Forrest
  2. FOR-840

[PATCH] FAQ - Standalone Document from Command Line

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.8
    • Labels:
      None
    • Urgency:
      Normal
    • Other Info:
      Patch available

      Description

      [clay@Clays-PB trunk]$ svn diff
      Index: site-author/content/xdocs/docs_0_80/faq.xml
      ===================================================================
      --- site-author/content/xdocs/docs_0_80/faq.xml (revision 387265)
      +++ site-author/content/xdocs/docs_0_80/faq.xml (working copy)
      @@ -111,15 +111,36 @@
                 you want. Forrest will build that page, then of course
                 it will keep crawling links from there. It might be
                 confined to a sub-directory, but depending on links
      - could end up generating the whole site.
      + could end up generating the whole site. The main
      + thing is that your page of interest is built first.
               </p>
       
      + <note>
      + You can make this change <strong>temporarily</strong>
      + by running Forrest from the Command Line Interface
      + (CLI) as follows:<br /><br />
      + <source>
      + forrest -Dproject.start-uri=index.html
      + </source>
      + </note>
      +
               <p>
      - The main thing is that your page of interest is built first.
                 You can terminate forrest with 'kill' or Ctrl-C after it
      - has built your pages of interest.
      + has built your page(s) of interest.
               </p>
       
      + <warning>If you use this method, be <strong>very</strong> careful,
      + as it is a very early stage development. It does not guarantee a
      + completely built site, it only saves the page you are viewing.
      + This is fine if the skin, <code>site.xml</code> and
      + <code>tabs.xml</code> remain unchanged (<em>i.e.</em>, only the
      + body has changed), but if any of those files have changed you
      + will need to do a full forrest site.<br /><br />
      +
      + This is a really important new feature and we really need help
      + developing it.
      + </warning>
      +
               <p>
                 Cocoon can be instructed via the
                 <link href="#cli-xconf">Cocoon cli.xconf</link> file to not

        Activity

        Hide
        David Crossley added a comment -
        Please attach the patch rather than copy inline, and choose the "grant license" option at the "Attachment screen".

        Is FOR-841 an accident?
        Show
        David Crossley added a comment - Please attach the patch rather than copy inline, and choose the "grant license" option at the "Attachment screen". Is FOR-841 an accident?
        Hide
        Clay Leeds added a comment -
        Sorry... FOR-841 was a mistake.
        Show
        Clay Leeds added a comment - Sorry... FOR-841 was a mistake.
        Hide
        David Crossley added a comment -
        Regarding the warning note that you added, i think that you misinterpreted Ross' comments in the email thread. The warning was about using the new whiteboard plugin called "org.apache.forrest.plugin.internal.DevTools".
        Show
        David Crossley added a comment - Regarding the warning note that you added, i think that you misinterpreted Ross' comments in the email thread. The warning was about using the new whiteboard plugin called "org.apache.forrest.plugin.internal.DevTools".
        Hide
        Clay Leeds added a comment -
        You're right... I thought it was strange, since I'd used the 'start-uri' command before...
        Show
        Clay Leeds added a comment - You're right... I thought it was strange, since I'd used the 'start-uri' command before...
        Hide
        David Crossley added a comment -
        Thanks. Applied your patch but made some changes:
        * Removed the warning as discussed.
        * Changed the Note to a simple paragraph (not important enough to warrant a Note) and fix xml validation.
        Show
        David Crossley added a comment - Thanks. Applied your patch but made some changes: * Removed the warning as discussed. * Changed the Note to a simple paragraph (not important enough to warrant a Note) and fix xml validation.

          People

          • Assignee:
            David Crossley
            Reporter:
            Clay Leeds
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development