discourse

https://github.com/discourse/discourse

Ruby

A platform for community discussion. Free, open, simple.

Discourse.current_hostname_with_port

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:discourse/discourse.git

cd discourse

open lib/discourse.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Discourse-current_hostname_with_port-for-pr


# Commit to git

git add lib/discourse.rbgit commit -m "better docs for Discourse.current_hostname_with_port"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Discourse-current_hostname_with_port-for-pr

hub pull-request


# Celebrate!