0

我是使用终端的新手,但想使用 Jekyll 启动和运行一个站点。我已按照此处的步骤进行操作,并且可以正常工作:http ://www.andrewmunsell.com/tutorials/jekyll-by-example/index.html

终端似乎表现得很奇怪。例如,当我输入 时jekyll help,我会显示以下消息,并且会重复很多次。然后我似乎没有能力在终端中输入任何其他内容。

NAME:

jekyll

DESCRIPTION:

Jekyll is a blog-aware, static site generator in Ruby

COMMANDS:

build                Build your site                
default                             
docs                 Launch local server with docs for Jekyll v1.1.2        
doctor               Search site and print specific deprecation
warnings                
help                 Display global or [command] help documentation.        
import               Import your old blog to Jekyll         
new                  Creates a new Jekyll site scaffold in PATH             
serve                Serve your site locally                

ALIASES:

hyde                 doctor   
server               serve   

GLOBAL OPTIONS:

-s, --source [DIR] 
    Source directory (defaults to ./)

-d, --destination [DIR] 
    Destination directory (defaults to ./_site)

--safe 
    Safe mode (defaults to false)

-p, --plugins PLUGINS_DIR1[,PLUGINS_DIR2[,...]] 
    Plugins directory (defaults to ./_plugins)

--layouts 
    Layouts directory (defaults to ./_layouts)

-h, --help 
    Display help documentation

-v, --version 
    Display version information

-t, --trace 
    Display backtrace when an error occurs

~
~
(END) 

我的设置可能有问题导致这种情况吗?

4

1 回答 1

1

不用担心!jekyll help正在使用一个名为less“分页器”的程序。它使您能够读取一个大文件(在本例中为 Jekyll 的帮助文本)。

j您可以使用和上下移动k。要退出,请键入q

祝你好运,继续学习。:)

于 2013-09-02T15:54:50.743 回答