Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 083e5ba

Browse files
author
Stephen Collings
committed
Initial commit
0 parents commit 083e5ba

19 files changed

+39614
-0
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

‎README.md‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# React Bootstrap Documentation Website
2+
3+
This website is single page app built on [React](http://facebook.github.io/react/), with styles and structure taken from the [Bootstrap](http://getbootstrap.com/) docs website.
4+
The app is statically generated to HTML via node and then hosted it by pushing HTML to [GitHub Pages](http://pages.github.com/).
5+
6+
## Installation
7+
8+
If you are working on the site, you will want to install and run a local copy of it.
9+
10+
### Dependencies
11+
12+
All dependencies are installed with npm, just:
13+
14+
```sh
15+
$ cd react-bootstrap
16+
$ npm install
17+
```
18+
19+
### Instructions
20+
21+
The site uses React bootstrap components, so first make sure you've built the project (via `grunt`). Then:
22+
23+
```sh
24+
$ cd react-bootstrap
25+
$ grunt serveDocs
26+
$ open http://localhost:4000/react-bootstrap/
27+
```
28+
29+
After making any modifications you will need to regenerate the site. Like:
30+
31+
```sh
32+
$ cd react-bootstrap
33+
$ grunt watch:docs # Automatically compiles as needed
34+
$ grunt build:docs # Single compile
35+
```

‎assets/logo.png‎

16.4 KB
Loading[フレーム]

‎assets/style.css‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.CodeMirror {
2+
height: auto;
3+
}
4+
5+
.bs-example .btn-toolbar + .btn-toolbar {
6+
margin-top: 10px;
7+
}
8+
9+
.bs-example .modal {
10+
position: relative;
11+
top: auto;
12+
right: auto;
13+
left: auto;
14+
bottom: auto;
15+
z-index: 1;
16+
display: block;
17+
}
18+
19+
.bs-docs-booticon {
20+
background: url('./logo.png') 0 0 no-repeat;
21+
background-size: contain;
22+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /