Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !8290

Add new callouts to docs

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/juthilo/3.0.0-docs-nothird into 3.0.0-wip 12 years ago
  • Overview 0
  • Commits 5
  • Pipelines 0
  • Changes 2

Created by: juthilo

Add callouts to the docs to make people aware that:

  • Bootstrap does not support third-party JS libraries.
  • Bootstrap only supports less.js for LESS compilation.

This pull request addresses #8288 (closed) and #8289 (closed).

@mdo I'm not sure if this is what you had in mind - wording is of course adjustable :).

Compare
  • 3.0.0-wip (base)

and
  • latest version
    fe25ebc2
    5 commits, 2 years ago

2 files
+ 10
- 0

    Preferences

    File browser
    Compare changes
do‎cs‎
getting-st‎arted.html‎ +5 -0
javascr‎ipt.html‎ +5 -0
docs/getting-started.html
+ 5
- 0
  • View file @ fe25ebc2

  • Edit in single-file editor

  • Open in Web IDE


@@ -48,6 +48,11 @@ lead: "An overview of Bootstrap, how to download and use, basic templates and ex
<!-- Latest compiled and minified JavaScript -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
{% endhighlight %}
<div class="bs-callout" id="callout-less-compilation">
<h4>LESS compilation</h4>
<p>If you download the original files, you need to compile Bootstrap's LESS files into usable CSS. To do that, Bootstrap only officially supports <a href="http://twitter.github.io/recess/">Recess</a>, Twitter's CSS hinter built on top of <a href="http://lesscss.org">less.js</a>.</p>
</div>
</div>
<!-- File structure
docs/javascript.html
+ 5
- 0
  • View file @ fe25ebc2

  • Edit in single-file editor

  • Open in Web IDE


@@ -64,6 +64,11 @@ $('#myModal').on('show.bs.modal', function (e) {
if (!data) return e.preventDefault() // stops modal from being shown
})
{% endhighlight %}
<div class="bs-callout" id="callout-third-party-libs">
<h4>Third-party libraries</h4>
<p><strong>Bootstrap does not officially support third-party JavaScript libraries</strong> like Prototype or jQuery UI. Despite <code>.noConflict</code> and namespaced events, there may be compatibility problems that you need to fix on your own. Ask on the <a href="http://groups.google.com/group/twitter-bootstrap">mailing list</a> if you need help.</p>
</div>
</div>
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
v3.0.0
v3.0.0
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
2
2 participants
Administrator
Mark Otto
Reference: twbs/bootstrap!8290
Source branch: github/fork/juthilo/3.0.0-docs-nothird

Menu

Explore Projects Groups Snippets