compass

https://github.com/chriseppstein/compass

CSS

Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.

Compass::Configuration::Data#asset_host

When called with a block, defines the asset host url to be used.
The block must return a string that starts with a protocol (E.g. http).
The block will be passed the root-relative url of the asset.
When called without a block, returns the block that was previously set.

Source | Google | Stack overflow

Edit

git clone [email protected]:chriseppstein/compass.git

cd compass

open core/lib/compass/configuration/data.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Compass--Configuration--Data-asset_host-for-pr


# Commit to git

git add core/lib/compass/configuration/data.rbgit commit -m "better docs for Compass::Configuration::Data#asset_host"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Compass--Configuration--Data-asset_host-for-pr

hub pull-request


# Celebrate!