TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Looking for a Static wiki generator

1 点作者 bobcattr超过 12 年前
I am looking for a simple static wiki (not blog) generator. All I really need is the static generation of markdown files to be presented in a parent child fashion. Does anything like this exist?<p>The reason being the host system is not powerful enough to run a wiki engine like dokuwiki

3 条评论

1331超过 12 年前
It seems that the terminology is causing some confusion. The definition of a wiki is "a website which allows its users to add, modify, or delete its content via a web browser" [1], which is pretty much the opposite of "static." I assume that what you want is a static site generator that has organisational features that are common in wiki software...<p>My favourite wiki software is Gitit [2]. It uses Pandoc [3] to convert from an input format (such as Markdown) to HTML. Perhaps you could write a simple script that iterates through all source files and renders the HTML to a destination directory using Pandoc, creating any subdirectories as required. That minimal solution should be very easy to implement; adding organisational markup within the HTML would require some programming.<p>[1] <a href="http://en.wikipedia.org/wiki/Wiki" rel="nofollow">http://en.wikipedia.org/wiki/Wiki</a><p>[2] <a href="http://gitit.net/" rel="nofollow">http://gitit.net/</a><p>[3] <a href="http://johnmacfarlane.net/pandoc/" rel="nofollow">http://johnmacfarlane.net/pandoc/</a>
ColinWright超过 12 年前
I'm sure people will chime in with more information here, but you might be interested in previous discussions of this and similar questions:<p><a href="http://news.ycombinator.com/item?id=4860457" rel="nofollow">http://news.ycombinator.com/item?id=4860457</a><p><a href="http://news.ycombinator.com/item?id=4858436" rel="nofollow">http://news.ycombinator.com/item?id=4858436</a><p><a href="http://news.ycombinator.com/item?id=4857473" rel="nofollow">http://news.ycombinator.com/item?id=4857473</a>
评论 #4895870 未加载
ColinWright超过 12 年前
So if it's a wiki, how do you intend to make a change, given that it's static? I'd be interested to see how your solution to that design issue compares with the solution I came up with over a decade ago.
评论 #4896090 未加载