Put installation instructions on a separate docs page

openid
Marcin Kulik 11 years ago
parent 0740174224
commit 3ecf1ff936

@ -2,7 +2,8 @@ h1 Docs
ul.delimited
li = link_to_category 'About', docs_path(:about), :about
li = link_to_category 'Getting started', docs_path(:record), :record
li = link_to_category 'Getting started', docs_path(:gettingstarted), :gettingstarted
li = link_to_category 'Installation', docs_path(:installation), :installation
li = link_to_category 'Recorder options', docs_path(:options), :options
li = link_to_category 'Embedding', docs_path(:embedding), :embedding
li = link_to_category 'FAQ', docs_path(:faq), :faq

@ -2,7 +2,7 @@ markdown:
# Getting started
## 1. Install recorder
## 1. Install the recorder
The latest __stable version__ of asciinema can always be installed or updated
to via [pip](http://www.pip-installer.org/en/latest/index.html) (prefered) or
@ -10,18 +10,8 @@ markdown:
sudo pip install --upgrade asciinema
Alternatively:
sudo easy_install asciinema
Or, you can install the __development version__ directly from GitHub:
sudo pip install --upgrade https://github.com/sickill/asciinema/tarball/master
Arch Linux users can install the
[AUR](https://aur.archlinux.org/packages/asciinema/) package:
yaourt -S asciinema
See [installation docs](#{docs_path(:installation)}) for all installation
methods.
## 2. Record

@ -0,0 +1,22 @@
markdown:
# Installation
The latest __stable version__ of asciinema can always be installed or updated
to via [pip](http://www.pip-installer.org/en/latest/index.html) (prefered) or
easy\_install:
sudo pip install --upgrade asciinema
Alternatively:
sudo easy_install asciinema
Or, you can install the __development version__ directly from GitHub:
sudo pip install --upgrade https://github.com/sickill/asciinema/tarball/master
Arch Linux users can install the
[AUR](https://aur.archlinux.org/packages/asciinema/) package:
yaourt -S asciinema

@ -1,3 +1,3 @@
ul
li = link_to "Browse", browse_path
li = link_to "Docs", docs_path(:record)
li = link_to "Docs", docs_index_path

@ -11,7 +11,7 @@ Asciinema::Application.routes.draw do
get "/~:nickname" => "users#show", :as => :profile
get "/docs" => "docs#show", :page => 'record', :as => :docs_index
get "/docs" => "docs#show", :page => 'gettingstarted', :as => :docs_index
get "/docs/:page" => "docs#show", :as => :docs
get "/auth/:provider/callback" => "sessions#create"

Loading…
Cancel
Save