Skip to content
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.
/ Book-Master Public archive
forked from IWT-Book/Book-Master

Working content for Introduction to Web Technologies Book

Notifications You must be signed in to change notification settings

ProfPowell/Book-Master

 
 

Repository files navigation

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

About

Working content for Introduction to Web Technologies Book

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 39.6%
  • CSS 34.5%
  • HTML 25.9%