Mislav Marohnić
da562ad74c
replace build system with generated table of contents
Gets rid of `doc/README.mdtoc` and its build script. Since GitHub.com
renders anchors for each heading, all we have to do is put a simple
table of contents into `README.md` itself, and everything will get
linked up nicely.
Pros of this approach:
* We don't have to point out to people not to edit `README.md` anymore
* We don't have to run the build script each time README gets edited
Cons of this change:
* The "chapter" numbers are lost. They were silly anyway.
`doc/mdtoc` renders a Markdown table of contents for a Markdown file.
`doc/filter-toc` filters that down to only headings after ToC.
This script can be used to easily insert ToC into the current document
when editing `README.md` with, e.g., Vim:
:read !doc/filter-toc %
il y a 13 ans
Javier Candeira
7f1aefa09b
fix install instructions for ubuntu (using version 12.04, but should work for all versions)
il y a 13 ans
Guillermo Iguaran
2df165c49e
Sync doc/README.mdtoc with the actual README
All the changes to documentation should be done in doc/README.mdtoc
il y a 13 ans
Patrik Ragnarsson
406c8e0303
Fixed broken link to RVM in documentation
il y a 14 ans
Daryl Manning
5e57ab95ce
Changed doc/README.mdtoc and built README.md and changed nomenclature to 'ruby versions' as requested.
il y a 14 ans
Jussi Virtanen
34813ef32c
Fix typos in documentation
il y a 14 ans
Sam Stephenson
b10bdb1e78
rbenv 0.3.0
il y a 14 ans
Sam Stephenson
5052a4161c
Update readme screenshot to use `global` instead of `set-default` ( fixes #165 )
il y a 14 ans
Sam Stephenson
4cc6665d0a
Zsh users need to modify ~/.zshenv, not ~/.zshrc
il y a 14 ans
Sam Stephenson
01a0ad0b69
rbenv 0.2.1
il y a 15 ans
Sam Stephenson
2bbe2099eb
Missing word
il y a 15 ans
Sam Stephenson
fb0ec9e157
Be explicit about ~
il y a 15 ans
Sam Stephenson
7a929b8a84
Indentation
il y a 15 ans
Sam Stephenson
2cd12e3fa6
rbenv 0.2.0
il y a 15 ans
Sam Stephenson
4965a1d1f7
Style
il y a 15 ans
Sam Stephenson
dc1f583903
"Zsh" is the canonical capitalization
il y a 15 ans
Sam Stephenson
500c6de37c
fill-region
il y a 15 ans
Joshua Peek
88e59647ae
Installation edits
il y a 15 ans
Sam Stephenson
53d45707ca
Add Homebrew to the readme
il y a 15 ans
Sam Stephenson
828051e651
Move intro line above the fold
il y a 15 ans
Sam Stephenson
4712db8edd
Add version history
il y a 15 ans
Sam Stephenson
26a08c6d12
Add upgrade instructions
il y a 15 ans
Sam Stephenson
09d912895f
Fix markdown indentation
il y a 15 ans
Sam Stephenson
ada26ab92e
Document `rbenv which` and `rbenv whence`
il y a 15 ans
Sam Stephenson
a3d3005859
Document `rbenv shell`
il y a 15 ans
Sam Stephenson
aade3ad781
Sync mdtoc source
il y a 15 ans
Sam Stephenson
e43a2039a5
Sync mdtoc source
il y a 15 ans
Sam Stephenson
dfe9889327
Fix ruby-build link
il y a 15 ans
Sam Stephenson
192dc23998
Try a different image url
il y a 15 ans
Sam Stephenson
6c468d6166
Don't highlight the anchors
il y a 15 ans
Sam Stephenson
bfa71017ae
Add TOC header
il y a 15 ans
Sam Stephenson
066d63c0df
Use mdtoc for the readme
il y a 15 ans