プロジェクト

全般

プロフィール

Vote #67681

完了

Update help/wiki_syntax_detailed.html with more link options

Admin Redmine さんが約3年前に追加. 約3年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Documentation_24
対象バージョン:
開始日:
2010/07/23
期日:
進捗率:

100%

予定工数:
category_id:
24
version_id:
25
issue_org_id:
5948
author_id:
2784
assigned_to_id:
1188
comments:
5
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

This patch adds documentation of links to forum posts to the file @help/wiki_syntax_detailed.html@. It also normalizes some of the formatting.

A considering comitter should also normalize the whole file to @\n@ line endings.


journals

Updated the patch against current trunk and included new languages supported by Coderay 0.9.2 (latest included version).

For reviewers:
<pre><code class="diff">
Index: public/help/wiki_syntax_detailed.html
===================================================================
--- public/help/wiki_syntax_detailed.html (revision 4249)
+++ public/help/wiki_syntax_detailed.html (working copy)
@@ -66,7 +66,7 @@

<p>Wiki links are displayed in red if the page doesn't exist yet, eg: <a href="#" class="wiki-page new">Nonexistent page</a>.</p>

- <p>Links to others resources (0.7):</p>
+ <p>Links to other resources:</p>

<ul>
<li>Documents:
@@ -74,6 +74,7 @@
<li><strong>document#17</strong> (link to document with id 17)</li>
<li><strong>document:Greetings</strong> (link to the document with title "Greetings")</li>
<li><strong>document:"Some document"</strong> (double quotes can be used when document title contains spaces)</li>
+ <li><strong>document:some_project:"Some document"</strong> (link to a document with title "Some document" in other project "some_project")
</ul></li>
</ul>

@@ -95,19 +96,36 @@
</ul>

<ul>
- <li>Repository files
+ <li>Repository files:
<ul>
- <li><strong>source:some/file</strong> -- Link to the file located at /some/file in the project's repository</li>
- <li><strong>source:some/file@52</strong> -- Link to the file's revision 52</li>
- <li><strong>source:some/file#L120</strong> -- Link to line 120 of the file</li>
- <li><strong>source:some/file@52#L120</strong> -- Link to line 120 of the file's revision 52</li>
- <li><strong>export:some/file</strong> -- Force the download of the file</li>
- </ul></li>
+ <li><strong>source:some/file</strong> (link to the file located at /some/file in the project's repository)</li>
+ <li><strong>source:some/file@52</strong> (link to the file's revision 52)</li>
+ <li><strong>source:some/file#L120</strong> (link to line 120 of the file)</li>
+ <li><strong>source:some/file@52#L120</strong> (link to line 120 of the file's revision 52)</li>
+ <li><strong>source:"some file@52#L120"</strong> (use double quotes when the URL contains spaces</li>
+ <li><strong>export:some/file</strong> (force the download of the file)</li>
+ </ul></li>
</ul>
-
- <p>Escaping (0.7):</p>

<ul>
+ <li>Forum messages:
+ <ul>
+ <li><strong>message#1218</strong> (link to message with id 1218)</li>
+ </ul></li>
+ </ul>
+
+ <ul>
+ <li>Projects:
+ <ul>
+ <li><strong>project#3</strong> (link to project with id 3)</li>
+ <li><strong>project:someproject</strong> (link to project named "someproject")</li>
+ </ul></li>
+ </ul>
+
+
+ <p>Escaping:</p>
+
+ <ul>
<li>You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !</li>
</ul>

@@ -219,7 +237,7 @@

<h2><a name="13" class="wiki-page"></a>Code highlighting</h2>

- <p>Code highlightment relies on <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, a fast syntax highlighting library written completely in Ruby. It currently supports c, html, javascript, rhtml, ruby, scheme, xml languages.</p>
+ <p>Code highlightment relies on <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, a fast syntax highlighting library written completely in Ruby. It currently supports c, cpp, css, delphi, groovy, html, java, javascript, json, php, python, rhtml, ruby, scheme, sql, xml and yaml languages.</p>

<p>You can highlight code in your wiki page using this syntax:</p>

</code></pre>
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Applied in r4308, thanks!
--------------------------------------------------------------------------------
Merged into 1.0-stable for release in 1.0.3
--------------------------------------------------------------------------------


related_issues

relates,Closed,6123,help/wiki_syntax_detailed.html is outdated

Admin Redmine さんが約3年前に更新

  • カテゴリDocumentation_24 にセット
  • 対象バージョン1.0.3_25 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0