GithubHelp home page GithubHelp logo

Comments (5)

yeasy avatar yeasy commented on May 13, 2024

@aleen42
interesting, would u like to give a sample of the result by enabling the plugin?

from docker_practice.

aleen42 avatar aleen42 commented on May 13, 2024

@yeasy Configure the file book.json of your book by adding two items into corresponding objects plugins, and pluginsConfig. And then, rebuild your book to apply it.

  • copyright: If you don't want to show the copyright info, just set it as empty string.
  • minHeaderCount: means if the amount of headers is lower than this value, the "Treeview" won't be generated.
  • minHeaderDeep: means if the depth of headers is lower than this value, the "Treeview" won't also be generated.
{
	"plugins": [
		/** ... */
		"page-treeview",
		/** ... */
	],
	"pluginsConfig": {
		/** ... */,
		"page-treeview": {
			"copyright": "Copyright © aleen42",
			"minHeaderCount": "2",
			"minHeaderDeep": "2"
		},
		/** ... */
	}
}

from docker_practice.

yeasy avatar yeasy commented on May 13, 2024

Aha, i just noticed u're the plugin author.
would u like to submit a pr? :)

from docker_practice.

aleen42 avatar aleen42 commented on May 13, 2024

@yeasy Aha, check the pull request here. Thanks for your using.

from docker_practice.

yeasy avatar yeasy commented on May 13, 2024

Merged, thanks!

from docker_practice.

Related Issues (20)

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.