Generate a sitemap for the gitbook website.
Add it to your book.json
with a basic configuration:
{
"plugins": ["sitemap"],
"pluginsConfig": {
"sitemap": {
"hostname": "http://mybook.com/"
}
}
}
Generate a sitemap for the gitbook website
License: Apache License 2.0
I would like to create a sitemap for a book served from a subdirectory, e.g. http://mybook.com/subdir/
.
My configuration looks like this:
"sitemap": {
"hostname": "http://mybook.com/subdir/"
}
In the generated sitemap in all links subdir
is ignored.
Hi, I add the sitemap plugin in my gitbook with "hostname": "http://codenote.liuyid.in/". However, in the sitemap http://codenote.liuyid.in/sitemap.xml, all links are wrong with additional "null"s, like http://codenote.liuyid.in/nullREADME.html .
With hostname
set to http://www.example.com
the first entry in the sitemap is
http://www.example.com/./
Should be
http://www.example.com/
I have run gitbook install
, but some error there.
gitbook-cli version 1.0.0
info: load plugin gitbook-plugin-sitemap ....ERROR
Error: Error loading plugins: gitbook-plugin-sitemap. Run 'gitbook install' to install plugins from NPM.
This plugin generates sitemap for single language and broken for multi-language site.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.