Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "bootstrap"]
path = bootstrap
url = git://github.com/twitter/bootstrap.git
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.PHONY: build

build:
(cd bootstrap; npm install; make bootstrap)
rm -rf sphinx-bootstrap/static/bootstrap-*
cp -r bootstrap/bootstrap/css/* sphinx-bootstrap/static
20 changes: 9 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,21 @@ Install
'disqus_shortname': 'scotchmedia',
}

3. Choose your theme. Edit `sphinx-bootstrap.css`. At the top of the file you will see this::
Building Instructions
---------------------

Uncomment the theme you would like to use.
When you first clone the repo, run:

@import "bootstrap-engineauth.min.css";
/*@import "bootstrap-default.min.css";*/
/*@import "bootstrap-sapling.css";*/
.. code::

Themes
------
git submodule init
git submodule update

New themes can be created using the `bootstrap customizer <http://twitter.github.com/bootstrap/customize.html>`_
Then, to update the CSS files:

Once you have created a custom theme include it in that static
directory and change the @import link to include your file. If you think the
themes is one that others will like. Send a pull request.
.. code::

make build


License
Expand Down
1 change: 1 addition & 0 deletions bootstrap
Submodule bootstrap added at 8c7f9c
Loading