Skip to content

Custom YARD template for AppTweak Ruby documentation with enhanced styling and features.

License

Notifications You must be signed in to change notification settings

apptweak/yard-apptweak-template

 
 

Repository files navigation

AppTweak Ruby YARD Template

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.

Features

  • Custom styling aligned with AppTweak branding
  • Optimized layout for Ruby documentation
  • Improved navigation and searchability

Installation

Make sure YARD and yard-apptweak-template are installed:

gem install yard
gem install yard-apptweak-template

Development Scripts

The repository includes several utility scripts in the bin directory:

bin/setup

Sets up the development environment by installing dependencies and configuring development hooks:

bin/setup

bin/console

Launches an interactive Ruby console with the gem already loaded:

bin/console

bin/new_release

Manages the release process for the gem, including version bumping, commit creation, and tagging:

bin/new_release

Configuration

Example .yardopts configuration file:

--title "AppTweak Ruby Documentation"
--no-api
--no-private
--plugin yard-apptweak-template
**/*.rb
-
docs/*.md

Usage

Generate Documentation

yardoc --plugin apptweak-template

Exclude a Specific Version

yardoc --query '@version.text != "AppTweak 2018"'

Generate Stubs

yardoc -t stubs -f text

Generate Coverage Manifest

yardoc -t coverage -f text

Contributing

Contributions to improve this template are welcome. Please submit a pull request to discuss/challenge the proposed changes.

License

Copyright (c) 2025 AppTweak. All rights reserved.

Contact

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

About

Custom YARD template for AppTweak Ruby documentation with enhanced styling and features.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 71.4%
  • HTML 19.2%
  • CSS 5.9%
  • JavaScript 1.8%
  • Shell 1.7%