Skip to content

bcopy/gitbook-plugin-datatables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

99aad7d · Sep 29, 2022

History

17 Commits
Sep 29, 2022
Sep 27, 2022
Sep 29, 2022
Sep 29, 2022
Sep 28, 2022
Sep 26, 2022
Sep 27, 2022
Sep 27, 2022
Sep 27, 2022
Sep 27, 2022
Sep 29, 2022
Sep 29, 2022
Sep 29, 2022
Sep 27, 2022
Sep 27, 2022

Repository files navigation

Gitbook Plugin for DataTables

This plugin integrates DataTables in your Gitbook Honkit website, with support for accessible HTML tables.

With regards to support for dynamic data source, note that the plugin can only inject data available at build time, when Gitbook Honkit generates your static website.

Installation

  • Install the plugin
npm install bcopy/gitbook-plugin-datatables
  • Add the plugin to your book.json :
{
  "plugins": ["datatables"]
}

Features

How to develop the plugin

Development environment installation

  • Prerequisites

    • You will need a JDK v11+
  • You can use the provided Gradle wrapper to install node locally (Alternatively you must have node v14+ installed)

    • ./gradlew installNode on Linux / Mac OSX
    • or gradlew.bat installNode on Windows
  • You can then setup your path and install the required dependencies :

    • If using the gradle wrapper : source ./setup-path.sh
    • npm install
  • Finally you can run the book in preview mode

    • npm run serve

Alternatively, you can install NodeJS locally.

Gitflow support in Gradle

  • Init gitflow
./gradlew initGitflow
  • Develop a new feature with
./gradlew featureStart
./gradlew featureFinish
  • Issue a new release with
./gradlew releaseStart
./gradlew releaseFinish

Please refer to https://github.com/hyasinfosec/gitflow-gradle-plugin

About

DataTables plugin for Gitbook / Honkit

Resources

License

Stars

Watchers

Forks

Packages

No packages published