eb424190281869c08c6de2ba51b219314f4eebc5
Introduction au Dual Power.md
... | ... | @@ -3,9 +3,6 @@ _by Brian A. Dominick_ |
3 | 3 | <img src="media/images/Logo_vectorized_resized.png" style="background-color: transparent;" width = 50 height = 50> |
4 | 4 | </p> |
5 | 5 | |
6 | - |
|
7 | -Auteur : Brian A. Dominick |
|
8 | - |
|
9 | 6 | <br /> |
10 | 7 | |
11 | 8 | *** |
config.rb
... | ... | @@ -0,0 +1,273 @@ |
1 | + # Launch Gollum using a specific git adapter. See https://github.com/gollum/gollum/wiki/Git-adapters |
|
2 | + # Default: rugged |
|
3 | + # |
|
4 | + # Equivalent to --adapter [ADAPTER] |
|
5 | + |
|
6 | + module Gollum |
|
7 | + # to require 'my_adapter': |
|
8 | + Gollum::GIT_ADAPTER = "my" |
|
9 | + end |
|
10 | + |
|
11 | + wiki_options = { |
|
12 | + |
|
13 | + ############################################################################## |
|
14 | + # Command line option equivalents |
|
15 | + |
|
16 | + #----------------------------------------------------------------------------- |
|
17 | + |
|
18 | + #----------------------------------------------------------------------------- |
|
19 | + # Enable file uploads. If set to 'dir', Gollum will store all uploads in the |
|
20 | + # /uploads/ directory in repository root. If set to 'page', Gollum will |
|
21 | + # store each upload at the currently edited page. |
|
22 | + # Default: false |
|
23 | + |
|
24 | + # Equivalent to --allow-uploads dir |
|
25 | + #allow_uploads: true, |
|
26 | + |
|
27 | + # Equivalent to --allow-uploads page |
|
28 | + #allow_uploads: true, |
|
29 | + #per_page_uploads: true, |
|
30 | + |
|
31 | + #----------------------------------------------------------------------------- |
|
32 | + # Set the path to look for static assets. |
|
33 | + # |
|
34 | + # Equivalent to --assets [PATH] |
|
35 | + |
|
36 | + #static_assets_path: [PATH] |
|
37 | + |
|
38 | + #----------------------------------------------------------------------------- |
|
39 | + # Tell Gollum that the git repository should be treated as bare. |
|
40 | + # |
|
41 | + # Equivalent to --bare |
|
42 | + |
|
43 | + #repo_is_bare: true, |
|
44 | + |
|
45 | + #----------------------------------------------------------------------------- |
|
46 | + # Specify the leading portion of all Gollum URLs (path info). Setting this to |
|
47 | + # /wiki will make the wiki accessible under http://localhost:4567/wiki/. |
|
48 | + # Default: / |
|
49 | + # |
|
50 | + # Equivalent to --base-path [PATH] |
|
51 | + |
|
52 | + #base_path: [PATH], |
|
53 | + |
|
54 | + #----------------------------------------------------------------------------- |
|
55 | + # Enable support for annotations using CriticMarkup. |
|
56 | + # |
|
57 | + # Equivalent to --critic-markup |
|
58 | + |
|
59 | + #critic_markup: true, |
|
60 | + |
|
61 | + #----------------------------------------------------------------------------- |
|
62 | + # Tell Gollum to inject custom CSS into each page. Uses custom.css from wiki |
|
63 | + # root |
|
64 | + # |
|
65 | + # Equivalent to --css |
|
66 | + |
|
67 | + #css: true, |
|
68 | + |
|
69 | + #----------------------------------------------------------------------------- |
|
70 | + # Parse and interpret emoji tags (e.g. :heart:) except when the leading colon |
|
71 | + # is backslashed (e.g. \:heart:). |
|
72 | + # |
|
73 | + # Equivalent to --emoji |
|
74 | + |
|
75 | + #emoji: true, |
|
76 | + |
|
77 | + #----------------------------------------------------------------------------- |
|
78 | + # Tell Gollum to use the first <h1> as page title. |
|
79 | + # |
|
80 | + # Equivalent to --h1-title |
|
81 | + |
|
82 | + #h1_title: true, |
|
83 | + |
|
84 | + #----------------------------------------------------------------------------- |
|
85 | + # Specify the hostname or IP address to listen on. |
|
86 | + # Default: '0.0.0.0'. |
|
87 | + # |
|
88 | + # Equivalent to --host [HOST] |
|
89 | + |
|
90 | + # ??? |
|
91 | + |
|
92 | + #----------------------------------------------------------------------------- |
|
93 | + # Launch Gollum in "console mode", with a predefined API. |
|
94 | + # |
|
95 | + # Equivalent to --irb |
|
96 | + |
|
97 | + # ??? |
|
98 | + |
|
99 | + #----------------------------------------------------------------------------- |
|
100 | + # Tell Gollum to inject custom JS into each page. Uses custom.js from wiki |
|
101 | + # root. |
|
102 | + # |
|
103 | + # Equivalent to --js |
|
104 | + |
|
105 | + #js: true, |
|
106 | + |
|
107 | + #----------------------------------------------------------------------------- |
|
108 | + # Compatibility with 4.x |
|
109 | + # https://github.com/gollum/gollum/wiki/5.0-release-notes#compatibility-option |
|
110 | + # |
|
111 | + # Internal links resolve case-insensitively, will treat spaces as hyphens, and |
|
112 | + # will match the first page found with a certain filename, anywhere in the |
|
113 | + # repository. Provides compatibility with Gollum 4.x. |
|
114 | + # |
|
115 | + # Equivalent to --lenient-tag-lookup |
|
116 | + |
|
117 | + #hyphened_tag_lookup: true, |
|
118 | + #case_insensitive_tag_lookup: true, |
|
119 | + #global_tag_lookup: true, |
|
120 | + |
|
121 | + #----------------------------------------------------------------------------- |
|
122 | + # Enables MathJax (renders mathematical equations). By default, uses the |
|
123 | + # TeX-AMS-MML_HTMLorMML config with the autoload-all extension.5 |
|
124 | + # |
|
125 | + # Equivalent to --mathjax |
|
126 | + |
|
127 | + #mathjax: true, |
|
128 | + |
|
129 | + #----------------------------------------------------------------------------- |
|
130 | + # Specify path to a custom MathJax configuration. |
|
131 | + # Default: mathjax.config.js file from repository root. |
|
132 | + # |
|
133 | + # Equivalent to --mathjax-config [FILE] |
|
134 | + |
|
135 | + #mathjax_config: [FILE], |
|
136 | + |
|
137 | + #----------------------------------------------------------------------------- |
|
138 | + # Do not render metadata tables in pages. |
|
139 | + # |
|
140 | + # Equivalent to --no-display-metadata |
|
141 | + |
|
142 | + #display_metadata: false, |
|
143 | + |
|
144 | + #----------------------------------------------------------------------------- |
|
145 | + # Disable the feature of editing pages. |
|
146 | + # Default: true |
|
147 | + # |
|
148 | + # Equivalent to --no-edit |
|
149 | + |
|
150 | + #allow_editing: false, |
|
151 | + |
|
152 | + #----------------------------------------------------------------------------- |
|
153 | + # Specify the subdirectory for all pages. If set, Gollum will only serve pages |
|
154 | + # from this directory and its subdirectories. |
|
155 | + # Default: repository root. |
|
156 | + # |
|
157 | + # Equivalent to --page-file-dir [PATH] |
|
158 | + |
|
159 | + #page_file_dir: [PATH], |
|
160 | + |
|
161 | + #----------------------------------------------------------------------------- |
|
162 | + # Follow pages across renames in the History view. |
|
163 | + # Default: true. |
|
164 | + |
|
165 | + # Equivalent to --follow-renames |
|
166 | + #follow_renames: true, |
|
167 | + |
|
168 | + # Equivalent to --no-follow-renames |
|
169 | + #follow_renames: false, |
|
170 | + |
|
171 | + #----------------------------------------------------------------------------- |
|
172 | + # Specify the port to bind Gollum with. |
|
173 | + # Default: 4567. |
|
174 | + # |
|
175 | + # Equivalent to --port [PORT] |
|
176 | + |
|
177 | + # ??? |
|
178 | + |
|
179 | + #----------------------------------------------------------------------------- |
|
180 | + # Specify the git branch to serve. |
|
181 | + # Default: master. |
|
182 | + # |
|
183 | + # Equivalent to --ref [REF] |
|
184 | + |
|
185 | + #ref: [REF], |
|
186 | + |
|
187 | + #----------------------------------------------------------------------------- |
|
188 | + # Use static assets. |
|
189 | + # Defaults to false in development/test, true in |
|
190 | + # production/staging. |
|
191 | + |
|
192 | + # Equivalent to --static |
|
193 | + #static: true, |
|
194 | + |
|
195 | + # Equivalent to --no-static |
|
196 | + #static: false, |
|
197 | + |
|
198 | + #----------------------------------------------------------------------------- |
|
199 | + # Specify custom mustache template directory. |
|
200 | + # |
|
201 | + # Equivalent to --template-dir [PATH] |
|
202 | + |
|
203 | + #template_dir: [PATH], |
|
204 | + |
|
205 | + #----------------------------------------------------------------------------- |
|
206 | + # Use _Template in root as a template for new pages. Must be committed. |
|
207 | + # |
|
208 | + # Equivalent to --template-page |
|
209 | + |
|
210 | + #template_page: true, |
|
211 | + |
|
212 | + #----------------------------------------------------------------------------- |
|
213 | + # Tell Gollum to use specific user icons for history view. Can be set to |
|
214 | + # gravatar, identicon or none. |
|
215 | + # Default: none. |
|
216 | + # |
|
217 | + # Equivalent to --user-icons [MODE] |
|
218 | + |
|
219 | + #user_icons: [MODE], |
|
220 | + |
|
221 | + ############################################################################## |
|
222 | + # Metadata (front matter) |
|
223 | + |
|
224 | + #----------------------------------------------------------------------------- |
|
225 | + # Header counting |
|
226 | + # Default: false |
|
227 | + # Can also be a pre-defined counter. See |
|
228 | + # https://www.w3.org/TR/css-counter-styles-3/#predefined-counters |
|
229 | + |
|
230 | + header_enum: true, |
|
231 | + #header_enum: 'decimal-leading-zero', |
|
232 | + |
|
233 | + #----------------------------------------------------------------------------- |
|
234 | + # Global metadata. Arbitrary metadata that will be applied to each page. |
|
235 | + |
|
236 | + #metadata: { |
|
237 | + # monkeyboys: 'are loose in the facility' |
|
238 | + #}, |
|
239 | + |
|
240 | + ############################################################################## |
|
241 | + # Tips |
|
242 | + |
|
243 | + #----------------------------------------------------------------------------- |
|
244 | + # Force table of contents tag ([[_TOC_]]) into each page. |
|
245 | + # ??? How to set the level in the configuration file? |
|
246 | + # https://github.com/gollum/gollum/wiki#table-of-contents-toc-tag |
|
247 | + # Default: false |
|
248 | + |
|
249 | + #universal_toc: false, |
|
250 | + |
|
251 | + #----------------------------------------------------------------------------- |
|
252 | + # Move the sidebar to the left of the page |
|
253 | + # https://github.com/gollum/gollum/issues/1450#issuecomment-599124384 |
|
254 | + |
|
255 | + #sidebar: :left, |
|
256 | + |
|
257 | + #----------------------------------------------------------------------------- |
|
258 | + # Change the home page name |
|
259 | + # https://github.com/gollum/gollum/issues/1569#issuecomment-633033895 |
|
260 | + |
|
261 | + #index_page: 'index', |
|
262 | + |
|
263 | + #----------------------------------------------------------------------------- |
|
264 | + # Change the number of changes in the rss feed |
|
265 | + |
|
266 | + #pagination_count: 15 |
|
267 | + } |
|
268 | + |
|
269 | + #------------------------------------------------------------------------------- |
|
270 | + # Change default markup |
|
271 | + #Precious::App.set(:default_markup, :asciidoc) |
|
272 | + |
|
273 | + Precious::App.set(:wiki_options, wiki_options) |
|
... | ... | \ No newline at end of file |