Kaynağa Gözat

Add bootstrap-rst plugin

Nicolas P. Rougier[1] has done some great work making Bootstrap's features
available as rst directives. This is merely packaging his work into a Pelican
plugin.

It is much more featureful than the 'twitter_bootstrap_rst_directives' plugin,
and makes using Bootstrap's rows and columns actually possible in the content
without descending into `..raw:: html` spaghetti hell.

[1] https://github.com/rougier/bootstrap-rst
Alex Waite 8 yıl önce
ebeveyn
işleme
f8db8cad3d
3 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 3 0
      .gitmodules
  2. 2 0
      Readme.rst
  3. 1 0
      bootstrap-rst

+ 3 - 0
.gitmodules

@@ -124,3 +124,6 @@
 [submodule "pelican-yuicompressor"]
 	path = pelican-yuicompressor
 	url = https://github.com/auroredea/pelican-yuicompressor
+[submodule "bootstrap-rst"]
+	path = bootstrap-rst
+	url = https://github.com/Alexqw/bootstrap-rst

+ 2 - 0
Readme.rst

@@ -52,6 +52,8 @@ Better code samples       Wraps ``table`` blocks with ``div > .hilitewrapper > .
 
 Better figures/samples    Adds a ``style="width: ???px; height: auto;"`` attribute to any ``<img>`` tags in the content
 
+bootstrap-rst             Provides most (though not all) of Bootstrap's features as rst directives
+
 bootstrapify              Automatically add bootstraps default classes to your content
 
 Category Order            Order categories (and tags) by the number of articles in that category (or tag).

+ 1 - 0
bootstrap-rst

@@ -0,0 +1 @@
+Subproject commit d5f8354ca10a3db6fd725a7fbdc5c15562a73316