Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
308
public/help/ru/wiki_syntax_detailed_markdown.html
Normal file
308
public/help/ru/wiki_syntax_detailed_markdown.html
Normal file
|
@ -0,0 +1,308 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<head>
|
||||
<title>RedmineWikiFormatting (Markdown)</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="../wiki_syntax_detailed.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1><a name="1" class="wiki-page"></a>Wiki formatting (Markdown)</h1>
|
||||
|
||||
<h2><a name="2" class="wiki-page"></a>Links</h2>
|
||||
|
||||
<h3><a name="3" class="wiki-page"></a>Redmine links</h3>
|
||||
|
||||
<p>Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.</p>
|
||||
<ul>
|
||||
<li>Link to an issue: <strong>#124</strong> (displays <del><a href="#" class="issue" title="bulk edit doesn't change the category or fixed version properties (Closed)">#124</a></del>, link is striked-through if the issue is closed)</li>
|
||||
<li>Link to an issue note: <strong>#124-6</strong>, or <strong>#124#note-6</strong></li>
|
||||
</ul>
|
||||
|
||||
<p>Wiki links:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>[[Guide]]</strong> displays a link to the page named 'Guide': <a href="#" class="wiki-page">Guide</a></li>
|
||||
<li><strong>[[Guide#further-reading]]</strong> takes you to the anchor "further-reading". Headings get automatically assigned anchors so that you can refer to them: <a href="#" class="wiki-page">Guide</a></li>
|
||||
<li><strong>[[Guide|User manual]]</strong> displays a link to the same page but with a different text: <a href="#" class="wiki-page">User manual</a></li>
|
||||
</ul>
|
||||
|
||||
<p>You can also link to pages of an other project wiki:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>[[sandbox:some page]]</strong> displays a link to the page named 'Some page' of the Sandbox wiki</li>
|
||||
<li><strong>[[sandbox:]]</strong> displays a link to the Sandbox wiki main page</li>
|
||||
</ul>
|
||||
|
||||
<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 other resources:</p>
|
||||
|
||||
<ul>
|
||||
<li>Documents:
|
||||
<ul>
|
||||
<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>sandbox:document:"Some document"</strong> (link to a document with title "Some document" in other project "sandbox")</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Versions:
|
||||
<ul>
|
||||
<li><strong>version#3</strong> (link to version with id 3)</li>
|
||||
<li><strong>version:1.0.0</strong> (link to version named "1.0.0")</li>
|
||||
<li><strong>version:"1.0 beta 2"</strong></li>
|
||||
<li><strong>sandbox:version:1.0.0</strong> (link to version "1.0.0" in the project "sandbox")</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Attachments:
|
||||
<ul>
|
||||
<li><strong>attachment:file.zip</strong> (link to the attachment of the current object named file.zip)</li>
|
||||
<li>For now, attachments of the current object can be referenced only (if you're on an issue, it's possible to reference attachments of this issue only)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Changesets:
|
||||
<ul>
|
||||
<li><strong>r758</strong> (link to a changeset)</li>
|
||||
<li><strong>commit:c6f4d0fd</strong> (link to a changeset with a non-numeric hash)</li>
|
||||
<li><strong>svn1|r758</strong> (link to a changeset of a specific repository, for projects with multiple repositories)</li>
|
||||
<li><strong>commit:hg|c6f4d0fd</strong> (link to a changeset with a non-numeric hash of a specific repository)</li>
|
||||
<li><strong>sandbox:r758</strong> (link to a changeset of another project)</li>
|
||||
<li><strong>sandbox:commit:c6f4d0fd</strong> (link to a changeset with a non-numeric hash of another project)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<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>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>
|
||||
<li><strong>source:svn1|some/file</strong> (link to a file of a specific repository, for projects with multiple repositories)</li>
|
||||
<li><strong>sandbox:source:some/file</strong> (link to the file located at /some/file in the repository of the project "sandbox")</li>
|
||||
<li><strong>sandbox:export:some/file</strong> (force the download of the file)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Forums:
|
||||
<ul>
|
||||
<li><strong>forum#1</strong> (link to forum with id 1</li>
|
||||
<li><strong>forum:Support</strong> (link to forum named Support)</li>
|
||||
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<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:some-project</strong> (link to project with name or slug of "some-project")</li>
|
||||
<li><strong>project:"Some Project"</strong> (use double quotes for project name containing spaces)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>News:
|
||||
<ul>
|
||||
<li><strong>news#2</strong> (link to news item with id 2)</li>
|
||||
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
|
||||
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Users:
|
||||
<ul>
|
||||
<li><strong>user#2</strong> (link to user with id 2)</li>
|
||||
<li><strong>user:jsmith</strong> (Link to user with login jsmith)</li>
|
||||
<li><strong>@jsmith</strong> (Link to user with login jsmith)</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>
|
||||
|
||||
|
||||
<h3><a name="4" class="wiki-page"></a>External links</h3>
|
||||
|
||||
<p>URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:</p>
|
||||
|
||||
<pre>
|
||||
http://www.redmine.org, someone@foo.bar
|
||||
</pre>
|
||||
|
||||
<p>displays: <a class="external" href="http://www.redmine.org">http://www.redmine.org</a>, <a href="mailto:someone@foo.bar" class="email">someone@foo.bar</a></p>
|
||||
|
||||
<p>If you want to display a specific text instead of the URL, you can use the standard markdown syntax:</p>
|
||||
|
||||
<pre>
|
||||
[Redmine web site](http://www.redmine.org)
|
||||
</pre>
|
||||
|
||||
<p>displays: <a href="http://www.redmine.org" class="external">Redmine web site</a></p>
|
||||
|
||||
|
||||
<h2><a name="5" class="wiki-page"></a>Text formatting</h2>
|
||||
|
||||
|
||||
<p>For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See <a class="external" href="http://daringfireball.net/projects/markdown/syntax">http://daringfireball.net/projects/markdown/syntax</a> for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.</p>
|
||||
|
||||
<h3><a name="6" class="wiki-page"></a>Font style</h3>
|
||||
|
||||
<pre>
|
||||
* **bold**
|
||||
* *Italic*
|
||||
* ***bold italic***
|
||||
* ~~strike-through~~
|
||||
</pre>
|
||||
|
||||
<p>Display:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>bold</strong></li>
|
||||
<li><em>italic</em></li>
|
||||
<li><em><strong>bold italic</strong></em></li>
|
||||
<li><del>strike-through</del></li>
|
||||
</ul>
|
||||
|
||||
<h3><a name="7" class="wiki-page"></a>Inline images</h3>
|
||||
|
||||
<ul>
|
||||
<li><strong></strong> displays an image located at image_url (markdown syntax)</li>
|
||||
<li>If you have an image attached to your wiki page, it can be displayed inline using its filename: <strong></strong></li>
|
||||
</ul>
|
||||
|
||||
<h3><a name="8" class="wiki-page"></a>Headings</h3>
|
||||
|
||||
<pre>
|
||||
# Heading
|
||||
## Subheading
|
||||
### Subsubheading
|
||||
</pre>
|
||||
|
||||
<p>Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.</p>
|
||||
|
||||
|
||||
<h3><a name="10" class="wiki-page"></a>Blockquotes</h3>
|
||||
|
||||
<p>Start the paragraph with <strong>></strong></p>
|
||||
|
||||
<pre>
|
||||
> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
|
||||
To go live, all you need to add is a database and a web server.
|
||||
</pre>
|
||||
|
||||
<p>Display:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.<br />To go live, all you need to add is a database and a web server.</p>
|
||||
</blockquote>
|
||||
|
||||
|
||||
<h3><a name="11" class="wiki-page"></a>Table of content</h3>
|
||||
|
||||
<pre>
|
||||
{{toc}} => left aligned toc
|
||||
{{>toc}} => right aligned toc
|
||||
</pre>
|
||||
|
||||
<h3><a name="14" class="wiki-page"></a>Horizontal Rule</h3>
|
||||
|
||||
<pre>
|
||||
---
|
||||
</pre>
|
||||
|
||||
<h2><a name="12" class="wiki-page"></a>Macros</h2>
|
||||
|
||||
<p>Redmine has the following builtin macros:</p>
|
||||
|
||||
<p>
|
||||
<dl>
|
||||
<dt><code>hello_world</code></dt>
|
||||
<dd><p>Sample macro.</p></dd>
|
||||
|
||||
<dt><code>macro_list</code></dt>
|
||||
<dd><p>Displays a list of all available macros, including description if available.</p></dd>
|
||||
|
||||
<dt><code>child_pages</code></dt>
|
||||
<dd><p>Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:</p>
|
||||
<pre><code>{{child_pages}} -- can be used from a wiki page only
|
||||
{{child_pages(depth=2)}} -- display 2 levels nesting only</code></pre></dd>
|
||||
|
||||
<dt><code>include</code></dt>
|
||||
<dd><p>Include a wiki page. Example:</p>
|
||||
<pre><code>{{include(Foo)}}</code></pre>
|
||||
<p>or to include a page of a specific project wiki:</p>
|
||||
<pre><code>{{include(projectname:Foo)}}</code></pre></dd>
|
||||
|
||||
<dt><code>collapse</code></dt>
|
||||
<dd><p>Inserts of collapsed block of text. Example:</p>
|
||||
<pre><code>{{collapse(View details...)
|
||||
This is a block of text that is collapsed by default.
|
||||
It can be expanded by clicking a link.
|
||||
}}</code></pre></dd>
|
||||
|
||||
<dt><code>thumbnail</code></dt>
|
||||
<dd><p>Displays a clickable thumbnail of an attached image. Examples:</p>
|
||||
<pre>{{thumbnail(image.png)}}
|
||||
{{thumbnail(image.png, size=300, title=Thumbnail)}}</pre></dd>
|
||||
</dl>
|
||||
</p>
|
||||
|
||||
<h2><a name="13" class="wiki-page"></a>Code highlighting</h2>
|
||||
|
||||
<p>Default 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, clojure, cpp (c++, cplusplus), css, delphi (pascal), diff (patch), erb (eruby, rhtml), go, groovy, haml, html (xhtml), java, javascript (ecmascript, ecma_script, java_script, js), json, lua, php, python, ruby (irb), sass, sql, taskpaper, text (plain, plaintext), xml and yaml (yml) languages, where the names inside parentheses are aliases.</p>
|
||||
|
||||
<p>You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):</p>
|
||||
|
||||
<pre>
|
||||
~~~ ruby
|
||||
Place your code here.
|
||||
~~~
|
||||
</pre>
|
||||
|
||||
<p>Example:</p>
|
||||
|
||||
<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
|
||||
<span class="keyword">class</span> <span class="class">Greeter</span>
|
||||
<span class="keyword">def</span> <span class="function">initialize</span>(name)
|
||||
<span class="instance-variable">@name</span> = name.capitalize
|
||||
<span class="keyword">end</span>
|
||||
|
||||
<span class="keyword">def</span> <span class="function">salute</span>
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">Hello </span><span class="inline"><span class="inline-delimiter">#{</span><span class="instance-variable">@name</span><span class="inline-delimiter">}</span></span><span class="content">!</span><span class="delimiter">"</span></span>
|
||||
<span class="keyword">end</span>
|
||||
<span class="keyword">end</span></span></code>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
344
public/help/ru/wiki_syntax_detailed_textile.html
Normal file
344
public/help/ru/wiki_syntax_detailed_textile.html
Normal file
|
@ -0,0 +1,344 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<head>
|
||||
<title>Форматирование Wiki Redmine</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="../wiki_syntax_detailed.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1><a name="1" class="wiki-page"></a>Форматирование Wiki</h1>
|
||||
|
||||
<h2><a name="2" class="wiki-page"></a>Ссылки</h2>
|
||||
|
||||
<h3><a name="3" class="wiki-page"></a>Ссылки Redmine</h3>
|
||||
|
||||
<p>Redmine допускает гиперссылки между ресурсами (задачи, версии, wiki-страницы) отовсюду в wiki-формате.</p>
|
||||
<ul>
|
||||
<li>Ссылка на задачу: <strong>#124</strong>
|
||||
(
|
||||
<del><a href="#" class="issue"
|
||||
title="крупное редактирование не меняет категорию и свойства исправленной версии (Закрыто)">#124</a></del>
|
||||
- ссылка зачёркнута, если задача закрыта)
|
||||
</li>
|
||||
<li>Ссылка на задачу: <strong>#124-6</strong>, или <strong>#124#note-6</strong></li>
|
||||
</ul>
|
||||
|
||||
<p>Wiki ссылки:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>[[Руководство]]</strong> выводит ссылку на страницу с названием 'Руководство': <a href="#"
|
||||
class="wiki-page">Руководство</a>
|
||||
</li>
|
||||
<li><strong>[[Руководство#дальнейшее-чтение]]</strong> направляет на метку "дальнейшее-чтение". Заголовкам
|
||||
автоматически
|
||||
метки, таким образом, вы можете на них ссылаться: <a href="#" class="wiki-page">Руководство</a></li>
|
||||
<li><strong>[[Руководство|Руководство пользователя]]</strong> выводит ссылку на саму страницу, но с другим текстом:
|
||||
<a href="#" class="wiki-page">Руководство пользователя</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>Также вы можете ссылаться на wiki:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>[[sandbox:Некоторая страница]]</strong> выводит ссылку на страницу с названием 'Некоторая страница' wiki
|
||||
проекта Sandbox
|
||||
</li>
|
||||
<li><strong>[[sandbox:]]</strong> выводит ссылку на главную страницу wiki проекта Sandbox</li>
|
||||
</ul>
|
||||
|
||||
<p>Ссылки на wiki окрашены в красный, если страница ещё не создана, пример: <a href="#" class="wiki-page new">Несуществующая
|
||||
страница</a>.</p>
|
||||
|
||||
<p>ССылки на другие ресурсы:</p>
|
||||
|
||||
<ul>
|
||||
<li>Документы:
|
||||
<ul>
|
||||
<li><strong>document#17</strong> (ссылка на документ с id 17)</li>
|
||||
<li><strong>document:Приветствие</strong> (ссылка на документ с названием "Приветствие")</li>
|
||||
<li><strong>document:"Некоторый документ"</strong> (двойные кавычки использоются в случае, когда название
|
||||
документа содержит пробелы)
|
||||
</li>
|
||||
<li><strong>sandbox:document:"Приветствие"</strong> (ссылка на документ с названием "Приветствие" в проекте
|
||||
"sandbox")
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Этапы:
|
||||
<ul>
|
||||
<li><strong>version#3</strong> (ссылка на этап с id 3)</li>
|
||||
<li><strong>version:1.0.0</strong> (ссылка на этап с названием "1.0.0")</li>
|
||||
<li><strong>version:"1.0 beta 2"</strong> (двойные кавычки использоются в случае, когда название
|
||||
этапа содержит пробелы)
|
||||
</li>
|
||||
<li><strong>sandbox:version:1.0.0</strong> (ссылка на этап "1.0.0" проекта "sandbox")</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Вложения:
|
||||
<ul>
|
||||
<li><strong>attachment:file.zip</strong> (ссылка на вложение текущего объекта с именем file.zip)</li>
|
||||
<li>Сейчас можно ссылаться только на вложения текущего объекта (если вы просматриваете задачу, то возможно
|
||||
ссылаться только на вложения этой задачи)
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Версии:
|
||||
<ul>
|
||||
<li><strong>r758</strong> (ссылка на версию)</li>
|
||||
<li><strong>commit:c6f4d0fd</strong> (ссылка неа версию с нецифровым хешем)</li>
|
||||
<li><strong>svn1|r758</strong> (ссылка на версию специфичного хранилища, для проектов лежащих в нескольких хранилищах)</li>
|
||||
<li><strong>commit:hg|c6f4d0fd</strong> (ссылка на версию с нецифровым хешем в специфичном хранилище)</li>
|
||||
<li><strong>sandbox:r758</strong> (ссылка на версию в другом проекте)</li>
|
||||
<li><strong>sandbox:commit:c6f4d0fd</strong> (ссылка на версию с нецифровым хешем в другом проекте)</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Файлы хранилища:
|
||||
<ul>
|
||||
<li><strong>source:some/file</strong> (ссылка на файл /some/file, расположенный в хранилище проекта)
|
||||
</li>
|
||||
<li><strong>source:some/file@52</strong> (ссылка на 52 ревизию файла)</li>
|
||||
<li><strong>source:some/file#L120</strong> (ссылка на 120 строку файла)</li>
|
||||
<li><strong>source:some/file@52#L120</strong> (ссылка на 120 строку в 52 ревизии файла)</li>
|
||||
<li><strong>source:"some file@52#L120"</strong> (используйте кавычки, если в ссылке есть пробелы)</li>
|
||||
<li><strong>export:some/file</strong> (ссылка на загрузку файла)</li>
|
||||
<li><strong>source:svn1|some/file</strong> (ссылка на версию специфичного хранилища, для проектов лежащих в нескольких хранилищах)</li>
|
||||
<li><strong>sandbox:source:some/file</strong> (ссылка на файл /some/file, расположенный в хранилище проекта
|
||||
"sandbox")
|
||||
</li>
|
||||
<li><strong>sandbox:export:some/file</strong> (ссылка на загрузку файла)</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Форумы:
|
||||
<ul>
|
||||
<li><strong>forum#1</strong> (ссылка на форум с id 1)</li>
|
||||
<li><strong>forum:Support</strong> (ссылка на форум "Support")</li>
|
||||
<li><strong>forum:"Technical Support"</strong> (используйте кавычки, если в названии есть пробелы)</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Сообщения форума:
|
||||
<ul>
|
||||
<li><strong>message#1218</strong> (ссылка на сообщение с id 1218)</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Проекты:
|
||||
<ul>
|
||||
<li><strong>project#3</strong> (ссылка на проект с id 3)</li>
|
||||
<li><strong>project:someproject</strong> (ссылка на проект "someproject")</li>
|
||||
<li><strong>project:"Some Project"</strong> (используйте кавычки, если в названии есть пробелы)</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Новости:
|
||||
<ul>
|
||||
<li><strong>news#2</strong> (ссылка на новость с id 2)</li>
|
||||
<li><strong>news:Greetings</strong> (ссылка на новость "Greetings")</li>
|
||||
<li><strong>news:"First Release"</strong> (используйте кавычки, если в названии есть пробелы)</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Users:
|
||||
<ul>
|
||||
<li><strong>user#2</strong> (link to user with id 2)</li>
|
||||
<li><strong>user:jsmith</strong> (Link to user with login jsmith)</li>
|
||||
<li><strong>@jsmith</strong> (Link to user with login jsmith)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>Исключения:</p>
|
||||
|
||||
<ul>
|
||||
<li>Вы можете отменить обработку ссылок с помощью восклицательного знака перед ссылкой: !http://foo.bar</li>
|
||||
</ul>
|
||||
|
||||
<h3><a name="4" class="wiki-page"></a>Внешние ссылки</h3>
|
||||
|
||||
<p>URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:</p>
|
||||
|
||||
<pre>
|
||||
http://www.redmine.org, someone@foo.bar
|
||||
</pre>
|
||||
|
||||
<p>выводится: <a class="external" href="http://www.redmine.org">http://www.redmine.org</a>, <a
|
||||
href="mailto:someone@foo.bar" class="email">someone@foo.bar</a></p>
|
||||
|
||||
<p>Если же вы хотите, чтобы отобразился текст вместо адреса URL, вы можете испольовать стандартный синтаксис
|
||||
форматирования текста:</p>
|
||||
|
||||
<pre>
|
||||
"Сайт Redmine":http://www.redmine.org
|
||||
</pre>
|
||||
|
||||
<p>выводится: <a href="http://www.redmine.org" class="external">Сайт Redmine</a></p>
|
||||
|
||||
|
||||
<h2><a name="5" class="wiki-page"></a>Форматирование текста</h2>
|
||||
|
||||
<p>Для таких вещей, как заголовки, выделение, таблицы и списки, Redmine поддерживает синтакс Textile. Обратитесь за
|
||||
руководством к странице <a class="external"
|
||||
href="http://en.wikipedia.org/wiki/Textile_%28markup_language%29">http://en.wikipedia.org/wiki/Textile_(markup_language)</a>
|
||||
. Несколько примеров приведены ниже, Но сам текстовый процессор способен на гораздо большее.</p>
|
||||
|
||||
<h3><a name="6" class="wiki-page"></a>Стиль шрифта</h3>
|
||||
|
||||
<pre>
|
||||
* *выделенный*
|
||||
* _наклонный_
|
||||
* _*выделенный наклонный*_
|
||||
* +подчёркнутый+
|
||||
* -зачёркнутый-
|
||||
</pre>
|
||||
|
||||
<p>Выводится:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>выделенный</strong></li>
|
||||
<li><em>наклонный</em></li>
|
||||
<li><em><strong>выделенный наклонный</strong></em></li>
|
||||
<li><ins>подчёркнутый</ins></li>
|
||||
<li><del>зачёркнутый</del></li>
|
||||
</ul>
|
||||
|
||||
<h3><a name="7" class="wiki-page"></a>Вставка изображений</h3>
|
||||
|
||||
<ul>
|
||||
<li><strong>!url_изображения!</strong> выводит изображение, расположенное по адресу url_изображения (синтакс textile)</li>
|
||||
<li><strong>!>url_изображения!</strong> выводит изображение, выровненное по правому краю</li>
|
||||
<li>Прикреплённое к wiki-странице изображение можно отобразить в тексте, используя имя файла:
|
||||
<strong>!вложенное_изображение.png!</strong>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3><a name="8" class="wiki-page"></a>Заголовки</h3>
|
||||
|
||||
<pre>
|
||||
h1. Заголовок
|
||||
h2. Подзаголовок
|
||||
h3. Подзаголовок подзаголовка
|
||||
</pre>
|
||||
|
||||
<p>Redmine присваивает якорь каждому заголовку, поэтому вы можете легко сослаться на любой, указав в тексте "#Заголовок",
|
||||
"#Подзаголовок" и т.д.</p>
|
||||
|
||||
|
||||
<h3><a name="9" class="wiki-page"></a>Параграфы</h3>
|
||||
|
||||
<pre>
|
||||
p>. выровненный по правому краю
|
||||
p=. выровненный по центру
|
||||
</pre>
|
||||
|
||||
<p style="text-align:center;">Это - выровненный по центру параграф.</p>
|
||||
|
||||
|
||||
<h3><a name="10" class="wiki-page"></a>Цитаты</h3>
|
||||
|
||||
<p>Начните параграф с <strong>bq.</strong></p>
|
||||
|
||||
<pre>
|
||||
bq. Rails - это полноценный, многоуровневый фреймворк для построения веб-приложений, использующих базы данных,
|
||||
который основан на архитектуре Модель-Представление-Контроллер (Model-View-Controller, MVC).
|
||||
</pre>
|
||||
|
||||
<p>Выводится:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>Rails - это полноценный, многоуровневый фреймворк для построения веб-приложений, использующих базы данных,
|
||||
который основан на архитектуре Модель-Представление-Контроллер (Model-View-Controller, MVC).</p>
|
||||
</blockquote>
|
||||
|
||||
|
||||
<h3><a name="11" class="wiki-page"></a>Содержание</h3>
|
||||
|
||||
<pre>
|
||||
{{Содержание}} => содержание, выровненное по левому краю
|
||||
{{>Содержание}} => содержание, выровненное по правому краю
|
||||
</pre>
|
||||
|
||||
<h3><a name="14" class="wiki-page"></a>Horizontal Rule</h3>
|
||||
|
||||
<pre>
|
||||
---
|
||||
</pre>
|
||||
|
||||
<h2><a name="12" class="wiki-page"></a>Макросы</h2>
|
||||
|
||||
<p>В Redmine существуют следующие встроенные макросы:</p>
|
||||
|
||||
<p>
|
||||
<dl>
|
||||
<dt><code>hello_world</code></dt>
|
||||
<dd><p>Некоторый макрос.</p></dd>
|
||||
|
||||
<dt><code>macro_list</code></dt>
|
||||
<dd><p>Выводит список доступных макросов с описаниями, если они имеются.</p></dd>
|
||||
|
||||
<dt><code>child_pages</code></dt>
|
||||
<dd><p>Вывод списка дочерних страниц. Без аргументов выводится список дочерних страниц для текущей wiki-страницы. Пример:</p>
|
||||
<pre><code>{{child_pages}} -- можно использователь только на wiki-странице
|
||||
{{child_pages(depth=2)}} -- вывести только 2 уровня вложенности</code></pre></dd>
|
||||
|
||||
<dt><code>include</code></dt>
|
||||
<dd><p>Вставить wiki-страницу. Пример:</p>
|
||||
<pre><code>{{include(Foo)}}</code></pre>
|
||||
<p>или вставить сраницу wiki конкретного проекта:</p>
|
||||
<pre><code>{{include(projectname:Foo)}}</code></pre></dd>
|
||||
|
||||
<dt><code>collapse</code></dt>
|
||||
<dd><p>Вставить скрываемый текст. Пример:</p>
|
||||
<pre><code>{{collapse(Читать дальше...)
|
||||
Этот блок текста по умолчанию скрыт.
|
||||
Он расскроется, если нажать на ссылку.
|
||||
}}</code></pre></dd>
|
||||
|
||||
<dt><code>thumbnail</code></dt>
|
||||
<dd><p>Отображет кликабельный эскиз приложенной картинки. Пример:</p>
|
||||
<pre>{{thumbnail(image.png)}}
|
||||
{{thumbnail(image.png, size=300, title=Эскиз)}}</pre></dd>
|
||||
</dl>
|
||||
</p>
|
||||
|
||||
<h2><a name="13" class="wiki-page"></a>Подсветка кода</h2>
|
||||
|
||||
<p>По умолчанию за подсветку код отвечает <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, и для лучшей производительности библиотеки написаны на Ruby. Сейчас поддерживаются c, clojure, cpp (c++, cplusplus), css, delphi (pascal), diff (patch), erb (eruby, rhtml), go, groovy, haml, html (xhtml), java, javascript (ecmascript, ecma_script, java_script, js), json, lua, php, python, ruby (irb), sass, sql, taskpaper, text (plain, plaintext), xml and yaml (yml) языки.</p>
|
||||
|
||||
<p>Вы можете подсветить код в любом месте, где поддерживается wiki-форматирование (название языка не зависит от регистра):</p>
|
||||
|
||||
<pre>
|
||||
<pre><code class="ruby">
|
||||
Поместите свой код сюда.
|
||||
</code></pre>
|
||||
</pre>
|
||||
|
||||
<p>Пример:</p>
|
||||
|
||||
<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
|
||||
<span class="keyword">class</span> <span class="class">Greeter</span>
|
||||
<span class="keyword">def</span> <span class="function">initialize</span>(name)
|
||||
<span class="instance-variable">@name</span> = name.capitalize
|
||||
<span class="keyword">end</span>
|
||||
|
||||
<span class="keyword">def</span> <span class="function">salute</span>
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">Hello </span><span class="inline"><span class="inline-delimiter">#{</span><span class="instance-variable">@name</span><span class="inline-delimiter">}</span></span><span class="content">!</span><span class="delimiter">"</span></span>
|
||||
<span class="keyword">end</span>
|
||||
<span class="keyword">end</span></span></code>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
69
public/help/ru/wiki_syntax_markdown.html
Normal file
69
public/help/ru/wiki_syntax_markdown.html
Normal file
|
@ -0,0 +1,69 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Wiki formatting</title>
|
||||
<link rel="stylesheet" type="text/css" href="../wiki_syntax.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Wiki Syntax Quick Reference (Markdown)</h1>
|
||||
|
||||
<table style="width:100%">
|
||||
<tr><th colspan="3">Font Styles</th></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_strong.png" style="border: 1px solid #bbb;" alt="Strong" /></th><td style="width:50%;">**Strong**</td><td style="width:50%;"><strong>Strong</strong></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_em.png" style="border: 1px solid #bbb;" alt="Italic" /></th><td>*Italic*</td><td><em>Italic</em></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_del.png" style="border: 1px solid #bbb;" alt="Deleted" /></th><td>~~Deleted~~</td><td><del>Deleted</del></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_code.png" style="border: 1px solid #bbb;" alt="Inline Code" /></th><td>`Inline Code`</td><td><code>Inline Code</code></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_pre.png" style="border: 1px solid #bbb;" alt="Preformatted text" /></th><td>~~~<br /> lines<br /> of code<br />~~~</td><td>
|
||||
<pre>
|
||||
lines
|
||||
of code
|
||||
</pre>
|
||||
</td></tr>
|
||||
|
||||
<tr><th colspan="3">Lists</th></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" alt="Unordered list" /></th><td>* Item 1<br /> * Sub<br />* Item 2</td><td><ul><li>Item 1<ul><li>Sub</li></ul></li><li>Item 2</li></ul></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" alt="Ordered list" /></th><td>1. Item 1<br /> 1. Sub<br />2. Item 2</td><td><ol><li>Item 1<ol><li>Sub</li></ol></li><li>Item 2</li></ol></td></tr>
|
||||
|
||||
<tr><th colspan="3">Headings</th></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_h1.png" style="border: 1px solid #bbb;" alt="Heading 1" /></th><td># Title 1</td><td><h1>Title 1</h1></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_h2.png" style="border: 1px solid #bbb;" alt="Heading 2" /></th><td>## Title 2</td><td><h2>Title 2</h2></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_h3.png" style="border: 1px solid #bbb;" alt="Heading 3" /></th><td>### Title 3</td><td><h3>Title 3</h3></td></tr>
|
||||
|
||||
<tr><th colspan="3">Links</th></tr>
|
||||
<tr><th></th><td>http://foo.bar</td><td><a href="#">http://foo.bar</a></td></tr>
|
||||
<tr><th></th><td>[Foo](http://foo.bar)</td><td><a href="#">Foo</a></td></tr>
|
||||
|
||||
<tr><th colspan="3">Redmine links</th></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_link.png" style="border: 1px solid #bbb;" alt="Link to a Wiki page" /></th><td>[[Wiki page]]</td><td><a href="#">Wiki page</a></td></tr>
|
||||
<tr><th></th><td>Issue #12</td><td>Issue <a href="#">#12</a></td></tr>
|
||||
<tr><th></th><td>Revision r43</td><td>Revision <a href="#">r43</a></td></tr>
|
||||
<tr><th></th><td>commit:f30e13e43</td><td><a href="#">f30e13e4</a></td></tr>
|
||||
<tr><th></th><td>source:some/file</td><td><a href="#">source:some/file</a></td></tr>
|
||||
|
||||
<tr><th colspan="3">Inline images</th></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_img.png" style="border: 1px solid #bbb;" alt="Image" /></th><td></td><td></td></tr>
|
||||
<tr><th></th><td></td><td></td></tr>
|
||||
|
||||
<tr><th colspan="3">Tables</th></tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>| A | B | C |<br />|---|---|---|<br />| A | B | C |<br />| D | E | F |</td>
|
||||
<td>
|
||||
<table class="sample">
|
||||
<tbody>
|
||||
<th>A</th><th>B</th><th>C</th>
|
||||
<tr><td>A</td><td>B</td><td>C</td></tr>
|
||||
<tr><td>D</td><td>E</td><td>F</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p><a href="wiki_syntax_detailed_markdown.html" onclick="window.open('wiki_syntax_detailed_markdown.html', '', ''); return false;">More Information</a></p>
|
||||
|
||||
</body>
|
||||
</html>
|
157
public/help/ru/wiki_syntax_textile.html
Normal file
157
public/help/ru/wiki_syntax_textile.html
Normal file
|
@ -0,0 +1,157 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Форматирование Wiki</title>
|
||||
<link rel="stylesheet" type="text/css" href="../wiki_syntax.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Синтаксис Wiki Краткая Справка</h1>
|
||||
|
||||
<table style="width:100%">
|
||||
<tr>
|
||||
<th colspan="3">Стили Шрифтов</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_strong.png" style="border: 1px solid #bbb;" alt="Выделенный"/></th>
|
||||
<td style="width:50%;">*Выделенный*</td>
|
||||
<td style="width:50%;"><strong>Выделенный</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_em.png" style="border: 1px solid #bbb;" alt="Наклонный"/></th>
|
||||
<td>_Наклонный_</td>
|
||||
<td><em>Наклонный</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_ins.png" style="border: 1px solid #bbb;" alt="Подчёркнутый"/></th>
|
||||
<td>+Подчёркнутый+</td>
|
||||
<td>
|
||||
<ins>Подчёркнутый</ins>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_del.png" style="border: 1px solid #bbb;" alt="Зачёркнутый"/></th>
|
||||
<td>-Зачёркнутый-</td>
|
||||
<td>
|
||||
<del>Зачёркнутый</del>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>??Цитата??</td>
|
||||
<td><cite>Цитата</cite></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_code.png" style="border: 1px solid #bbb;" alt="Вставка Кода"/></th>
|
||||
<td>@Вставка Кода@</td>
|
||||
<td><code>Вставка Кода</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_pre.png" style="border: 1px solid #bbb;" alt="Отформатированный текст"/></th>
|
||||
<td><pre><br/> строки<br/> кода<br/></pre></td>
|
||||
<td>
|
||||
<pre>
|
||||
строки
|
||||
кода
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><th colspan="3">Списки</th></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" alt="Несортированный список" /></th><td>* Элемент 1<br />** Подэлемент<br />* Элемент 2</td><td><ul><li>Элемент 1<ul><li>Подэлемент</li></ul></li><li>Элемент 2</li></ul></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" alt="Сортированный список" /></th><td># Элемент 1<br />## Подэлемент<br /># Элемент 2</td><td><ol><li>Элемент 1<ol><li>Подэлемент</li></ol></li><li>Элемент 2</li></ol></td></tr>
|
||||
<tr>
|
||||
<th colspan="3">Заголовки</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_h1.png" style="border: 1px solid #bbb;" alt="Заголовок 1"/></th>
|
||||
<td>h1. Название 1</td>
|
||||
<td><h1>Название 1</h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_h2.png" style="border: 1px solid #bbb;" alt="Заголовок 2"/></th>
|
||||
<td>h2. Название 2</td>
|
||||
<td><h2>Название 2</h2></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_h3.png" style="border: 1px solid #bbb;" alt="Заголовок 3"/></th>
|
||||
<td>h3. Название 3</td>
|
||||
<td><h3>Название 3</h3></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="3">Ссылки</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>http://foo.bar</td>
|
||||
<td><a href="#">http://foo.bar</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>"Foo":http://foo.bar</td>
|
||||
<td><a href="#">Foo</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="3">Ссылки Redmine</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_link.png" style="border: 1px solid #bbb;" alt="Ссылка на Wiki страницу"/></th>
|
||||
<td>[[Wiki страница]]</td>
|
||||
<td><a href="#">Wiki страница</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>Задача #12</td>
|
||||
<td>Задача <a href="#">#12</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>Фиксация r43</td>
|
||||
<td>Фиксация <a href="#">r43</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>commit:f30e13e43</td>
|
||||
<td><a href="#">f30e13e4</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>source:some/file</td>
|
||||
<td><a href="#">source:some/file</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="3">Вставка изображений</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="../../images/jstoolbar/bt_img.png" style="border: 1px solid #bbb;" alt="Изображение"/></th>
|
||||
<td>!<em>url_картинки</em>!</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>!<em>вложенный_файл</em>!</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr><th colspan="3">Tables</th></tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>|_. A |_. B |_. C |<br />| A | B | C |<br />|/2. row span | B | C |<br />|\2. col span |</td>
|
||||
<td>
|
||||
<table class="sample">
|
||||
<tbody>
|
||||
<th>A</th><th>B</th><th>C</th>
|
||||
<tr><td>A</td><td>B</td><td>C</td></tr>
|
||||
<tr><td rowspan="2">row span</td><td>B</td><td>C</td></tr>
|
||||
<tr><td colspan="2">col span</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p><a href="wiki_syntax_detailed_textile.html" onclick="window.open('wiki_syntax_detailed_textile.html', '', ''); return false;">Больше информации</a></p>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue