From 16676e0788c82731dbd3baf6e8ad8a9477b75569 Mon Sep 17 00:00:00 2001 From: Dawa Ometto Date: Fri, 27 Mar 2020 16:06:40 +0100 Subject: [PATCH] Update README.md (#1508) * Update --css and --js documentation in bin/gollum See https://github.com/gollum/gollum/issues/1507 --- README.md | 4 ++-- bin/gollum | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 567e4333..8162ca80 100644 --- a/README.md +++ b/README.md @@ -111,8 +111,8 @@ Gollum comes with the following command line options: | --page-file-dir | [PATH] | Specify the subdirectory for all pages. If set, Gollum will only serve pages from this directory and its subdirectories. Default: repository root. | | --static, --no-static | none | Use static assets. Defaults to false in development/test, true in production/staging. | | --assets | [PATH] | Set the path to look for static assets. | -| --css | none | Tell Gollum to inject custom CSS into each page. Uses `custom.css` from repository root.3,5 | -| --js | none | Tell Gollum to inject custom JS into each page. Uses `custom.js` from repository root.3,5 | +| --css | none | Tell Gollum to inject custom CSS into each page. Uses `custom.css` from wiki root.3 | +| --js | none | Tell Gollum to inject custom JS into each page. Uses `custom.js` from wiki root.3 | | --no-edit | none | Disable the feature of editing pages. | | --follow-renames, --no-follow-renames | none | Follow pages across renames in the History view. Default: true. | --allow-uploads | [MODE] | Enable file uploads. If set to `dir`, Gollum will store all uploads in the `/uploads/` directory in repository root. If set to `page`, Gollum will store each upload at the currently edited page.4 | diff --git a/bin/gollum b/bin/gollum index ad7a518e..897a9f0d 100755 --- a/bin/gollum +++ b/bin/gollum @@ -100,10 +100,10 @@ MSG opts.on('--assets [PATH]', 'Set the path to look for static assets. Only used if --static is set to true, or environment is production/staging. Default: ./public/assets') do |path| wiki_options[:static_assets_path] = path end - opts.on('--css', 'Inject custom CSS into each page. The \'/custom.css\' file is used (must be committed).') do + opts.on('--css', 'Inject custom CSS into each page. The \'/custom.css\' file is used (must be committed).') do wiki_options[:css] = true end - opts.on('--js', 'Inject custom JavaScript into each page. The \'/custom.js\' file is used (must be committed).') do + opts.on('--js', 'Inject custom JavaScript into each page. The \'/custom.js\' file is used (must be committed).') do wiki_options[:js] = true end opts.on('--no-edit', 'Disable the feature of editing pages.') do