Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simpler and updated docs copy for icon font file paths #13768

Merged
merged 3 commits into from
Jun 10, 2014
Merged

Conversation

mdo
Copy link
Member

@mdo mdo commented Jun 10, 2014

Fixes #13765.

/cc @cvrebert

@mdo
Copy link
Member Author

mdo commented Jun 10, 2014

Effectively nuked the second callout and aimed for brevity here.

@mdo mdo added the docs label Jun 10, 2014
@mdo mdo added this to the v3.2.0 milestone Jun 10, 2014
<div class="bs-callout bs-callout-info">
<h4><code>@import</code>ing Bootstrap via Less may require adjusting the icon font location</h4>
<p>If you <code>@import</code> Bootstrap's Less source into your own Less file, you may need to adjust the <code>@icon-font-path</code> Less variable due to the way that the relative paths in our <code>url(...)</code>s work.</p>
<p>Bootstrap assumes icon font files will be located in the <code>../fonts/</code> directory. Moving or renaming those font files means updating the CSS in one of three ways:</p>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should clarify that this path is relative to the CSS file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't use relative again in hopes of avoiding confusion between relative paths and relative paths options in Less. I'll try something else maybe.

mdo added a commit that referenced this pull request Jun 10, 2014
Simpler and updated docs copy for icon font file paths
@mdo mdo merged commit 12aeeac into master Jun 10, 2014
@mdo mdo deleted the font_files_docs branch June 10, 2014 04:35
@mdo mdo mentioned this pull request Jun 10, 2014
@cvrebert cvrebert added the css label Jun 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update icon font path docs to account for #13542
2 participants