Output docs to doc-src/output and drop the /docs prefix
This commit is contained in:
parent
e1d822b893
commit
c547d48256
@ -3,9 +3,9 @@ require 'susy'
|
||||
require 'css-slideshow'
|
||||
|
||||
# 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__), '..'))
|
||||
css_dir = "../docs/stylesheets"
|
||||
css_dir = "output/stylesheets"
|
||||
sass_dir = "content/stylesheets"
|
||||
images_dir = "assets/images"
|
||||
javascripts_dir = "assets/javascripts"
|
||||
|
1
doc-src/.gitignore
vendored
1
doc-src/.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
bin
|
||||
vendor
|
||||
output
|
||||
|
@ -4,7 +4,7 @@ require 'compass'
|
||||
|
||||
Compass.add_configuration "#{File.dirname(__FILE__)}/.compass/config.rb"
|
||||
|
||||
SITE_ROOT = "/docs"
|
||||
SITE_ROOT = ""
|
||||
|
||||
compile '/assets/*/' do
|
||||
nil
|
||||
|
@ -7,4 +7,4 @@ data_sources:
|
||||
layouts_root: /assets
|
||||
type: filesystem_assets
|
||||
text_extensions: [ 'css', 'erb', 'haml', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'php', 'rb', 'sass', 'scss', 'txt' ]
|
||||
output_dir: ..
|
||||
output_dir: output
|
||||
|
@ -42,13 +42,13 @@ layout: article
|
||||
* [Compass Core] The gradient mixins now accept a background image that will
|
||||
be placed over the gradient. Credit: [Will Leinweber](http://bitfission.com/)
|
||||
* [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.
|
||||
|
||||
|
||||
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.
|
||||
If you use this, please move the source to your project.
|
||||
* 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.
|
||||
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
|
||||
[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.
|
||||
* All compass stylesheets are now written in the SCSS syntax,
|
||||
if you import compass framework stylesheets with an explicit
|
||||
|
@ -8,11 +8,11 @@ COMPASS CHANGELOG
|
||||
=================
|
||||
|
||||
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)
|
||||
---------------------------
|
||||
@ -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
|
||||
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
|
||||
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 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
|
||||
padding properties.
|
||||
* 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)
|
||||
-------------------
|
||||
@ -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.
|
||||
* [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.
|
||||
* [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.
|
||||
* 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.
|
||||
* 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.
|
||||
@ -214,7 +214,7 @@ This will update your compass initializer file.
|
||||
* Support for inputs of type email.
|
||||
|
||||
### 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.
|
||||
|
||||
### Rails
|
||||
@ -253,7 +253,7 @@ This is a bug fix release. [Details on Github.](http://github.com/chriseppstein/
|
||||
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
|
||||
|
||||
@ -267,7 +267,7 @@ installed from github, please remove it:
|
||||
* Compass now depends on Sass 3 -- Please be prepared to upgrade.
|
||||
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
|
||||
[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.
|
||||
* All compass stylesheets are now written in the SCSS syntax,
|
||||
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
|
||||
* 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`
|
||||
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"
|
||||
to "compass/css3/inline-block".
|
||||
* The import for `+opacity` has moved from "compass/utilities/general/opacity"
|
||||
@ -412,7 +412,7 @@ installed from github, please remove it:
|
||||
|
||||
### 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
|
||||
possible for other ruby software to manage multiple compass projects at a
|
||||
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
|
||||
[adamstac]: http://github.com/adamstac
|
||||
[ttilley]: http://github.com/ttilley
|
||||
[inline-block-list]: http://compass-style.org/docs/reference/compass/utilities/lists/inline-block-list/
|
||||
[html5-reset]: http://compass-style.org/docs/reference/compass/reset/utilities/#mixin-reset-html5
|
||||
[inline-block-list]: http://compass-style.org/reference/compass/utilities/lists/inline-block-list/
|
||||
[html5-reset]: http://compass-style.org/reference/compass/reset/utilities/#mixin-reset-html5
|
||||
[blueprint_10_change]: https://github.com/chriseppstein/compass/compare/a05e1ee7c0a1e4c0f0595a8bb812daa47872e476...864780969d872a93b1fd3b4f39f29dd9f0c3fe75
|
@ -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>
|
||||
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>.
|
||||
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>.
|
||||
|
@ -48,7 +48,7 @@ crumb: Plugins and frameworks
|
||||
%a
|
||||
http://blueprintcss.org/
|
||||
%td
|
||||
%a{:href => "/docs/reference/blueprint/"}
|
||||
%a{:href => "/reference/blueprint/"}
|
||||
Blueprint docs
|
||||
%tr
|
||||
%td YUI
|
||||
@ -152,7 +152,7 @@ crumb: Plugins and frameworks
|
||||
Sass Libraries
|
||||
%p
|
||||
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
|
||||
\.
|
||||
%ul
|
||||
|
@ -18,4 +18,4 @@ classnames:
|
||||
to `display: none;` in your printed page.
|
||||
|
||||
See the [compass print utilities][pr_utils] for related functionality.
|
||||
[pr_utils]: /docs/reference/compass/utilities/print/
|
||||
[pr_utils]: /reference/compass/utilities/print/
|
||||
|
@ -15,11 +15,11 @@ layout: core
|
||||
%p
|
||||
The CSS3 module provides cross-browser mixins for CSS properties
|
||||
introduced in CSS3, for example
|
||||
<a href="/docs/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>.
|
||||
<a href="/reference/compass/css3/border_radius/"><code>border-radius</code></a>
|
||||
and <a href="/reference/compass/css3/text-shadow-v2/"><code>text-shadow</code></a>.
|
||||
%p
|
||||
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>.
|
||||
%h3 Importing the Entire CSS3 Library
|
||||
%p
|
||||
|
@ -14,4 +14,4 @@ classnames:
|
||||
- render 'reference' do
|
||||
%p.warning
|
||||
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.
|
@ -38,7 +38,7 @@ classnames:
|
||||
* border-radius
|
||||
* box-shadow
|
||||
* 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:
|
||||
|
||||
|
@ -14,5 +14,5 @@ classnames:
|
||||
- render 'reference' do
|
||||
%p.warning
|
||||
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.
|
||||
|
@ -14,4 +14,4 @@ classnames:
|
||||
- render 'reference' do
|
||||
%p.warning
|
||||
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.
|
||||
|
@ -14,29 +14,29 @@ layout: core
|
||||
|
||||
:markdown
|
||||
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:
|
||||
|
||||
* [adjust-lightness()](/docs/reference/compass/helpers/colors/#adjust-lightness)
|
||||
* [adjust-saturation()](/docs/reference/compass/helpers/colors/#adjust-saturation)
|
||||
* [append-selector()](/docs/reference/compass/helpers/selectors/#append-selector)
|
||||
* [color-stops()](/docs/reference/compass/helpers/color-stops/)
|
||||
* [cos()](/docs/reference/compass/helpers/trig/#cos)
|
||||
* [elements-of-type()](/docs/reference/compass/helpers/display/)
|
||||
* [enumerate()](/docs/reference/compass/helpers/selectors/#enumerate)
|
||||
* [font-files()](/docs/reference/compass/helpers/font-files/)
|
||||
* [font-url()](/docs/reference/compass/helpers/urls/#stylesheet-url)
|
||||
* [headings()](/docs/reference/compass/helpers/selectors/#headings)
|
||||
* [image-width()](/docs/reference/compass/helpers/image-dimensions/#image-width)
|
||||
* [image-height()](/docs/reference/compass/helpers/image-dimensions/#image-height)
|
||||
* [image-url()](/docs/reference/compass/helpers/urls/#image-url)
|
||||
* [inline-font-files()](/docs/reference/compass/helpers/inline-data/#inline-font-files)
|
||||
* [inline-image()](/docs/reference/compass/helpers/inline-data/#inline-image)
|
||||
* [nest()](/docs/reference/compass/helpers/selectors/#nest)
|
||||
* [pi()](/docs/reference/compass/helpers/trig/#pi)
|
||||
* [sin()](/docs/reference/compass/helpers/trig/#sin)
|
||||
* [stylesheet-url()](/docs/reference/compass/helpers/urls/#stylesheet-url)
|
||||
* [scale-lightness()](/docs/reference/compass/helpers/colors/#scale-lightness)
|
||||
* [tan()](/docs/reference/compass/helpers/trig/#tan)
|
||||
* [adjust-lightness()](/reference/compass/helpers/colors/#adjust-lightness)
|
||||
* [adjust-saturation()](/reference/compass/helpers/colors/#adjust-saturation)
|
||||
* [append-selector()](/reference/compass/helpers/selectors/#append-selector)
|
||||
* [color-stops()](/reference/compass/helpers/color-stops/)
|
||||
* [cos()](/reference/compass/helpers/trig/#cos)
|
||||
* [elements-of-type()](/reference/compass/helpers/display/)
|
||||
* [enumerate()](/reference/compass/helpers/selectors/#enumerate)
|
||||
* [font-files()](/reference/compass/helpers/font-files/)
|
||||
* [font-url()](/reference/compass/helpers/urls/#stylesheet-url)
|
||||
* [headings()](/reference/compass/helpers/selectors/#headings)
|
||||
* [image-width()](/reference/compass/helpers/image-dimensions/#image-width)
|
||||
* [image-height()](/reference/compass/helpers/image-dimensions/#image-height)
|
||||
* [image-url()](/reference/compass/helpers/urls/#image-url)
|
||||
* [inline-font-files()](/reference/compass/helpers/inline-data/#inline-font-files)
|
||||
* [inline-image()](/reference/compass/helpers/inline-data/#inline-image)
|
||||
* [nest()](/reference/compass/helpers/selectors/#nest)
|
||||
* [pi()](/reference/compass/helpers/trig/#pi)
|
||||
* [sin()](/reference/compass/helpers/trig/#sin)
|
||||
* [stylesheet-url()](/reference/compass/helpers/urls/#stylesheet-url)
|
||||
* [scale-lightness()](/reference/compass/helpers/colors/#scale-lightness)
|
||||
* [tan()](/reference/compass/helpers/trig/#tan)
|
||||
|
||||
|
@ -18,7 +18,7 @@ classnames:
|
||||
.details
|
||||
%p
|
||||
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
|
||||
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).
|
||||
@ -47,5 +47,5 @@ classnames:
|
||||
%h4 Examples
|
||||
%ul
|
||||
%li
|
||||
%a(href="/docs/examples/compass/css3/gradient/") Example of Gradients
|
||||
%a(href="/examples/compass/css3/gradient/") Example of Gradients
|
||||
|
||||
|
@ -13,7 +13,7 @@ classnames:
|
||||
%p
|
||||
These color functions are useful for creating generic libraries that have to accept a
|
||||
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>
|
||||
|
||||
#adjust-lightness.helper
|
||||
|
@ -33,5 +33,5 @@ classnames:
|
||||
%h4 Examples
|
||||
%ul
|
||||
%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
|
||||
|
||||
|
@ -22,7 +22,7 @@ classnames:
|
||||
relative to your project's font directory and the second is the format of
|
||||
that font.
|
||||
%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.
|
||||
%p
|
||||
<a href="http://www.w3.org/TR/css3-fonts/#font-reference-the-src-descriptor">W3C Reference</a>
|
||||
@ -30,6 +30,6 @@ classnames:
|
||||
%h4 Examples
|
||||
%ul
|
||||
%li
|
||||
%a(href="/docs/examples/compass/css3/font-face/") Font-face Example
|
||||
%a(href="/examples/compass/css3/font-face/") Font-face Example
|
||||
|
||||
|
||||
|
@ -31,5 +31,5 @@ classnames:
|
||||
inline-font-files([<span class="arg">$font</span>, <span class="arg">$format</span>]*)
|
||||
.details
|
||||
%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.
|
@ -63,9 +63,9 @@ classnames:
|
||||
%h4 Examples
|
||||
%ul
|
||||
%li
|
||||
%a(href="/docs/examples/compass/helpers/enumerate/") Example of enumerate
|
||||
%a(href="/examples/compass/helpers/enumerate/") Example of enumerate
|
||||
%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
|
||||
%h3
|
||||
|
@ -13,4 +13,4 @@ classnames:
|
||||
- render 'reference' do
|
||||
%p
|
||||
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.
|
||||
|
@ -12,10 +12,10 @@ meta_description: Adds a CSS Reset into your stylesheet.
|
||||
---
|
||||
- render 'reference' do
|
||||
: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.
|
||||
|
||||
**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.
|
||||
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/)
|
||||
|
@ -4,8 +4,8 @@ crumb: Search
|
||||
body_id: search
|
||||
---
|
||||
- content_for(:javascripts) do
|
||||
%script(type="text/javascript" src="/docs/javascripts/search-data.js")
|
||||
%script(type="text/javascript" src="/docs/javascripts/jquery.url.packed.js")
|
||||
%script(type="text/javascript" src="/javascripts/search-data.js")
|
||||
%script(type="text/javascript" src="/javascripts/jquery.url.packed.js")
|
||||
:javascript
|
||||
$(function(){
|
||||
if ($.url.param("q")) {
|
||||
|
@ -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
|
||||
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
|
||||
[3]: http://wiki.github.com/chriseppstein/compass/overriding-constants
|
||||
[4]: http://c2.com/cgi/wiki?DontRepeatYourself
|
||||
|
@ -67,7 +67,7 @@ classnames:
|
||||
|
||||
%ul
|
||||
%li
|
||||
%a(href="/docs/reference/blueprint/buttons/") Blueprint Buttons
|
||||
%a(href="/reference/blueprint/buttons/") Blueprint Buttons
|
||||
%li
|
||||
%a(href="/docs/reference/blueprint/link_icons/") Blueprint Link Icons
|
||||
%a(href="/reference/blueprint/link_icons/") Blueprint Link Icons
|
||||
|
||||
|
@ -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:
|
||||
|
||||
* HOWTO: [Compile your stylesheets for production](/docs/tutorials/production-css/)
|
||||
* HOWTO: [Compile your stylesheets for production](/tutorials/production-css/)
|
||||
|
||||
<!--
|
||||
Extensions Commands
|
||||
|
@ -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;">These options are passed directly to 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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -333,4 +333,4 @@ a couple of ways you can react:
|
||||
[issues]: http://github.com/chriseppstein/compass/issues
|
||||
[documentation]: http://github.com/chriseppstein/compass/blob/stable/doc-src/README.markdown
|
||||
[bundler]: http://gembundler.com/
|
||||
[extensions]: /docs/tutorials/extensions/
|
||||
[extensions]: /tutorials/extensions/
|
@ -7,7 +7,7 @@ classnames:
|
||||
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.
|
||||
|
||||
Strategies for Compiling Stylesheets for Production
|
||||
|
@ -24,6 +24,6 @@ There's a few things you should know.
|
||||
<br>
|
||||
![rubygem versions](http://img.skitch.com/20101116-d3j5hf8ishb9x5249et8b6i23i.png)
|
||||
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/).
|
@ -78,9 +78,9 @@ Or for sass files:
|
||||
+background-image($image, linear-gradient($start, $color-stops))
|
||||
|
||||
|
||||
[old_box_shadow]: /docs/reference/compass/css3/box_shadow/#mixin-box-shadow
|
||||
[new_box_shadow]: /docs/reference/compass/css3/box_shadow_v2/#mixin-box-shadow
|
||||
[old_text_shadow]: /docs/reference/compass/css3/text_shadow/#mixin-text-shadow
|
||||
[new_text_shadow]: /docs/reference/compass/css3/text-shadow-v2/#mixin-text-shadow
|
||||
[new_transform]: /docs/reference/compass/css3/transform-v2/
|
||||
[image_stylesheet]: /docs/reference/compass/css3/images/
|
||||
[old_box_shadow]: /reference/compass/css3/box_shadow/#mixin-box-shadow
|
||||
[new_box_shadow]: /reference/compass/css3/box_shadow_v2/#mixin-box-shadow
|
||||
[old_text_shadow]: /reference/compass/css3/text_shadow/#mixin-text-shadow
|
||||
[new_text_shadow]: /reference/compass/css3/text-shadow-v2/#mixin-text-shadow
|
||||
[new_transform]: /reference/compass/css3/transform-v2/
|
||||
[image_stylesheet]: /reference/compass/css3/images/
|
@ -36,7 +36,7 @@ what changed to your stylesheets:
|
||||
11. If you're satisfied: $ git commit -a -m "Upgraded compass"
|
||||
12. If you're scared again:
|
||||
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.
|
||||
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
|
||||
|
@ -4,16 +4,16 @@
|
||||
%head
|
||||
%meta{:charset => "utf-8"}/
|
||||
%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
|
||||
#{@item[:title]} | Compass Documentation
|
||||
<!--[if !IE 6]><!-->
|
||||
%link{:charset => "utf-8", :href => "/docs/stylesheets/screen.css", :rel => "stylesheet", :type => "text/css"}
|
||||
%link{:href => "/docs/stylesheets/syntax/shCore.css", :rel => "stylesheet", :type => "text/css"}
|
||||
%link{:href => "/docs/stylesheets/syntax/shThemeDefault.css", :rel => "stylesheet", :type => "text/css"}
|
||||
%link{:charset => "utf-8", :href => "/stylesheets/screen.css", :rel => "stylesheet", :type => "text/css"}
|
||||
%link{:href => "/stylesheets/syntax/shCore.css", :rel => "stylesheet", :type => "text/css"}
|
||||
%link{:href => "/stylesheets/syntax/shThemeDefault.css", :rel => "stylesheet", :type => "text/css"}
|
||||
<!--<![endif]-->
|
||||
/[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]
|
||||
%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]
|
||||
|
@ -6,9 +6,9 @@
|
||||
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
||||
- if @item[:meta_description]
|
||||
%meta{:name => "description", :content => @item[:meta_description]}
|
||||
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png")
|
||||
%link{ :href => "/docs/stylesheets/legacy/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
||||
%script{:src => "/docs/javascripts/jquery-1.3.2.min.js", :type => "text/javascript"}
|
||||
%link(rel="shortcut icon" type="image/png" href="/images/compass_icon.png")
|
||||
%link{ :href => "/stylesheets/legacy/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
||||
%script{:src => "/javascripts/jquery-1.3.2.min.js", :type => "text/javascript"}
|
||||
%body{body_attributes(@item)}
|
||||
#container
|
||||
#main
|
||||
@ -16,5 +16,5 @@
|
||||
#sidebar
|
||||
= render "partials/sidebar", :default_stylesheet => "_compass.scss"
|
||||
#footer= render "partials/footer"
|
||||
%script(src="/docs/javascripts/fixups.js" deferred)
|
||||
%script(src="/javascripts/fixups.js" deferred)
|
||||
= render "partials/analytics"
|
||||
|
@ -6,10 +6,10 @@
|
||||
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
||||
- if @item[:meta_description]
|
||||
%meta{:name => "description", :content => @item[:meta_description]}
|
||||
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png")
|
||||
%link{ :href => "/docs/stylesheets/legacy/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
||||
%script{:src => "/docs/javascripts/jquery-1.3.2.min.js", :type => "text/javascript"}
|
||||
%link(rel="shortcut icon" type="image/png" href="/images/compass_icon.png")
|
||||
%link{ :href => "/stylesheets/legacy/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
||||
%script{:src => "/javascripts/jquery-1.3.2.min.js", :type => "text/javascript"}
|
||||
%body{body_attributes(@item)}
|
||||
= yield
|
||||
%script(src="/docs/javascripts/fixups.js" deferred)
|
||||
%script(src="/javascripts/fixups.js" deferred)
|
||||
= render "partials/analytics"
|
||||
|
@ -6,32 +6,32 @@
|
||||
%li.vcard
|
||||
%a.fn.org.url.uid{:href => "/", :rel => "home"} Compass
|
||||
%li
|
||||
%a{:href => "/docs/reference/compass/", :rel => "documentation"} Docs
|
||||
%a{:href => "/reference/compass/", :rel => "documentation"} Docs
|
||||
%li
|
||||
%a{:href => "/help", :rel=> "help"} Get Help
|
||||
%li
|
||||
%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"}
|
||||
#sub-nav
|
||||
%nav#docs-nav{:role => "navigation"}
|
||||
%a{:href => "/docs/reference/blueprint/", :rel => "blueprint"} Blueprint
|
||||
%a{:href => "/docs/reference/compass/", :rel => "core"} Core
|
||||
%a{:href => "/reference/blueprint/", :rel => "blueprint"} Blueprint
|
||||
%a{:href => "/reference/compass/", :rel => "core"} Core
|
||||
- if @item[:content_for_module_nav]
|
||||
%nav#module-nav= @item[:content_for_module_nav]
|
||||
#page
|
||||
#version
|
||||
Version:
|
||||
%a.number(href="/docs/CHANGELOG/")= compass_version
|
||||
%a.number(href="/CHANGELOG/")= compass_version
|
||||
= yield
|
||||
-#comments= render "partials/disqus_comments"
|
||||
%footer(role="contentinfo")= render "partials/footer"
|
||||
%script(src="/docs/javascripts/jquery-1.3.2.min.js")
|
||||
%script(src="/docs/javascripts/fixups.js" deferred)
|
||||
%script{:src => "/docs/javascripts/shCore.js", :type => "text/javascript"}
|
||||
%script{:src => "/docs/javascripts/shBrushCss.js", :type => "text/javascript"}
|
||||
%script{:src => "/docs/javascripts/shBrushSass.js", :type => "text/javascript"}
|
||||
%script{:src => "/docs/javascripts/shBrushScss.js", :type => "text/javascript"}
|
||||
%script(src="/javascripts/jquery-1.3.2.min.js")
|
||||
%script(src="/javascripts/fixups.js" deferred)
|
||||
%script{:src => "/javascripts/shCore.js", :type => "text/javascript"}
|
||||
%script{:src => "/javascripts/shBrushCss.js", :type => "text/javascript"}
|
||||
%script{:src => "/javascripts/shBrushSass.js", :type => "text/javascript"}
|
||||
%script{:src => "/javascripts/shBrushScss.js", :type => "text/javascript"}
|
||||
= @item[:content_for_javascripts]
|
||||
= render "partials/analytics"
|
||||
|
@ -1,7 +1,7 @@
|
||||
.legalese
|
||||
%p
|
||||
:plain
|
||||
<a rel="license" href="/docs/copyright/"
|
||||
<a rel="license" href="/copyright/"
|
||||
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>
|
||||
%br
|
||||
|
@ -4,7 +4,7 @@
|
||||
- if variables.any?
|
||||
%h2
|
||||
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
|
||||
|
||||
- if constants.any?
|
||||
|
Loading…
Reference in New Issue
Block a user