Skip to content

Veda is a simple git based documentation viewer. It allows you to mount documentation fast and easy in your app.

Notifications You must be signed in to change notification settings

emilebosch/veda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Veda

Collaborate documentation and WIKI

What is Veda?

Veda is Git based documentation system, it aims to simplify writing documentation and text using the same methodologies as writing code. Everyone can fork and contribute documentation.

Getting Veda

Veda is still in prerelease. But you can get a sneak peek by running:

gem install veda --pre

In case you use RBENV type rbenv rehash to make the veda command available. Then go in to a directory with markdown and type:

veda

to start the veda server. You can then browse to http://localhost:4567 to read the documentation.

Pow veda

You can also add it easy to pow with:

veda pow

Installing Veda documentation

Veda makes it easy to download and view documentation written on github.

veda install emilebosch/guides

It will clone the repo from github, install it in ~/.veda/library/emilebosch/guides.

To view a list of locally installed documentation type:

veda list

Mounting Veda in Rails apps

You can mount Veda also in your rails app like any other rack app. This allows you to expose your documentation fast and easy. Just put this baby in your routes.rb

mount Veda::Server.new(Rails.root.join("./docs"), Rails.root) => "/docs"

Extending Veda

You can extend veda by placing a Vedafile in a directory. This will be loaded runtime.

You can then freedompatch Veda into awesomeness.

Providing your own views

For instance, u can provide your own views, u can just patch the Veda::Server.

class Veda::Server
  set :root, File.dirname(__FILE__)
end

Hacking on Veda

Yes, please help out and make Veda awesome! I need your mad skills to take this further.

Now, because Veda, relies on git, there is a git repo in a git repo. (GITCEPTION! OMG!) Anyway, since, i haven't found an elegant way to do this yet (Please PR one!) You need to run rake unzip to unzip the test repo.

So in short, to test:

bundle rake unzip
bundle rake

To run locally:

bundle exec veda

About

Veda is a simple git based documentation viewer. It allows you to mount documentation fast and easy in your app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published