Giter VIP home page Giter VIP logo

nbdev-jekyll-theme's Introduction

nbdev-jekyll-theme

A Jekyll theme for nbdev based on documentation-theme-jekyll.

Usage

We recommend that you use repo template nbdev template or the nbdev_new CLI command to create new nbdev projects. nbdev template containts this theme as well as other supporting files needed for nbdev.

Development

The following are instructions for using nbdev-jekyll-theme without the template, which can be useful for testing or development.

Installation

Add this line to your Jekyll site's Gemfile:

gem "jekyll-remote-theme"

And add these lines to your Jekyll site's _config.yml:

plugins:
    - jekyll-remote-theme
    
remote_theme: fastai/nbdev-jekyll-theme

And then execute:

> bundle install

Serving

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

Overriding This Theme

Any site that uses this theme will only use the files in _layouts, _includes, _sass and assets. If you wish to override this theme, you must create the same directory and file in your local project. For example, to change your site's favicon, you can create a file named assets/images/favicon.ico to override the default favicon contained in this theme.

Note: This theme does not distribute certain files that are bundled with nbdev template such as sitemap.xml, feed.xml, and various configuration files and notebooks.

Resources

nbdev-jekyll-theme's People

Contributors

hamelsmu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nbdev-jekyll-theme's Issues

Is this theme available in GH Enterprise?

Hello, I wrote this issue yesterday fastai/nbdev#551 (comment), I am trying to build a fastai project within a GH Enterprise instance. The page fails to build and I am trying to figure out why.

One hypothesis I have is whether this repo (fastai/nbdev-jekyll-theme) needs to be available in my GH Enterprise for it to be used in projects within the enterprise. Another thing I am wondering about is whether by default GH entreprise comes with a few available themes but all custom themes are not available. Hope that makes sense

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.