Project

rtfdoc

0.0
No commit activity in last 3 years
No release in over 3 years
Generate beautiful static documention for your APIs from markdown
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17
~> 5.0
~> 13.0

Runtime

~> 1.9.0
~> 3.5.0
~> 3.22.0
~> 1.0.1
 Project Readme

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 code of conduct.

License

The gem is available as open source under the terms of the MIT License.

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.