Skip to content

genotrance/nim-docset

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 1 commit ahead of niv:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Docsets for Nim in Dash, Zeal or Velocity

Install in reader

To install latest version into your docset reader, use this feed URL.

Download and extract

To installed a versioned release that allows multiple versions to coexist, download from the Github releases page and extract to the docset directory configured in the reader.

Generating docs

Prerequisites

  • Ensure a working GCC install and Nim install
  • Install Go lang and go get -u github.com/technosophos/dashing
  • Clone this repo

Non-versioned docset

To create a docset ready to upload to Kapeli:

nim e docset.nims

This will create Nim.tgz in the current directory.

Versioned docset

To create a versioned docset found in the releases page:

nim e docset.nims --version

This will create nim-x.y.z.docset.zip in the current directory.

Target compiler

By default, docs will be generated for the Nim compiler that ran the script. If you need to point to another location, specify /path/to/nim/root as a parameter.

Credits

Thanks to the work from niv and wicast.

About

Docsets for Nim in Dash, Zeal or Velocity

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Nim 100.0%