Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
gitbook-plugin-multilingual-index
Advanced tools
Readme
customize multilingual home pages
book.json
filebook.json
file, add multilingual-index
to plugins
list.pluginsConfig
, Set enableSuper
as false
to disable default home page,and add index
value to customize multilingual home pages. Only relative paths are supported.Here is simplest example :
{
"plugins": ["multilingual-index"],
"pluginsConfig": {
"multilingual-index": {
"enableSuper": false,
"index":"index.html"
}
}
}
Please refer to the following configuration item for more details :
"enableSuper": {
"type": "boolean",
"title": "inherit from super",
"required": false,
"default": true
},
"index": {
"type": "string",
"title": "default index path",
"required": false
}
gitbook install
. It will automatically install multilingual-index
gitbook plugin for your book. This is needed only once.gitbook install
or you can run npm install gitbook-plugin-multilingual-index
to install locally.
npm install gitbook-plugin-multilingual-index
gitbook build
) or serve (gitbook serve
) as usual.gitbook serve
https://github.com/snowdreams1006/gitbook-plugin-multilingual-index/blob/master/docs/book.json
{
"plugins": ["multilingual-index"],
"pluginsConfig": {
"multilingual-index": {
"enableSuper": false,
"index":"index.html"
}
}
}
https://github.com/snowdreams1006/gitbook-plugin-multilingual-index/blob/master/example/book.json
{
"plugins": ["multilingual-index"],
"pluginsConfig": {
"multilingual-index": {
"enableSuper": true,
"index":"index.html"
}
}
}
book.json
file with inheriting the default home page{
"plugins": ["multilingual-index"],
"pluginsConfig": {
"multilingual-index": {
"enableSuper": true,
"index":"index.html"
}
}
}
book.json
file without inheriting the default home page{
"plugins": ["multilingual-index"],
"pluginsConfig": {
"multilingual-index": {
"enableSuper": false,
"index":"index.html"
}
}
}
👤 snowdreams1006
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a Star if this project helped you!
Copyright © 2019 snowdreams1006.
This project is MIT licensed.
FAQs
customize multilingual home pages
The npm package gitbook-plugin-multilingual-index receives a total of 4 weekly downloads. As such, gitbook-plugin-multilingual-index popularity was classified as not popular.
We found that gitbook-plugin-multilingual-index demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.