removed debuggin, fixed md path
This GitBook plugin can redirect gitbook page.
Add to your book.json plugin list:
book.json
{ "plugins" : [ "redirect-sub@https://github.com/nats-io/gitbook-plugin-redirect-sub.git" ], "pluginsConfig": { "redirect_sub" : { "root" : "your-redirect-url-root", "bookname" : "your-book-name" } } }
For example, when you write below config in book.json,
"redirect_sub" : { "root" : "https://books.example.com", }
and you access to https://example.gitbook.io/xxx/yyy.html , you will be redirected to https://books.example.com/xxx/yyy.html.
https://example.gitbook.io/xxx/yyy.html
https://books.example.com/xxx/yyy.html
This plugin reuses many codes of gitbook-plugin-redirect Plugin. Many thanks to ketan.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
gitbook-plugin-redirect-sub
This GitBook plugin can redirect gitbook page.
Usage
Add to your
book.jsonplugin list:For example, when you write below config in
book.json,and you access to
https://example.gitbook.io/xxx/yyy.html, you will be redirected tohttps://books.example.com/xxx/yyy.html.Credits
This plugin reuses many codes of gitbook-plugin-redirect Plugin. Many thanks to ketan.