diff --git a/.gitignore b/.gitignore index d0174fb..335a261 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ Thumbs.db .rbenv-version .rvmrc + +.idea diff --git a/_config.yml b/_config.yml index cb62001..1693fcf 100644 --- a/_config.yml +++ b/_config.yml @@ -1,10 +1,9 @@ # This is the default format. # For more see: https://github.com/mojombo/jekyll/wiki/Permalinks permalink: /:categories/:year/:month/:day/:title - exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"] auto: true -pygments: true +highlighter: pygments # Themes are encouraged to use these universal variables # so be sure to set them if your theme uses them. @@ -58,7 +57,7 @@ JB : BASE_PATH : false # By default, the asset_path is automatically defined relative to BASE_PATH plus the enabled theme. - # ex: [BASE_PATH]/assets/themes/[THEME-NAME] + # ex: [BASE_PATH]/assets/themes/[THEME_NAME] # # Override this by defining an absolute path to assets here. # ex: @@ -122,5 +121,4 @@ JB : # Setting any helper's provider to 'custom' will bypass the helper code # and include your custom code. Your custom file must be defined at: # ./_includes/custom/[HELPER] - # where [HELPER] is the name of the helper you are overriding. - + # where [HELPER] is the name of the helper you are overriding. \ No newline at end of file diff --git a/_includes/JB/setup b/_includes/JB/setup index efcd84b..b17f493 100644 --- a/_includes/JB/setup +++ b/_includes/JB/setup @@ -16,7 +16,7 @@ {% if site.JB.ASSET_PATH %} {% assign ASSET_PATH = site.JB.ASSET_PATH %} {% else %} - {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture %} + {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{% if page.theme.name %}{{ page.theme.name }}{% else if %}{{ layout.theme.name }}{% endif %}{% endcapture %} {% endif %} {% endif %} {% endcapture %}{% assign jbcache = nil %} \ No newline at end of file diff --git a/_includes/themes/metromongo/frontpage.html b/_includes/themes/metromongo/frontpage.html index 2b24ff6..3cacdb6 100644 --- a/_includes/themes/metromongo/frontpage.html +++ b/_includes/themes/metromongo/frontpage.html @@ -14,8 +14,8 @@

mongoengine

Documentation available at docs.mongoengine.org - - there is currently a tutorial, a user guide and - API reference. + - there is currently a tutorial, a user guide and + API reference.

@@ -28,11 +28,11 @@

Simple to use

{% highlight python %} from mongoengine import * # To define a schema for a # document, we create a -class Metadata(EmbeddedDocument): # class that inherits from +class Metadata(EmbeddedDocument): # class that inherits from tags = ListField(StringField()) # Document. revisions = ListField(IntField()) # Fields are specified by -class WikiPage(Document): # adding field objects as +class WikiPage(Document): # adding field objects as title = StringField(required=True) # class attributes to the text = StringField() # document class. metadata = EmbeddedDocumentField(Metadata) @@ -74,7 +74,7 @@

Tutorial

Help wanted

-

We're always looking for help on any aspect of mongoengine.

+

We're always looking for help on any aspect of Mongoengine.

@@ -107,8 +107,8 @@

mongoengine

Documentation available at http://docs.mongoengine.org - - there is currently a tutorial, a user guide and - API reference. + - there is currently a tutorial, a user guide and + API reference.

@@ -131,11 +131,11 @@

To get to grips with MongoEngine, there is extensive documentation, - API references - and a tutorial. + API references + and a tutorial. You can find help by joining the MongoEngine - Users mailing list or by chatting with other users on the #mongoengine IRC channel. + Users mailing list.

@@ -156,7 +156,7 @@

mongoengine

Community

- You can find help by joining the MongoEngine Users mailing list or by chatting with other users on the #mongoengine IRC channel. + You can find help by joining the MongoEngine Users mailing list.

Contributing

@@ -172,7 +172,7 @@

Contributing

  • MongoEngine website!
  • - To contribute to the project contact me @RossC0 or fork any repository from the mongoengine organisation on github and send a pull request, all contributions and suggestions are welcome! + To contribute to the project, fork any repository from the mongoengine organisation on github and send a pull request, all contributions and suggestions are welcome!

    If you or your company is doing something cool / interesting on mongoengine then we want to know about it!

    diff --git a/_includes/themes/metromongo/settings.yml b/_includes/themes/metromongo/settings.yml index 260f82e..2ffddbb 100644 --- a/_includes/themes/metromongo/settings.yml +++ b/_includes/themes/metromongo/settings.yml @@ -1,2 +1,2 @@ theme : - name : mongoengine \ No newline at end of file + name : metromongo \ No newline at end of file diff --git a/_includes/themes/mongoengine/frontpage.html b/_includes/themes/mongoengine/frontpage.html index eba661c..a81effe 100644 --- a/_includes/themes/mongoengine/frontpage.html +++ b/_includes/themes/mongoengine/frontpage.html @@ -28,8 +28,8 @@

    MongoEngine

    Documentation available at http://bit.ly/mongoengine-docs - - there is currently a tutorial, a user guide and - API reference. + - there is currently a tutorial, a user guide and + API reference.

    @@ -138,11 +138,11 @@

    Getting Started

    archives for the stable and master versions.

    To get to grips with MongoEngine, there is extensive documentation, - API references - and a tutorial. + API references + and a tutorial. You can find help by joining the MongoEngine - Users mailing list or by chatting with other users on the #mongoengine IRC channel. + Users mailing list.

    If you are interested in contributing, join the @@ -186,8 +186,6 @@

    Contributing

    Community

    @@ -197,4 +195,4 @@

    Github

    - \ No newline at end of file + diff --git a/docs/index.html b/docs/index.html index e116c06..e0d7ba7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,5 +4,5 @@ --- {% include JB/setup %} -Documentation is now available at http://bit.ly/mongoengine-docs - \ No newline at end of file +Documentation is now available at http://docs.mongoengine.org/ +