alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Label#to_reference
Returns the String necessary to reference this Label in Markdown format - Symbol format to use (default: :id, optional: :name) Examples: Label.first.to_reference # => "~1" Label.first.to_reference(format: :name) # => "~\"bug\"" Label.first.to_reference(project, target_project: same_namespace_project) # => "gitlab-ce~1" Label.first.to_reference(project, target_project: another_namespace_project) # => "gitlab-org/gitlab-ce~1" Returns a String
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Label-to_reference-for-pr
# Commit to gitgit add git commit -m "better docs for Label#to_reference"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Label-to_reference-for-pr
hub pull-request
# Celebrate!