Output docs to doc-src/output and drop the /docs prefix

This commit is contained in:
Chris Eppstein 2010-11-21 17:11:43 -08:00
parent e1d822b893
commit c547d48256
39 changed files with 110 additions and 109 deletions

View File

@ -3,9 +3,9 @@ require 'susy'
require 'css-slideshow' require 'css-slideshow'
# Set this to the root of your project when deployed: # Set this to the root of your project when deployed:
http_path = "/docs" http_path = "/"
project_path = File.expand_path(File.join(File.dirname(__FILE__), '..')) project_path = File.expand_path(File.join(File.dirname(__FILE__), '..'))
css_dir = "../docs/stylesheets" css_dir = "output/stylesheets"
sass_dir = "content/stylesheets" sass_dir = "content/stylesheets"
images_dir = "assets/images" images_dir = "assets/images"
javascripts_dir = "assets/javascripts" javascripts_dir = "assets/javascripts"

1
doc-src/.gitignore vendored
View File

@ -1,2 +1,3 @@
bin bin
vendor vendor
output

View File

@ -4,7 +4,7 @@ require 'compass'
Compass.add_configuration "#{File.dirname(__FILE__)}/.compass/config.rb" Compass.add_configuration "#{File.dirname(__FILE__)}/.compass/config.rb"
SITE_ROOT = "/docs" SITE_ROOT = ""
compile '/assets/*/' do compile '/assets/*/' do
nil nil

View File

@ -7,4 +7,4 @@ data_sources:
layouts_root: /assets layouts_root: /assets
type: filesystem_assets type: filesystem_assets
text_extensions: [ 'css', 'erb', 'haml', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'php', 'rb', 'sass', 'scss', 'txt' ] text_extensions: [ 'css', 'erb', 'haml', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'php', 'rb', 'sass', 'scss', 'txt' ]
output_dir: .. output_dir: output

View File

