mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-02 04:43:04 +08:00
Merge pull request #1867 from janpio/patch-10
docs(navigation): add trailing slash to navigation items
This commit is contained in:
commit
d891c3eea0
@ -22,6 +22,10 @@ module.exports = function jekyll(renderDocsProcessor) {
|
||||
doc.URL = doc.outputPath.replace('docs//', 'docs/')
|
||||
.replace('/index.md', '')
|
||||
.replace('content/', '');
|
||||
// add trailing slash to plugin pages
|
||||
if(!doc.URL.endsWith("/") && !doc.URL.endsWith(".html")) {
|
||||
doc.URL = doc.URL+'/';
|
||||
}
|
||||
});
|
||||
|
||||
const betaDocs = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user