How to write a How-To (0.3_ja1) | 2011-06-20 20:18 |
Using Forrest (0.9_ja1) | 2011-06-18 08:56 |
Using Forrestにあまり記載されていない、
$ forrest seed-business
に関するメモです。
必要事項を対話的に聞かれるので、回答していきます。
静的サイトを作成するために、次のコマンドを実行します。
$ forrest site
そのまま実行すると、いくつか「BROKEN: 」と表示されます。 必要に応じてコンテンツを作成するか、当該ページをコメントアウトすることでエラーがなくなります。
$FORREST_HOME/src/documentation/content/xdocs/site.xml (略) <!-- all label="All Team Members" href="all.html" description="The Apache Forrest JP team members organized by skill"/ --> <!-- bySkill label="Team Skills" href="allBySkill.html" description="The Apache Forrest JP team members organized by skill"/ --> <!-- withForrestSkill label="Apache Forrest" href="allWithSkill/Apache Forrest.html" description="The Apache Forrest Apache Forrest JP team members"/ --> <!-- withForrestSkill label="Technical Authoring" href="allWithSkill/Developer Manuals.html" description="The Technical Authoring Team"/ --> (略)
また、PDFに関するエラーが表示される場合、
fo:basic-link, Missing attribute: Either external-destination or internal-destination must be specified.
PDFを作成しないように設定します。
$FORREST_HOME/src/documentation/skinconf.xml (略) <disable-pdf-link>true</disable-pdf-link> (略)
これでエラーが出なくなるので、必要なコンテンツを作成していきます。