- Timestamp:
- 03/08/09 23:42:34 (4 years ago)
- Location:
- docs/ray_aero/2009-03-04-doclist
- Files:
-
- 3 modified
-
coderepos_docs.html (modified) (1 diff)
-
coderepos_index.html (modified) (1 diff)
-
desclist2index.rb (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
docs/ray_aero/2009-03-04-doclist/coderepos_docs.html
r30956 r30960 15 15 </dl></li><br /> 16 16 </ul> 17 <br /> 18 <div align="center"><a href="coderepos_index.html">戻る</a></div> 17 19 </body> 18 20 </html> -
docs/ray_aero/2009-03-04-doclist/coderepos_index.html
r30955 r30960 12 12 <div class="even"><li><a href="coderepos_docs.html">docs</a></li></div> 13 13 </ul> 14 <hr /> 15 このリストは毎朝 5:00更新です。<br /> 16 プロジェクトのフォルダに,中に説明文(先頭一行のみ有効)を書いた 17 DESCRIPTION ファイルを 18 (http://svn.coderepos.org/share/xxxx/yyyy/zzzz/DESCRIPTION のように) 19 置くことでリストに掲載されます。<br /> 20 例:<a href="http://svn.coderepos.org/share/docs/ray_aero/2009-03-04-doclist/DESCRIPTION">http://svn.coderepos.org/share/docs/ray_aero/2009-03-04-doclist/DESCRIPTION</a><br /> 21 また、DESCRIPTION ファイルを消すと、リストから削除されます。<br /> 22 <br /> 23 ぜひファイルを作って、プロジェクトの紹介に役立ててください。<br /> 14 24 </body> 15 25 </html> -
docs/ray_aero/2009-03-04-doclist/desclist2index.rb
r30956 r30960 39 39 end 40 40 41 def write_close(f )41 def write_close(f, out) 42 42 f.puts "</ul>" 43 f.puts "<br />" 44 f.puts '<div align="center"><a href="' + out.to_s + '_index.html">���a></div>'.toutf8 43 45 # file end 44 46 f.puts html_tail … … 52 54 def close_div(f) 53 55 f.puts "</dl></li><br />" 56 end 57 58 def sanitize(str) 59 str.gsub("<", "<").gsub(">",">") 54 60 end 55 61 … … 95 101 if m.captures[1...-1] == oldm[1...-1] 96 102 url = m[Config['matchnum']] 97 txt = item[1].strip103 txt = sanitize( item[1].strip ) 98 104 link = make_link( url, m.captures[-1] ) 99 105 klass = isOdd ? "odd" : "even" … … 109 115 if file 110 116 close_div(file) 111 write_close( file )117 write_close( file, out ) 112 118 file = nil 113 119 end … … 123 129 if file 124 130 close_div(file) 125 write_close( file )131 write_close( file, out ) 126 132 file = nil 127 133 end … … 136 142 end 137 143 f.puts "</ul>" 144 f.puts <<"eod".toutf8 145 <hr /> 146 ���Υꥹ�Ȥ�� 5:00�����Ǥ���<br /> 147 �ץ�����ȤΥե���������ʸ(�Ƭ���Τ����� 148 DESCRIPTION �ե����� 149 (http://svn.coderepos.org/share/xxxx/yyyy/zzzz/DESCRIPTION �Τ褦�� 150 ������Ȥǥꥹ�Ȥ˷Ǻܤ�������<br /> 151 ���<a href="http://svn.coderepos.org/share/docs/ray_aero/2009-03-04-doclist/DESCRIPTION">http://svn.coderepos.org/share/docs/ray_aero/2009-03-04-doclist/DESCRIPTION</a><br /> 152 �ޤ���DESCRIPTION �ե������ä��ȡ��ꥹ�Ȥ�����ޤ���<br /> 153 <br /> 154 ���ҥե��������ơ��ץ�����ȤξҲ��ƤƤ��������<br /> 155 eod 138 156 f.puts html_tail 139 157 end
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)