Sha256: 7aa8f472a456ca026caa250cdda2f9307c0ea868219db0875f3d68c8866bcff4

Contents?: true

Size: 1.74 KB

Versions: 3

Compression:

Stored size: 1.74 KB

Contents

# RTFDoc

Generate beautiful static documentation for your APIs.

## Installation

You can install the gem globally using the following command. It will install the `rtfdoc` binary for generating new projects from scratch.

```
$ gem install rtfdoc
```

## Usage

You can scaffold a new project using `rtfdoc bootstrap <project_name>`. It will create a skeleton for your project, and generate needed configuration files.

Once in your project directory, you can install ruby dependencies using `bundle install` and javascript dependencies using `yarn install`. Then we want to stub the binary by running `bundle binstubs bundler rtfdoc`.
And finally, you'll copy the assets source by running `bin/rtfdoc install`.

By convention, you should put your documentation content under the `content/` directory. If you don't follow this convention, don't forget to modify the configuration file as well.

When you're done writing your documentation, you can define the order they will appear on your page using the ` config.yml` file (see `examples/`).

Finally, you can use `yarn run build` to generate the HTML/CSS/JS files.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ccocchi/rtfdoc. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Code of Conduct

Everyone interacting in the RTFDoc project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ccocchi/rtfdoc/blob/master/CODE_OF_CONDUCT.md).

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rtfdoc-0.1.5 README.md
rtfdoc-0.1.4 README.md
rtfdoc-0.1.3 README.md