From 74a691de1921bc1e762b05c5717012f55652b8fe Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 19 Feb 2024 20:41:41 +0000 Subject: * Introduces @HelpController@ and a new route @help/wiki_syntax/(:type)@ to serve wiki syntax help files. * Moves all wiki syntax help files to @app/views/help@ and CSS files to asset pipeline. (#39111, #40137). git-svn-id: https://svn.redmine.org/redmine/trunk@22719 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/help/ca/wiki_syntax_detailed_markdown.html | 341 --------------------- public/help/ca/wiki_syntax_detailed_textile.html | 346 ---------------------- public/help/ca/wiki_syntax_markdown.html | 79 ----- public/help/ca/wiki_syntax_textile.html | 81 ----- 4 files changed, 847 deletions(-) delete mode 100644 public/help/ca/wiki_syntax_detailed_markdown.html delete mode 100644 public/help/ca/wiki_syntax_detailed_textile.html delete mode 100644 public/help/ca/wiki_syntax_markdown.html delete mode 100644 public/help/ca/wiki_syntax_textile.html (limited to 'public/help/ca') diff --git a/public/help/ca/wiki_syntax_detailed_markdown.html b/public/help/ca/wiki_syntax_detailed_markdown.html deleted file mode 100644 index cd359a542..000000000 --- a/public/help/ca/wiki_syntax_detailed_markdown.html +++ /dev/null @@ -1,341 +0,0 @@ - - - -RedmineWikiFormatting (Markdown) - - - - - -

Wiki formatting (Markdown)

- - - -

Links

- -

Redmine links

- -

Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.

- - -

Wiki links:

- - - -

You can also link to pages of an other project wiki:

- - - -

Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.

- -

Links to other resources:

- - - - - - - - - - - - - - - - - - - - - -

Escaping:

- - - - -

External links

- -

URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:

- -
-http://www.redmine.org, someone@foo.bar
-
- -

displays: http://www.redmine.org,

- -

If you want to display a specific text instead of the URL, you can use the standard markdown syntax:

- -
-[Redmine web site](http://www.redmine.org)
-
- -

displays: Redmine web site

- - -

Text formatting

- - -

For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.

- -

Font style

- -
-* **bold**
-* *Italic*
-* ***bold italic***
-* _underline_
-* ~~strike-through~~
-
- -

Display:

- - - -

Inline images

- - - -

Headings

- -
-# Heading
-## Subheading
-### Subsubheading
-
- -

Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.

- - -

Blockquotes

- -

Start the paragraph with >

- -
-> 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.
-
- -

Display:

- -
-

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.

-
- - -

Table of content

- -
-{{toc}} => left aligned toc
-{{>toc}} => right aligned toc
-
- -

Horizontal Rule

- -
----
-
- -

Macros

- -

Redmine has the following builtin macros:

- -

-

-
hello_world
-

Sample macro.

- -
macro_list
-

Displays a list of all available macros, including description if available.

- -
child_pages
-

Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:

-
{{child_pages}} -- can be used from a wiki page only
-{{child_pages(depth=2)}} -- display 2 levels nesting only
- -
include
-

Include a wiki page. Example:

-
{{include(Foo)}}
-

or to include a page of a specific project wiki:

-
{{include(projectname:Foo)}}
- -
collapse
-

Inserts of collapsed block of text. Example:

-
{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
- -
thumbnail
-

Displays a clickable thumbnail of an attached image. Examples:

-
{{thumbnail(image.png)}}
-{{thumbnail(image.png, size=300, title=Thumbnail)}}
- -
issue
-

Inserts a link to an issue with flexible text. Examples:

-
{{issue(123)}}                              -- Issue #123: Enhance macro capabilities
-{{issue(123, project=true)}}                -- Andromeda - Issue #123:Enhance macro capabilities
-{{issue(123, tracker=false)}}               -- #123: Enhance macro capabilities
-{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
-
-

- -

Code highlighting

- -

Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.

- -

You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):

- -
-``` ruby
-  Place your code here.
-```
-
- -

Example:

- -
# The Greeter class
-class Greeter
-  def initialize(name)
-    @name = name.capitalize
-  end
-
-  def salute
-    puts "Hello #{@name}!"
-  end
-end
-
- - diff --git a/public/help/ca/wiki_syntax_detailed_textile.html b/public/help/ca/wiki_syntax_detailed_textile.html deleted file mode 100644 index e4173cb90..000000000 --- a/public/help/ca/wiki_syntax_detailed_textile.html +++ /dev/null @@ -1,346 +0,0 @@ - - - -RedmineWikiFormatting - - - - - -

Wiki formatting

- - - -

Links

- -

Redmine links

- -

Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.

- - -

Wiki links:

- - - -

You can also link to pages of an other project wiki:

- - - -

Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.

- -

Links to other resources:

- - - - - - - - - - - - - - - - - - - - - -

Escaping:

- - - - -

External links

- -

URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:

- -
-http://www.redmine.org, someone@foo.bar
-
- -

displays: http://www.redmine.org,

- -

If you want to display a specific text instead of the URL, you can use the standard textile syntax:

- -
-"Redmine web site":http://www.redmine.org
-
- -

displays: Redmine web site

- - -

Text formatting

- - -

For things such as headlines, bold, tables, lists, Redmine supports Textile syntax. See http://en.wikipedia.org/wiki/Textile_(markup_language) for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.

- -

Font style

- -
-* *bold*
-* _italic_
-* _*bold italic*_
-* +underline+
-* -strike-through-
-
- -

Display:

- - - -

Inline images

- - - -

Headings

- -
-h1. Heading
-
-h2. Subheading
-
-h3. Subsubheading
-
- -

Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.

- - -

Paragraphs

- -
-p>. right aligned
-p=. centered
-
- -

This is a centered paragraph.

- - -

Blockquotes

- -

Start the paragraph with bq.

- -
-bq. 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.
-
- -

Display:

- -
-

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.

-
- - -

Table of content

- -
-{{toc}} => left aligned toc
-{{>toc}} => right aligned toc
-
- -

Horizontal Rule

- -
----
-
- -

Macros

- -

Redmine has the following builtin macros:

- -

-

-
hello_world
-

Sample macro.

- -
macro_list
-

Displays a list of all available macros, including description if available.

- -
child_pages
-

Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:

-
{{child_pages}} -- can be used from a wiki page only
-{{child_pages(depth=2)}} -- display 2 levels nesting only
- -
include
-

Include a wiki page. Example:

-
{{include(Foo)}}
-

or to include a page of a specific project wiki:

-
{{include(projectname:Foo)}}
- -
collapse
-

Inserts of collapsed block of text. Example:

-
{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
- -
thumbnail
-

Displays a clickable thumbnail of an attached image. Examples:

-
{{thumbnail(image.png)}}
-{{thumbnail(image.png, size=300, title=Thumbnail)}}
- -
issue
-

Inserts a link to an issue with flexible text. Examples:

-
{{issue(123)}}                              -- Issue #123: Enhance macro capabilities
-{{issue(123, project=true)}}                -- Andromeda - Issue #123:Enhance macro capabilities
-{{issue(123, tracker=false)}}               -- #123: Enhance macro capabilities
-{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
-
-

- -

Code highlighting

- -

Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.

- -

You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):

- -
-<pre><code class="ruby">
-  Place your code here.
-</code></pre>
-
- -

Example:

- -
# The Greeter class
-class Greeter
-  def initialize(name)
-    @name = name.capitalize
-  end
-
-  def salute
-    puts "Hello #{@name}!"
-  end
-end
-
- - diff --git a/public/help/ca/wiki_syntax_markdown.html b/public/help/ca/wiki_syntax_markdown.html deleted file mode 100644 index ee1f20db5..000000000 --- a/public/help/ca/wiki_syntax_markdown.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - -Format de la Wiki - - - - -

Guia rapida de la Sintaxis de la Wiki (Markdown)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Font Styles (more)
Negreta**Negreta**Negreta
Cursiva*Cursiva*Cursiva
Underline_Underline_Underline
Eliminat~~Eliminat~~Eliminat
Codi en línia`Codi en línia`Codi en línia
Linies de codi```
 linies
 de codi
```
-
- linies
- de codi
-
-
Highlighted code (more | supported languages)
Highlighted code``` ruby
3.times do
  puts 'Hello'
end
```
-
3.times do
-  puts 'Hello'
-end
-
-
Llistes
Llista desordenada* Article 1
  * Sub
* Article 2
  • Article 1
    • Sub
  • Article 2
Llista Ordenada1. Article 1
   1. Sub
2. Article 2
  1. Article 1
    1. Sub
  2. Article 2
Capçaleres (more)
Encapçament 1# Títol 1

Títol 1

Encapçament 2## Títol 2

Títol 2

Encapçament 3### Títol 3

Títol 3

Links (more)
http://foo.barhttp://foo.bar
[Foo](http://foo.bar)Foo
Redmine links (more)
Link a la pagina Wiki[[Pagina Wiki]]Pagina Wiki
Assumpte #12Assumpte #12
##12Bug #12: The issue subject
Revisió r43Revisió r43
commit:f30e13e43f30e13e4
source:some/filesource:some/file
Imatges (more)
Imatge![](imatge_url)
![](imatge_adjunta)
Taules
| A | B | C |
|---|---|---|
| A | B | C |
| D | E | F |
- - - - - - -
ABC
ABC
DEF
-
- -

Més informació

- - - diff --git a/public/help/ca/wiki_syntax_textile.html b/public/help/ca/wiki_syntax_textile.html deleted file mode 100644 index d20d67ad7..000000000 --- a/public/help/ca/wiki_syntax_textile.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - -Format de la Wiki - - - - -

Guia rapida de la Sintaxis de la Wiki

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Estil de font (more)
Negreta*Negreta*Negreta
Cursiva_Cursiva_Cursiva
Subratllat+Subratllat+Subratllat
Eliminat-Eliminat-Eliminat
??Cita??Cita
Codi en línia@Codi en línia@Codi en línia
Linies de codi<pre>
 linies
 de codi
</pre>
-
- linies
- de codi
-
-
Highlighted code (more | supported languages)
Highlighted code<pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
-
3.times do
-  puts 'Hello'
-end
-
-
Llistes
Llista desordenada* Article 1
** Sub
* Article 2
  • Article 1
    • Sub
  • Article 2
Llista ordenada# Article 1
## Sub
# Article 2
  1. Article 1
    1. Sub
  2. Article 2
Capçaleres (more)
Encapçament 1h1. Títol 1

Títol 1

Encapçament 2h2. Títol 2

Títol 2

Encapçament 3h3. Títol 3

Títol 3

Links (more)
http://foo.barhttp://foo.bar
"Foo":http://foo.barFoo
Links del Redmine (more)
Link a la pagina Wiki[[Pagina Wiki]]Pagina Wiki
Assumpte #12Assumpte #12
##12Bug #12: The issue subject
Revisió r43Revisió r43
commit:f30e13e43f30e13e4
source:some/filesource:some/file
Imatges (more)
Imatge!imatge_url!
!imatge_adjunta!
Taules
|_. A |_. B |_. C |
| A | B | C |
|/2. row span | B | C |
|\2. col span |
- - - - - - - -
ABC
ABC
row spanBC
col span
-
- -

Més informació

- - - -- cgit v1.2.3