View | Details | Raw Unified | Return to bug 104107
Collapse All | Expand All

(-)zh_TW.Big5/books/fdp-primer/the-website/chapter.sgml (-30 / +27 lines)
Lines 32-70 Link Here
32
-->
32
-->
33
33
34
<chapter id="the-website">
34
<chapter id="the-website">
35
  <title>The Website</title>
35
  <title>«Øºc Website</title>
36
  
36
  
37
  <sect1 id="the-website-prep">
37
  <sect1 id="the-website-prep">
38
    <title>Preparation</title>
38
    <title>¨Æ«e·Ç³Æ</title>
39
    
39
    
40
    <para>Get 200MB free disk space. You will need the disk space for the
40
    <para>½Ð¥ý·Ç³Æ¬ù 200MB ªÅ¶¡¡A³o¨Ç¬O­n¥Î¨Ó©ñ SGML ¤u¨ãµ{¦¡¡BCVS tree¡B
41
      SGML tools, a subset of the CVS tree, temporary build space and the
41
      Á{®É½sĶ¥ÎªºªÅ¶¡¡A¥H¤Î½sͦnªººô­¶¦s©ñªÅ¶¡¡C­Y¨Æ¥ý¤w¦³¸Ë SGML ¤u¨ãµ{¦¡¡B
42
      installed web pages. If you already have installed the SGML tools and
42
      CVS tree ªº¸Ü¡A¨º»ò¥u»Ý³»¦h¬ù 100MB ªÅ¶¡§Y¥i¡C</para>
43
      the CVS tree, you need only ~100MB free disk space.</para>
44
    
43
    
45
    <note>
44
    <note>
46
      <para>Make sure your documentation ports are up to date!  When in
45
      <para>½Ð½T»{¤@¤U§Aªº¬ÛÃö¤å¥ó»s§@©Ò·|¥Î¨ìªº ports ³£¬O³Ì·sª©¡I
47
	doubt, remove the old ports using &man.pkg.delete.1; command before
46
	­Y¤£²M·¡©Ò¸Ëªºª©¥»¬°¦ó¡A¨º»ò´N¥ý¥H &man.pkg.delete.1; «ü¥O¨Ó²¾°£Âª©¡A
48
	installing the port.  For example, we currently depend on
47
	±µµÛ¤~¥h¸Ë port¡C  Á|¨Ò¨Ó»¡¡A­Y¤w¸Ëªº¬O jade-1.1¡A
49
	jade-1.2 and if you have installed jade-1.1, please do:</para>
48
	¦ý¬O§Ú­Ì¥Ø«e»Ý­nªº«o¬O jade-1.2¡A¨º»ò¥ý¥Î¤U¦C¤è¦¡¨Ó²¾°£Âª©¡G</para>
50
49
51
      <screen>&prompt.root; <userinput>pkg_delete jade-1.1</userinput></screen>
50
      <screen>&prompt.root; <userinput>pkg_delete jade-1.1</userinput></screen>
52
    </note>
51
    </note>
53
52
54
    <para>Set up a CVS repository. You need the directories www, doc and
53
    <para>±µµÛ¡A´N¬O³]©w CVS repository¡C»Ý­n¦Ü¤Ö www, doc, ports ³o¤T¼Ë 
55
      ports in the CVS tree (plus the CVSROOT of course).  Please read the
54
      CVS tree(·íµMÁÙ­n¥[¤W CVSROOT)¡C  ½Ð°Ñ¾\
56
      <ulink url="&url.books.handbook;/synching.html#CVSUP">CVSup introduction</ulink>
55
      <ulink url="&url.books.handbook;/synching.html#CVSUP">CVSup ²¤¶</ulink>
57
      on how to mirror a CVS tree or parts of a CVS tree.</para>
56
      ¥HÁA¸Ñ¦p¦ó¨Ó mirror a CVS tree ©Î³¡¤À CVS tree¡C</para>
58
    
57
    
59
    <para>The essential cvsup collections are: <literal>www</literal>,
58
    <para>³Ì§C»Ý¨Dªº cvsup collections ¬°¡G<literal>www</literal>,
60
      <literal>doc-all</literal>, <literal>cvs-base</literal>, and
59
      <literal>doc-all</literal>, <literal>cvs-base</literal> ¥H¤Î
61
      <literal>ports-base</literal>.</para>
60
      <literal>ports-base</literal>¡C</para>
62
    
61
    
63
    <para>These collections require ~105MB free disk space.</para>
62
    <para>­èÁ¿ªº³o¨Ç»Ý­n¬ù 105MB ªÅ¶¡¡C</para>
64
    
63
    
65
    <para>A full CVS tree - including <literal>src</literal>,
64
    <para>¦Ó§¹¾ãªº CVS tree - ¥]¬A <literal>src</literal>,
66
      <literal>doc</literal>, <literal>www</literal>, and
65
      <literal>doc</literal>, <literal>www</literal> ¥H¤Î
67
      <literal>ports</literal> - is currently 940MB.</para>
66
      <literal>ports</literal> - ¥Ø«e¬ù¬° 940MB¡C</para>
68
  </sect1>
67
  </sect1>
69
  
68
  
70
  <sect1 id="the-website-build">
69
  <sect1 id="the-website-build">
Lines 72-94 Link Here
72
    
71
    
73
    <procedure> 
72
    <procedure> 
74
      <step>
73
      <step>
75
	<para>Create and change directory into a build directory with at least 60MB of free
74
	<para>¥ý«Ø¥ß­n½sĶªº¥Ø¿ý(¦Ü¤Ö­n¦³ 60MB ªÅ¶¡)¡A¨Ã¤Á´«¨ì¸Ó¥Ø¿ý¡C</para>
76
	  space.</para>
77
	
75
	
78
	<screen>&prompt.root; <userinput>mkdir /var/tmp/webbuild</userinput>
76
	<screen>&prompt.root; <userinput>mkdir /var/tmp/webbuild</userinput>
79
&prompt.root; <userinput>cd /var/tmp/webbuild</userinput></screen>
77
&prompt.root; <userinput>cd /var/tmp/webbuild</userinput></screen>
80
      </step>
78
      </step>
81
79
82
      <step>
80
      <step>
83
	<para>Checkout the SGML files from the CVS tree.</para>
81
	<para>±q CVS tree ¤º checkout ¬ÛÃöªº SGML ÀÉ¡C</para>
84
	
82
	
85
	<screen>&prompt.root; <userinput>cvs -R co www doc</userinput></screen>
83
	<screen>&prompt.root; <userinput>cvs -R co www doc</userinput></screen>
86
      </step>
84
      </step>
87
85
88
      <step>
86
      <step>
89
	<para>Change into the <filename role="directory">www/en</filename> directory, and run
87
	<para>¤Á¨ì <filename role="directory">www/en</filename> ¥Ø¿ý¡AµM«á¥´
90
	  the &man.make.1; <maketarget>all</maketarget> target, to create
88
	  &man.make.1; <maketarget>all</maketarget> ¨Ó²£¥Íºô­¶¡C</para>
91
	  the web pages.</para>
92
	
89
	
93
	<screen>&prompt.root; <userinput>cd en</userinput>
90
	<screen>&prompt.root; <userinput>cd en</userinput>
94
&prompt.root; <userinput>make all</userinput></screen>
91
&prompt.root; <userinput>make all</userinput></screen>

Return to bug 104107