Git Product home page Git Product logo

udocs's Introduction

UDocs Build Status

udocs is a Go CLI that lets developers easily build, deploy, and publish their app's documentation guide. Documentation content is written in Markdown, and persisted in a docs/ directory at the root of your project's Git repository. From there, udocs can render the guide's content to HTML, and optionally serve it locally over HTTP for viewing, or send it to a remote UDocs instance for hosting.


Features

  • Easy-to-use CLI
  • Fast Markdown to HTML rendering
  • Cross-document search (powered by bleve)
  • Live-reloading of UDocs server when making local document changes
  • MongoDB compatible
  • Single binary
  • Quip document support (beta)
  • Customizable primary color

Installation

GitHub releases are coming soon.

Requirements

  • Go 1.7+
  • Linux or OS X operating systems

Clone and build from source

$ go get -u github.com/UltimateSoftware/udocs

Usage

$ udocs --help                                                                                                                 

Description:
  UDocs is a CLI library for Go that easily renders Markdown documentation guides to HTML, and serves them over HTTP.

Usage:
  udocs [command]

Available Commands:
  build       Build a docs directory
  destroy     Destroy a docs directory from a remote UDocs server
  env         Show UDocs local environment information
  publish     Publish docs to a remote UDocs host
  serve       Renders docs directories, and serves them locally over HTTP
  tar         Tar a docs directory
  validate    Validate a docs directory
  version     Show UDocs version

Use "udocs [command] --help" for more information about a command.

Configuration

More detailed notes are on the way...

udocs is configurable via the following environment varibles:

  • UDOCS_ENTRY_POINT
  • UDOCS_PORT
  • UDOCS_BIND_ADDR
  • UDOCS_EMAIL
  • UDOCS_ROOT_ROUTE
  • UDOCS_ROUTES
  • UDOCS_ORGANIZATION
  • UDOCS_SEARCH_PLACEHOLDER
  • UDOCS_MONGO_URL
  • UDOCS_QUIP_ACCESS_TOKEN
  • UDOCS_PRIMARY_COLOR

Executing udocs env will output the state of your current, local environment.

Vendored Dependencies

udocs's People

Contributors

patrickrand avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.