This is the customized YARD template that the AppTweak team can use to generate YARD documentation for their Ruby codebase. It is made available for easy re-use.
- Custom styling aligned with AppTweak branding
- Optimized layout for Ruby documentation
- Improved navigation and searchability
Make sure YARD and yard-apptweak-template are installed:
gem install yard
gem install yard-apptweak-template
The repository includes several utility scripts in the bin
directory:
Sets up the development environment by installing dependencies and configuring development hooks:
bin/setup
Launches an interactive Ruby console with the gem already loaded:
bin/console
Manages the release process for the gem, including version bumping, commit creation, and tagging:
bin/new_release
Example .yardopts
configuration file:
--title "AppTweak Ruby Documentation"
--no-api
--no-private
--plugin yard-apptweak-template
**/*.rb
-
docs/*.md
yardoc --plugin apptweak-template
yardoc --query '@version.text != "AppTweak 2018"'
yardoc -t stubs -f text
yardoc -t coverage -f text
Contributions to improve this template are welcome. Please submit a pull request to discuss/challenge the proposed changes.
Copyright (c) 2025 AppTweak. All rights reserved.
This project is maintained by the AppTweak Developer Experience team. For questions or support, please contact the AppTweak DevEx team on Slack.
Made with ❤️ by the AppTweak DevEx team