Giter VIP home page Giter VIP logo

dsp-labs's Introduction

DSP labs

Viewing material from GitHub

Go here. Note that plug-in material won't render properly, e.g. equations.

Building/viewing gitbook locally

You'll need npm.

Install the gitbook client if you haven't already:

$ npm install gitbook-cli -g

Copy the repository and run the following commands from the top directory:

$ gitbook install
$ gitbook serve

Go to: http://localhost:4000

GitBook instructions (from scratch)

Installation instructions.

$ npm install gitbook-cli -g

Create new directory

$ mkdir my-book
$ cd my-book
$ gitbook init

To preview the book and make live edits:

$ gitbook serve

To build static website:

$ gitbook build

To have separate documentation and code, create a book.json file with the following content:

{
    "root": "./docs"
}

and place all files inside a folder called 'docs'.

Adding math

Add the following line to your book.json file:

{
    "plugins": ["mathjax"]
}

If you are exporting to PDF, you will find a bug when using this version of mathjax (as of 11 Dec 2018). This fix consists of using a forked version of mathjax, namely:

{
    "plugins": ["mathjax@https://github.com/OrgVue/gitbook-plugin-mathjax.git#speech-fix"]
}

and installing the following package:

$ npm install svgexport -g

Install the plugin from within your gitbook directory

$ gitbook install

More info.

Converting LaTeX to Markdown

Pandoc is a great tool for this. For small sections, the online tool is generally sufficient.

Adding drop-down menu for sidebar

Add the following plug-in to your book.json file:

{
    "plugins": ["expandable-chapters"]
}

Install the plug-in by running:

$ gitbook install

More info.

Highlighted boxes (for tasks)

See here.

Adding Disqus commands

You'll need to make a Disqus account if you don't already have one.

Edit the book.json file as described here.

Install the plug-in by running:

$ gitbook install

Adding custom favicon

See here.

Adding TOC to page

See here.

dsp-labs's People

Contributors

ebezzam avatar helleweiss avatar

Forkers

helleweiss

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.