Giter Club home page Giter Club logo

book-master's Introduction

iwt

To run locally

cd [book_master_directory]
gitbook install
  • IMPORTANT: In book.json, you need to change slideRootPath to the following. "slideRootPath": "/Slides"

  • NOTE: This WILL break the gitbook site version if you push it, so try not to commit that file. If you do by accident, change the book.json on the live server to be "slideRootPath": "/iwt-master/content/Slides"

  • Run book

gitbook serve
  • Now you can view the book at localhost:4000 The book will rebuild when you save a file. You can view the command line to see status When you push back up to the book repo, it'll update gitbook as well.

Updating Theme

  • To update the layout of the page, modify the files in node_modules/gitbook-plugin-theme-iwt/_layouts/website. This can only be done while running locally.

  • To update the css, modify website.css. This can be done on the gitbook site or locally. To see all the regions/classes that gitbook provides, you can view node_modules/gitbook-plugin-theme-iwt/src/less/website OR you can update the .less files at node_modules/gitbook-plugin-theme-iwt/src/less/website.
    Unfortunately, it only seems like the changes take hold if you publish the plugin and update the version. No way to test locally so probably better to use website.css.

Last Updated : July 2018 - TAP

book-master's People

Contributors

christie-sorenson avatar tpowell avatar

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.