-
Notifications
You must be signed in to change notification settings - Fork 64
Editing the Wiki
Anthony Mastrean edited this page Feb 12, 2014
·
1 revision
The built-in Github wiki is implemented using [gollum][2]. For more complex editing it's possible to clone the wiki and work locally. The basic structure of the wiki is
-
/Home.md
-- The home page that appears when users click on [the wiki link][3]. -
dev/
-- Pages relating to the development of Albacore. -
tasks/
-- Detailed documentation of each task.
-
Clone the wiki repository using the [writeable SSH address][1].
$ git clone git@github.com/...
-
Install the gollum wiki and Markdown markup format gems.
$ gem install gollum $ gem install rdiscount
-
Run Bundler to install all of the wiki prerequisites.
$ bundle
-
Start a local gollum webserver on http://127.0.0.1:4567 to preview the latest commited changes. Don't forget to
git commit
before you run gollum!$ bundle exec gollum
- Each task should have its own page located in
tasks/MyTaskName-Task.ext
. - Images for each project should be placed into the
tasks/images/task-name/
directory. - The sidebar
_Sidebar.md
should be updated with a link to the task.
Follow the Markdown template below for each task page.
# The Task Name
A description of the task and a sample of the task using the most likely properties.
```ruby
customtask :name do |x|
x.some_property = 'some/path/value'
x.another_property = 'foo'
end
[1]: https://github.com/Albacore/albacore/wiki/_access
[2]: https://github.com/gollum/gollum#gollum----a-wiki-built-on-top-of-git
[3]: http://github.com/Albacore/albacore/wiki