Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ccocchi/rtfdoc
Generate beautiful static documention for your APIs from markdown.
https://github.com/ccocchi/rtfdoc
documentation-generator markdown ruby
Last synced: 17 days ago
JSON representation
Generate beautiful static documention for your APIs from markdown.
- Host: GitHub
- URL: https://github.com/ccocchi/rtfdoc
- Owner: ccocchi
- License: mit
- Created: 2020-06-30T23:11:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-27T18:10:16.000Z (almost 4 years ago)
- Last Synced: 2024-10-10T03:32:16.782Z (28 days ago)
- Topics: documentation-generator, markdown, ruby
- Language: Ruby
- Homepage:
- Size: 138 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this 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 `. 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).