@ -42,13 +42,13 @@ layout: article
* [Compass Core] The gradient mixins now accept a background image that will * [Compass Core] The gradient mixins now accept a background image that will
be placed over the gradient. Credit: [Will Leinweber](http://bitfission.com/) be placed over the gradient. Credit: [Will Leinweber](http://bitfission.com/)
* [Compass Core] You can now opt out of support for specific browsers in * [Compass Core] You can now opt out of support for specific browsers in
the css3 module. See [the docs](/docs/reference/compass/css3/shared/) the css3 module. See [the docs](/reference/compass/css3/shared/)
for more details. for more details.
0.10.0.rc4 (April 27, 2010) 0.10.0.rc4 (April 27, 2010)
--------------------------- ---------------------------
* Lot of new docs can be found at: [http://compass-style.org/docs/](http://compass-style.org/docs/). * Lot of new docs can be found at: [http://compass-style.org/](http://compass-style.org/).
* The `unobtrusive-logo` mixin is deprecated and will be removed. * The `unobtrusive-logo` mixin is deprecated and will be removed.
If you use this, please move the source to your project. If you use this, please move the source to your project.
* The CSS3 modules were refactored to share a common implementation that * The CSS3 modules were refactored to share a common implementation that
@ -84,7 +84,7 @@ layout: article
* Compass now depends on Sass 3 -- Please be prepared to upgrade. * Compass now depends on Sass 3 -- Please be prepared to upgrade.
Things won't break but you'll have a lot of deprecation warnings. Things won't break but you'll have a lot of deprecation warnings.
Upgrading is pretty easy thanks to the `sass-convert` tool. See the Upgrading is pretty easy thanks to the `sass-convert` tool. See the
[Sass Changelog](http://beta.sass-lang.com/docs/yardoc/file.SASS_CHANGELOG.html) [Sass Changelog](http://beta.sass-lang.com/yardoc/file.SASS_CHANGELOG.html)
for more information. for more information.
* All compass stylesheets are now written in the SCSS syntax, * All compass stylesheets are now written in the SCSS syntax,
if you import compass framework stylesheets with an explicit if you import compass framework stylesheets with an explicit

View File

@ -8,11 +8,11 @@ COMPASS CHANGELOG
================= =================
Upgrading compass is really easy. Upgrading compass is really easy.
Don't let all these details [scare you...](/docs/tutorials/upgrading/im-scared/) Don't let all these details [scare you...](/tutorials/upgrading/im-scared/)
The Documentation for the [latest stable release](http://compass-style.org/docs/): The Documentation for the [latest stable release](http://compass-style.org/):
The Documentation for the [latest preview release](http://beta.compass-style.org/docs/) The Documentation for the [latest preview release](http://beta.compass-style.org/)
0.11.alpha.1 (11/15/2010) 0.11.alpha.1 (11/15/2010)
--------------------------- ---------------------------
@ -58,7 +58,7 @@ Our CSS3 module makes writing CSS3 today almost as easy as it will be when all
the browsers officially support the new features. The second version of the the browsers officially support the new features. The second version of the
compass CSS module brings the API up to date with developments over the past compass CSS module brings the API up to date with developments over the past
6 to 9 months of browser changes and more closely matching the most recent CSS 6 to 9 months of browser changes and more closely matching the most recent CSS
specifications. [Upgrade guide](/docs/tutorials/upgrading/css3-v2/). Summary of changes. specifications. [Upgrade guide](/tutorials/upgrading/css3-v2/). Summary of changes.
* Support for multiple box shadows and text shadows * Support for multiple box shadows and text shadows
* Support for 2d and 3d transforms * Support for 2d and 3d transforms
@ -156,7 +156,7 @@ specifications. [Upgrade guide](/docs/tutorials/upgrading/css3-v2/). Summary of
* Can now set `$padding` to `false` to make the `horizontal-list` mixin skip the * Can now set `$padding` to `false` to make the `horizontal-list` mixin skip the
padding properties. padding properties.
* It is now possible to disable support for legacy IE browsers. * It is now possible to disable support for legacy IE browsers.
See [the docs](/docs/reference/compass/support/) for more information. See [the docs](/reference/compass/support/) for more information.
0.10.5 (08/29/2010) 0.10.5 (08/29/2010)
------------------- -------------------
@ -179,7 +179,7 @@ specifications. [Upgrade guide](/docs/tutorials/upgrading/css3-v2/). Summary of
------------------ ------------------
* [Rails] Fixed a bug introduced in 0.10.3 that caused rails applications using the old configuration file (config/compass.config) to break. * [Rails] Fixed a bug introduced in 0.10.3 that caused rails applications using the old configuration file (config/compass.config) to break.
* [Extensions] Make it easier to create manifest files by allowing template files to be discovered. See the Manifest Declarations section of [extensions tutorial](http://compass-style.org/docs/tutorials/extensions/) for details. * [Extensions] Make it easier to create manifest files by allowing template files to be discovered. See the Manifest Declarations section of [extensions tutorial](http://compass-style.org/tutorials/extensions/) for details.
* [Rails] Don't install configuration files when installing extensions. * [Rails] Don't install configuration files when installing extensions.
* [Compass Core] All url helpers now accept a second argument that when true will cause only the path to be emitted. This allows the url helpers to be used with IE filters. * [Compass Core] All url helpers now accept a second argument that when true will cause only the path to be emitted. This allows the url helpers to be used with IE filters.
@ -198,7 +198,7 @@ This will update your compass initializer file.
* Add missing clearfix import to horizontal-list. * Add missing clearfix import to horizontal-list.
* Emit less css for inline lists with the same result. * Emit less css for inline lists with the same result.
* New helper `opposite-position($position)` returns the opposite value of a position. [Documentation](http://compass-style.org/docs/reference/compass/helpers/constants/) * New helper `opposite-position($position)` returns the opposite value of a position. [Documentation](http://compass-style.org/reference/compass/helpers/constants/)
* Allow horizontal lists to be floated to the right. * Allow horizontal lists to be floated to the right.
* Bugfix for inline-font-files helper. * Bugfix for inline-font-files helper.
* `+font-face` mixin no longer uses `$postscript` name or `$style` type variables, in favor of the Paul Irish [smiley bulletproof technique](http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/). Older declarations will still work, but will not apply the variables and will display a deprecation warning. * `+font-face` mixin no longer uses `$postscript` name or `$style` type variables, in favor of the Paul Irish [smiley bulletproof technique](http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/). Older declarations will still work, but will not apply the variables and will display a deprecation warning.
@ -214,7 +214,7 @@ This will update your compass initializer file.
* Support for inputs of type email. * Support for inputs of type email.
### Extensions ### Extensions
* Extensions can now create empty directories with the `directory` directive. [Docs](http://compass-style.org/docs/tutorials/extensions/). * Extensions can now create empty directories with the `directory` directive. [Docs](http://compass-style.org/tutorials/extensions/).
* It's now easier to load extensions from a configuration file using the `load` and `discover` directives. * It's now easier to load extensions from a configuration file using the `load` and `discover` directives.
### Rails ### Rails
@ -253,7 +253,7 @@ This is a bug fix release. [Details on Github.](http://github.com/chriseppstein/
0.10.0 (May 10, 2010) 0.10.0 (May 10, 2010)
--------------------- ---------------------
This changelog entry is condensed from a very long beta release. You can read [the 0.10.0 beta release notes here](/docs/CHANGELOG-v0-10-0-beta/). This changelog entry is condensed from a very long beta release. You can read [the 0.10.0 beta release notes here](/CHANGELOG-v0-10-0-beta/).
### Gem Location ### Gem Location
@ -267,7 +267,7 @@ installed from github, please remove it:
* Compass now depends on Sass 3 -- Please be prepared to upgrade. * Compass now depends on Sass 3 -- Please be prepared to upgrade.
Things won't break but you'll have a lot of deprecation warnings. Things won't break but you'll have a lot of deprecation warnings.
Upgrading is pretty easy thanks to the `sass-convert` tool. See the Upgrading is pretty easy thanks to the `sass-convert` tool. See the
[Sass Changelog](http://sass-lang.com/docs/yardoc/file.SASS_CHANGELOG.html) [Sass Changelog](http://sass-lang.com/yardoc/file.SASS_CHANGELOG.html)
for more information. for more information.
* All compass stylesheets are now written in the SCSS syntax, * All compass stylesheets are now written in the SCSS syntax,
if you import compass framework stylesheets with an explicit if you import compass framework stylesheets with an explicit
@ -351,7 +351,7 @@ installed from github, please remove it:
for both arguments instead of just the first for both arguments instead of just the first
* There is no longer any outline on unstyled links in the :active and :focused states. * There is no longer any outline on unstyled links in the :active and :focused states.
* New CSS3 Compatibility Mixins. You can import them all with `@import compass/css3.sass` * New CSS3 Compatibility Mixins. You can import them all with `@import compass/css3.sass`
Read the [documentation][http://compass-style.org/docs/reference/compass/css3/]. Read the [documentation][http://compass-style.org/reference/compass/css3/].
* The import for `+inline-block` has moved from "compass/utilities/general/inline_block" * The import for `+inline-block` has moved from "compass/utilities/general/inline_block"
to "compass/css3/inline-block". to "compass/css3/inline-block".
* The import for `+opacity` has moved from "compass/utilities/general/opacity" * The import for `+opacity` has moved from "compass/utilities/general/opacity"
@ -412,7 +412,7 @@ installed from github, please remove it:
### Miscellaneous: ### Miscellaneous:
* Lot of new docs can be found at: [http://compass-style.org/docs/](http://compass-style.org/docs/). * Lot of new docs can be found at: [http://compass-style.org/](http://compass-style.org/).
* The compass configuration object is no longer a singleton, this makes it * The compass configuration object is no longer a singleton, this makes it
possible for other ruby software to manage multiple compass projects at a possible for other ruby software to manage multiple compass projects at a
time. time.
@ -985,6 +985,6 @@ Almost definitely. Please let me know if you encounter any problems and I'll get
[der-rich]: http://github.com/der-rich [der-rich]: http://github.com/der-rich
[adamstac]: http://github.com/adamstac [adamstac]: http://github.com/adamstac
[ttilley]: http://github.com/ttilley [ttilley]: http://github.com/ttilley
[inline-block-list]: http://compass-style.org/docs/reference/compass/utilities/lists/inline-block-list/ [inline-block-list]: http://compass-style.org/reference/compass/utilities/lists/inline-block-list/
[html5-reset]: http://compass-style.org/docs/reference/compass/reset/utilities/#mixin-reset-html5 [html5-reset]: http://compass-style.org/reference/compass/reset/utilities/#mixin-reset-html5
[blueprint_10_change]: https://github.com/chriseppstein/compass/compare/a05e1ee7c0a1e4c0f0595a8bb812daa47872e476...864780969d872a93b1fd3b4f39f29dd9f0c3fe75 [blueprint_10_change]: https://github.com/chriseppstein/compass/compare/a05e1ee7c0a1e4c0f0595a8bb812daa47872e476...864780969d872a93b1fd3b4f39f29dd9f0c3fe75

View File

@ -7,4 +7,4 @@ layout: article
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" id="cc-logo"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" /></a><span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/InteractiveResource" property="dc:title" rel="dc:type">Compass Documentation</span> <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" id="cc-logo"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" /></a><span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/InteractiveResource" property="dc:title" rel="dc:type">Compass Documentation</span>
by <a xmlns:cc="http://creativecommons.org/ns#" href="http://eppsteins.net/chris" property="cc:attributionName" rel="cc:attributionURL">Christopher M. Eppstein</a> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://eppsteins.net/chris" property="cc:attributionName" rel="cc:attributionURL">Christopher M. Eppstein</a>
is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>. is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.
Permissions beyond the scope of this license may be available at <a xmlns:cc="http://creativecommons.org/ns#" href="http://compass-style.org/docs/copyright/" rel="cc:morePermissions">http://compass-style.org/docs/copyright/</a>. Permissions beyond the scope of this license may be available at <a xmlns:cc="http://creativecommons.org/ns#" href="http://compass-style.org/copyright/" rel="cc:morePermissions">http://compass-style.org/copyright/</a>.

View File

@ -48,7 +48,7 @@ crumb: Plugins and frameworks
%a %a
http://blueprintcss.org/ http://blueprintcss.org/
%td %td
%a{:href => "/docs/reference/blueprint/"} %a{:href => "/reference/blueprint/"}
Blueprint docs Blueprint docs
%tr %tr
%td YUI %td YUI
@ -152,7 +152,7 @@ crumb: Plugins and frameworks
Sass Libraries Sass Libraries
%p %p
Libraries are simply Sass stylesheets or Libraries are simply Sass stylesheets or
%a{ :href => "http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#partials" } %a{ :href => "http://sass-lang.com/yardoc/file.SASS_REFERENCE.html#partials" }
partials partials
\. \.
%ul %ul

View File

@ -18,4 +18,4 @@ classnames:
to `display: none;` in your printed page. to `display: none;` in your printed page.
See the [compass print utilities][pr_utils] for related functionality. See the [compass print utilities][pr_utils] for related functionality.
[pr_utils]: /docs/reference/compass/utilities/print/ [pr_utils]: /reference/compass/utilities/print/

View File

@ -15,11 +15,11 @@ layout: core
%p %p
The CSS3 module provides cross-browser mixins for CSS properties The CSS3 module provides cross-browser mixins for CSS properties
introduced in CSS3, for example introduced in CSS3, for example
<a href="/docs/reference/compass/css3/border_radius/"><code>border-radius</code></a> <a href="/reference/compass/css3/border_radius/"><code>border-radius</code></a>
and <a href="/docs/reference/compass/css3/text-shadow-v2/"><code>text-shadow</code></a>. and <a href="/reference/compass/css3/text-shadow-v2/"><code>text-shadow</code></a>.
%p %p
What rendering engines you support for the experimental css properties is governed by What rendering engines you support for the experimental css properties is governed by
the configurable variables defined in <a href="/docs/reference/compass/support/">the browser the configurable variables defined in <a href="/reference/compass/support/">the browser
support module</a>. support module</a>.
%h3 Importing the Entire CSS3 Library %h3 Importing the Entire CSS3 Library
%p %p

View File

@ -14,4 +14,4 @@ classnames:
- render 'reference' do - render 'reference' do
%p.warning %p.warning
This import is deprecated. Please import This import is deprecated. Please import
<a href="/docs/reference/compass/css3/box_shadow_v2/" class="better">box-shadow-v2</a> instead. <a href="/reference/compass/css3/box_shadow_v2/" class="better">box-shadow-v2</a> instead.

View File

@ -38,7 +38,7 @@ classnames:
* border-radius * border-radius
* box-shadow * box-shadow
* border-image * border-image
* background (in the form of -pie-background, use the [background mixin](/docs/reference/compass/css3/images/#mixin-background)) * background (in the form of -pie-background, use the [background mixin](/reference/compass/css3/images/#mixin-background))
Additionally, PIE supports the following CSS3 features: Additionally, PIE supports the following CSS3 features:

View File

@ -14,5 +14,5 @@ classnames:
- render 'reference' do - render 'reference' do
%p.warning %p.warning
This import is deprecated. Please import This import is deprecated. Please import
<a href="/docs/reference/compass/css3/text-shadow-v2/" class="better">text-shadow-v2</a> <a href="/reference/compass/css3/text-shadow-v2/" class="better">text-shadow-v2</a>
instead. instead.

View File

@ -14,4 +14,4 @@ classnames:
- render 'reference' do - render 'reference' do
%p.warning %p.warning
This import is deprecated. Please import This import is deprecated. Please import
<a href="/docs/reference/compass/css3/transform-v2/" class="better">transform-v2</a> instead. <a href="/reference/compass/css3/transform-v2/" class="better">transform-v2</a> instead.

View File

@ -14,29 +14,29 @@ layout: core
:markdown :markdown
The compass helpers are functions that augment the [functions provided The compass helpers are functions that augment the [functions provided
by Sass](http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html). by Sass](http://sass-lang.com/yardoc/Sass/Script/Functions.html).
All Helpers: All Helpers:
* [adjust-lightness()](/docs/reference/compass/helpers/colors/#adjust-lightness) * [adjust-lightness()](/reference/compass/helpers/colors/#adjust-lightness)
* [adjust-saturation()](/docs/reference/compass/helpers/colors/#adjust-saturation) * [adjust-saturation()](/reference/compass/helpers/colors/#adjust-saturation)
* [append-selector()](/docs/reference/compass/helpers/selectors/#append-selector) * [append-selector()](/reference/compass/helpers/selectors/#append-selector)
* [color-stops()](/docs/reference/compass/helpers/color-stops/) * [color-stops()](/reference/compass/helpers/color-stops/)
* [cos()](/docs/reference/compass/helpers/trig/#cos) * [cos()](/reference/compass/helpers/trig/#cos)
* [elements-of-type()](/docs/reference/compass/helpers/display/) * [elements-of-type()](/reference/compass/helpers/display/)
* [enumerate()](/docs/reference/compass/helpers/selectors/#enumerate) * [enumerate()](/reference/compass/helpers/selectors/#enumerate)
* [font-files()](/docs/reference/compass/helpers/font-files/) * [font-files()](/reference/compass/helpers/font-files/)
* [font-url()](/docs/reference/compass/helpers/urls/#stylesheet-url) * [font-url()](/reference/compass/helpers/urls/#stylesheet-url)
* [headings()](/docs/reference/compass/helpers/selectors/#headings) * [headings()](/reference/compass/helpers/selectors/#headings)
* [image-width()](/docs/reference/compass/helpers/image-dimensions/#image-width) * [image-width()](/reference/compass/helpers/image-dimensions/#image-width)
* [image-height()](/docs/reference/compass/helpers/image-dimensions/#image-height) * [image-height()](/reference/compass/helpers/image-dimensions/#image-height)
* [image-url()](/docs/reference/compass/helpers/urls/#image-url) * [image-url()](/reference/compass/helpers/urls/#image-url)
* [inline-font-files()](/docs/reference/compass/helpers/inline-data/#inline-font-files) * [inline-font-files()](/reference/compass/helpers/inline-data/#inline-font-files)
* [inline-image()](/docs/reference/compass/helpers/inline-data/#inline-image) * [inline-image()](/reference/compass/helpers/inline-data/#inline-image)
* [nest()](/docs/reference/compass/helpers/selectors/#nest) * [nest()](/reference/compass/helpers/selectors/#nest)
* [pi()](/docs/reference/compass/helpers/trig/#pi) * [pi()](/reference/compass/helpers/trig/#pi)
* [sin()](/docs/reference/compass/helpers/trig/#sin) * [sin()](/reference/compass/helpers/trig/#sin)
* [stylesheet-url()](/docs/reference/compass/helpers/urls/#stylesheet-url) * [stylesheet-url()](/reference/compass/helpers/urls/#stylesheet-url)
* [scale-lightness()](/docs/reference/compass/helpers/colors/#scale-lightness) * [scale-lightness()](/reference/compass/helpers/colors/#scale-lightness)
* [tan()](/docs/reference/compass/helpers/trig/#tan) * [tan()](/reference/compass/helpers/trig/#tan)

View File

@ -18,7 +18,7 @@ classnames:
.details .details
%p %p
The color-stops helper provides a way to pass an arbitrary number of The color-stops helper provides a way to pass an arbitrary number of
colors stops to the <a href="/docs/reference/compass/css3/gradient/">gradient mixins</a>. colors stops to the <a href="/reference/compass/css3/gradient/">gradient mixins</a>.
%p %p
Any number of comma-delimited color stops can be passed, each color stop Any number of comma-delimited color stops can be passed, each color stop
should take the form of a color followed by an optional stopping point (separated by a space). should take the form of a color followed by an optional stopping point (separated by a space).
@ -47,5 +47,5 @@ classnames:
%h4 Examples %h4 Examples
%ul %ul
%li %li
%a(href="/docs/examples/compass/css3/gradient/") Example of Gradients %a(href="/examples/compass/css3/gradient/") Example of Gradients

View File

@ -13,7 +13,7 @@ classnames:
%p %p
These color functions are useful for creating generic libraries that have to accept a These color functions are useful for creating generic libraries that have to accept a
range of inputs. For more color functions see range of inputs. For more color functions see
<a href="http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html">the sass reference <a href="http://sass-lang.com/yardoc/Sass/Script/Functions.html">the sass reference
documentation</a> documentation</a>
#adjust-lightness.helper #adjust-lightness.helper

View File

@ -33,5 +33,5 @@ classnames:
%h4 Examples %h4 Examples
%ul %ul
%li %li
%a(href="/docs/examples/compass/helpers/elements-of-type/") Example of elements-of-type %a(href="/examples/compass/helpers/elements-of-type/") Example of elements-of-type

View File

@ -22,7 +22,7 @@ classnames:
relative to your project's font directory and the second is the format of relative to your project's font directory and the second is the format of
that font. that font.
%p %p
This helper is used with the <a href="/docs/reference/compass/css3/font_face/#mixin-font-face"><code>font-face</code> mixin</a> This helper is used with the <a href="/reference/compass/css3/font_face/#mixin-font-face"><code>font-face</code> mixin</a>
and is what makes it possible to pass any number of font files. and is what makes it possible to pass any number of font files.
%p %p
<a href="http://www.w3.org/TR/css3-fonts/#font-reference-the-src-descriptor">W3C Reference</a> <a href="http://www.w3.org/TR/css3-fonts/#font-reference-the-src-descriptor">W3C Reference</a>
@ -30,6 +30,6 @@ classnames:
%h4 Examples %h4 Examples
%ul %ul
%li %li
%a(href="/docs/examples/compass/css3/font-face/") Font-face Example %a(href="/examples/compass/css3/font-face/") Font-face Example

View File

@ -31,5 +31,5 @@ classnames:
inline-font-files([<span class="arg">$font</span>, <span class="arg">$format</span>]*) inline-font-files([<span class="arg">$font</span>, <span class="arg">$format</span>]*)
.details .details
%p %p
Like the <a href="/docs/reference/compass/helpers/font-files/"><code>font-files()</code></a> helper, but the font Like the <a href="/reference/compass/helpers/font-files/"><code>font-files()</code></a> helper, but the font
file is embedded within the generated CSS file. file is embedded within the generated CSS file.

View File

@ -63,9 +63,9 @@ classnames:
%h4 Examples %h4 Examples
%ul %ul
%li %li
%a(href="/docs/examples/compass/helpers/enumerate/") Example of enumerate %a(href="/examples/compass/helpers/enumerate/") Example of enumerate
%li %li
%a(href="/docs/examples/compass/helpers/using-extend-in-place-of-enumerate/") Example of using <code>@extend</code> in place of enumerate %a(href="/examples/compass/helpers/using-extend-in-place-of-enumerate/") Example of using <code>@extend</code> in place of enumerate
#headings.helper #headings.helper
%h3 %h3

View File

@ -13,4 +13,4 @@ classnames:
- render 'reference' do - render 'reference' do
%p %p
This module provides tools to help you with page layout. This module provides tools to help you with page layout.
So far, it's just the <code><a href="/docs/reference/compass/layout/sticky_footer/#mixin-sticky-footer">sticky-footer</a></code> mixin. So far, it's just the <code><a href="/reference/compass/layout/sticky_footer/#mixin-sticky-footer">sticky-footer</a></code> mixin.

View File

@ -12,10 +12,10 @@ meta_description: Adds a CSS Reset into your stylesheet.
--- ---
- render 'reference' do - render 'reference' do
:markdown :markdown
This module applies the [global reset](/docs/reference/compass/reset/utilities/#mixin-global-reset) This module applies the [global reset](/reference/compass/reset/utilities/#mixin-global-reset)
to your stylesheet by simply importing it. to your stylesheet by simply importing it.
**Note:** This module will place styles into your stylesheet by importing it. This **Note:** This module will place styles into your stylesheet by importing it. This
is not the standard behavior of a compass module but it optimizes the common use case. is not the standard behavior of a compass module but it optimizes the common use case.
If you want to control the reset, please use the mixins defined in the [reset If you want to control the reset, please use the mixins defined in the [reset
utilities module](/docs/reference/compass/reset/utilities/) utilities module](/reference/compass/reset/utilities/)

View File

@ -4,8 +4,8 @@ crumb: Search
body_id: search body_id: search
--- ---
- content_for(:javascripts) do - content_for(:javascripts) do
%script(type="text/javascript" src="/docs/javascripts/search-data.js") %script(type="text/javascript" src="/javascripts/search-data.js")
%script(type="text/javascript" src="/docs/javascripts/jquery.url.packed.js") %script(type="text/javascript" src="/javascripts/jquery.url.packed.js")
:javascript :javascript
$(function(){ $(function(){
if ($.url.param("q")) { if ($.url.param("q")) {

View File

@ -102,7 +102,7 @@ For instance, don't use `table thead tr th` when a simple `th` selector will
suffice. This might mean that you have to separate your styles into several suffice. This might mean that you have to separate your styles into several
selectors and let the document cascade work to your advantage. selectors and let the document cascade work to your advantage.
[1]: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#partials [1]: http://sass-lang.com/yardoc/file.SASS_REFERENCE.html#partials
[2]: http://groups.google.com/group/compass-users/browse_frm/thread/0ed216d409476f88 [2]: http://groups.google.com/group/compass-users/browse_frm/thread/0ed216d409476f88
[3]: http://wiki.github.com/chriseppstein/compass/overriding-constants [3]: http://wiki.github.com/chriseppstein/compass/overriding-constants
[4]: http://c2.com/cgi/wiki?DontRepeatYourself [4]: http://c2.com/cgi/wiki?DontRepeatYourself

View File

@ -67,7 +67,7 @@ classnames:
%ul %ul
%li %li
%a(href="/docs/reference/blueprint/buttons/") Blueprint Buttons %a(href="/reference/blueprint/buttons/") Blueprint Buttons
%li %li
%a(href="/docs/reference/blueprint/link_icons/") Blueprint Link Icons %a(href="/reference/blueprint/link_icons/") Blueprint Link Icons

View File

@ -11,7 +11,7 @@ This page lists the compass commands you can use to set up and manage your proje
You may also find one of these walk throughs useful: You may also find one of these walk throughs useful:
* HOWTO: [Compile your stylesheets for production](/docs/tutorials/production-css/) * HOWTO: [Compile your stylesheets for production](/tutorials/production-css/)
<!-- <!--
Extensions Commands Extensions Commands

View File

@ -214,7 +214,7 @@ command line will override the corresponding settings in your configuration file
<td style="vertical-align:top;">Hash </td> <td style="vertical-align:top;">Hash </td>
<td style="vertical-align:top;">These options are passed directly to the <td style="vertical-align:top;">These options are passed directly to the
Sass compiler. For more details on the format of sass options, please read the Sass compiler. For more details on the format of sass options, please read the
<a href="http://sass-lang.com/docs/yardoc/SASS_REFERENCE.md.html#options">sass options documentation</a>. <a href="http://sass-lang.com/yardoc/SASS_REFERENCE.md.html#options">sass options documentation</a>.
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -333,4 +333,4 @@ a couple of ways you can react:
[issues]: http://github.com/chriseppstein/compass/issues [issues]: http://github.com/chriseppstein/compass/issues
[documentation]: http://github.com/chriseppstein/compass/blob/stable/doc-src/README.markdown [documentation]: http://github.com/chriseppstein/compass/blob/stable/doc-src/README.markdown
[bundler]: http://gembundler.com/ [bundler]: http://gembundler.com/
[extensions]: /docs/tutorials/extensions/ [extensions]: /tutorials/extensions/

View File

@ -7,7 +7,7 @@ classnames:
Production Stylesheets Production Stylesheets
====================== ======================
See the [Configuration Reference](/docs/tutorials/configuration-reference/) for a See the [Configuration Reference](/tutorials/configuration-reference/) for a
complete list of available configuration options. complete list of available configuration options.
Strategies for Compiling Stylesheets for Production Strategies for Compiling Stylesheets for Production

View File

@ -24,6 +24,6 @@ There's a few things you should know.
<br> <br>
![rubygem versions](http://img.skitch.com/20101116-d3j5hf8ishb9x5249et8b6i23i.png) ![rubygem versions](http://img.skitch.com/20101116-d3j5hf8ishb9x5249et8b6i23i.png)
4. Compass keeps a very detailed list of changes in every release. You can read 4. Compass keeps a very detailed list of changes in every release. You can read
the [changelog](/docs/CHANGELOG/) to get up to speed on what has changed. the [changelog](/CHANGELOG/) to get up to speed on what has changed.
If you're scared to upgrade, that's silly. Read [this](./im-scared/). If you're scared to upgrade, that's silly. Read [this](./im-scared/).

View File

@ -78,9 +78,9 @@ Or for sass files:
+background-image($image, linear-gradient($start, $color-stops)) +background-image($image, linear-gradient($start, $color-stops))
[old_box_shadow]: /docs/reference/compass/css3/box_shadow/#mixin-box-shadow [old_box_shadow]: /reference/compass/css3/box_shadow/#mixin-box-shadow
[new_box_shadow]: /docs/reference/compass/css3/box_shadow_v2/#mixin-box-shadow [new_box_shadow]: /reference/compass/css3/box_shadow_v2/#mixin-box-shadow
[old_text_shadow]: /docs/reference/compass/css3/text_shadow/#mixin-text-shadow [old_text_shadow]: /reference/compass/css3/text_shadow/#mixin-text-shadow
[new_text_shadow]: /docs/reference/compass/css3/text-shadow-v2/#mixin-text-shadow [new_text_shadow]: /reference/compass/css3/text-shadow-v2/#mixin-text-shadow
[new_transform]: /docs/reference/compass/css3/transform-v2/ [new_transform]: /reference/compass/css3/transform-v2/
[image_stylesheet]: /docs/reference/compass/css3/images/ [image_stylesheet]: /reference/compass/css3/images/

View File

@ -36,7 +36,7 @@ what changed to your stylesheets:
11. If you're satisfied: $ git commit -a -m "Upgraded compass" 11. If you're satisfied: $ git commit -a -m "Upgraded compass"
12. If you're scared again: 12. If you're scared again:
1. Don't panic. 1. Don't panic.
2. Read the [CHANGELOG](http://compass-style.org/docs/CHANGELOG/) and 2. Read the [CHANGELOG](http://compass-style.org/CHANGELOG/) and
see if the changes are explained there. see if the changes are explained there.
3. Send an email to the [mailing list](http://groups.google.com/group/compass-users) 3. Send an email to the [mailing list](http://groups.google.com/group/compass-users)
explaining the problem and providing enough context like snippets from your diff explaining the problem and providing enough context like snippets from your diff

View File

@ -4,16 +4,16 @@
%head %head
%meta{:charset => "utf-8"}/ %meta{:charset => "utf-8"}/
%meta{:content => "chrome=1", "http-equiv" => "X-UA-Compatible"} %meta{:content => "chrome=1", "http-equiv" => "X-UA-Compatible"}
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png") %link(rel="shortcut icon" type="image/png" href="/images/compass_icon.png")
%title %title
#{@item[:title]} | Compass Documentation #{@item[:title]} | Compass Documentation
<!--[if !IE 6]><!--> <!--[if !IE 6]><!-->
%link{:charset => "utf-8", :href => "/docs/stylesheets/screen.css", :rel => "stylesheet", :type => "text/css"} %link{:charset => "utf-8", :href => "/stylesheets/screen.css", :rel => "stylesheet", :type => "text/css"}
%link{:href => "/docs/stylesheets/syntax/shCore.css", :rel => "stylesheet", :type => "text/css"} %link{:href => "/stylesheets/syntax/shCore.css", :rel => "stylesheet", :type => "text/css"}
%link{:href => "/docs/stylesheets/syntax/shThemeDefault.css", :rel => "stylesheet", :type => "text/css"} %link{:href => "/stylesheets/syntax/shThemeDefault.css", :rel => "stylesheet", :type => "text/css"}
<!--<![endif]--> <!--<![endif]-->
/[if gte IE 7] /[if gte IE 7]
%link{:charset => "utf-8", :href => "/docs/stylesheets/ie.css", :rel => "stylesheet", :type => "text/css"} %link{:charset => "utf-8", :href => "/stylesheets/ie.css", :rel => "stylesheet", :type => "text/css"}
/[if IE 6] /[if IE 6]
%link{:charset => "utf-8", :href => "http://universal-ie6-css.googlecode.com/files/ie6.0.3.css", :rel => "stylesheet", :type => "text/css"} %link{:charset => "utf-8", :href => "http://universal-ie6-css.googlecode.com/files/ie6.0.3.css", :rel => "stylesheet", :type => "text/css"}
- if @item[:content_for_additional_css] - if @item[:content_for_additional_css]

View File

@ -6,9 +6,9 @@
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" } %meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
- if @item[:meta_description] - if @item[:meta_description]
%meta{:name => "description", :content => @item[:meta_description]} %meta{:name => "description", :content => @item[:meta_description]}
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png") %link(rel="shortcut icon" type="image/png" href="/images/compass_icon.png")
%link{ :href => "/docs/stylesheets/legacy/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" } %link{ :href => "/stylesheets/legacy/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
%script{:src => "/docs/javascripts/jquery-1.3.2.min.js", :type => "text/javascript"} %script{:src => "/javascripts/jquery-1.3.2.min.js", :type => "text/javascript"}
%body{body_attributes(@item)} %body{body_attributes(@item)}
#container #container
#main #main
@ -16,5 +16,5 @@
#sidebar #sidebar
= render "partials/sidebar", :default_stylesheet => "_compass.scss" = render "partials/sidebar", :default_stylesheet => "_compass.scss"
#footer= render "partials/footer" #footer= render "partials/footer"
%script(src="/docs/javascripts/fixups.js" deferred) %script(src="/javascripts/fixups.js" deferred)
= render "partials/analytics" = render "partials/analytics"

View File

@ -6,10 +6,10 @@
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" } %meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
- if @item[:meta_description] - if @item[:meta_description]
%meta{:name => "description", :content => @item[:meta_description]} %meta{:name => "description", :content => @item[:meta_description]}
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png") %link(rel="shortcut icon" type="image/png" href="/images/compass_icon.png")
%link{ :href => "/docs/stylesheets/legacy/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" } %link{ :href => "/stylesheets/legacy/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
%script{:src => "/docs/javascripts/jquery-1.3.2.min.js", :type => "text/javascript"} %script{:src => "/javascripts/jquery-1.3.2.min.js", :type => "text/javascript"}
%body{body_attributes(@item)} %body{body_attributes(@item)}
= yield = yield
%script(src="/docs/javascripts/fixups.js" deferred) %script(src="/javascripts/fixups.js" deferred)
= render "partials/analytics" = render "partials/analytics"

View File

@ -6,32 +6,32 @@
%li.vcard %li.vcard
%a.fn.org.url.uid{:href => "/", :rel => "home"} Compass %a.fn.org.url.uid{:href => "/", :rel => "home"} Compass
%li %li
%a{:href => "/docs/reference/compass/", :rel => "documentation"} Docs %a{:href => "/reference/compass/", :rel => "documentation"} Docs
%li %li
%a{:href => "/help", :rel=> "help"} Get Help %a{:href => "/help", :rel=> "help"} Get Help
%li %li
%a{:href => "/get-involved", :rel=> "get-involved"} Get Involved %a{:href => "/get-involved", :rel=> "get-involved"} Get Involved
%form#search-docs{:action => "/docs/search/", :method => "GET"} %form#search-docs{:action => "/search/", :method => "GET"}
%input#search{:name => "q", :type => "text", :value => "", :placeholder => "Search the docs"} %input#search{:name => "q", :type => "text", :value => "", :placeholder => "Search the docs"}
#sub-nav #sub-nav
%nav#docs-nav{:role => "navigation"} %nav#docs-nav{:role => "navigation"}
%a{:href => "/docs/reference/blueprint/", :rel => "blueprint"} Blueprint %a{:href => "/reference/blueprint/", :rel => "blueprint"} Blueprint
%a{:href => "/docs/reference/compass/", :rel => "core"} Core %a{:href => "/reference/compass/", :rel => "core"} Core
- if @item[:content_for_module_nav] - if @item[:content_for_module_nav]
%nav#module-nav= @item[:content_for_module_nav] %nav#module-nav= @item[:content_for_module_nav]
#page #page
#version #version
Version: Version:
%a.number(href="/docs/CHANGELOG/")= compass_version %a.number(href="/CHANGELOG/")= compass_version
= yield = yield
-#comments= render "partials/disqus_comments" -#comments= render "partials/disqus_comments"
%footer(role="contentinfo")= render "partials/footer" %footer(role="contentinfo")= render "partials/footer"
%script(src="/docs/javascripts/jquery-1.3.2.min.js") %script(src="/javascripts/jquery-1.3.2.min.js")
%script(src="/docs/javascripts/fixups.js" deferred) %script(src="/javascripts/fixups.js" deferred)
%script{:src => "/docs/javascripts/shCore.js", :type => "text/javascript"} %script{:src => "/javascripts/shCore.js", :type => "text/javascript"}
%script{:src => "/docs/javascripts/shBrushCss.js", :type => "text/javascript"} %script{:src => "/javascripts/shBrushCss.js", :type => "text/javascript"}
%script{:src => "/docs/javascripts/shBrushSass.js", :type => "text/javascript"} %script{:src => "/javascripts/shBrushSass.js", :type => "text/javascript"}
%script{:src => "/docs/javascripts/shBrushScss.js", :type => "text/javascript"} %script{:src => "/javascripts/shBrushScss.js", :type => "text/javascript"}
= @item[:content_for_javascripts] = @item[:content_for_javascripts]
= render "partials/analytics" = render "partials/analytics"

View File

@ -1,7 +1,7 @@
.legalese .legalese
%p %p
:plain :plain
<a rel="license" href="/docs/copyright/" <a rel="license" href="/copyright/"
id="cc-logo"><img alt="Creative Commons License" style="border-width:0" id="cc-logo"><img alt="Creative Commons License" style="border-width:0"
src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" /></a> src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" /></a>
%br %br

View File

@ -4,7 +4,7 @@
- if variables.any? - if variables.any?
%h2 %h2
Configurable Variables Configurable Variables
%a(href="/docs/tutorials/configurable-variables/" class="help") help %a(href="/tutorials/configurable-variables/" class="help") help
= render "partials/reference/const_table", :constants => variables = render "partials/reference/const_table", :constants => variables
- if constants.any? - if constants.any?