File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
packages/webdoc-template-library/src/pipeline-elements Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 2323 },
2424 "scripts" : {
2525 "unit-test" : " " ,
26- "build" : " webdoc --tutorials ./tutorials --site-root example-documentation --site-domain https://webdoc-labs.github.io/ " ,
26+ "build" : " webdoc --tutorials ./tutorials --site-root example-documentation --site-domain https://webdoc-labs.github.io" ,
2727 "build-next" : " cd .. && webdoc && cd example" ,
2828 "build-pixi-api" : " cd ../../pixi-api && webdoc --site-root docs && cd ../webdoc/example" ,
2929 "build-pixi-api-prod" : " cd ../../pixi-api && webdoc --site-root pixi-api && cd ../webdoc/example" ,
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ export class Sitemap implements TemplatePipelineElement<SitemapData> {
2323 this . dir = dir ;
2424 this . domain = domain ;
2525 this . root = root ;
26+
27+ if ( this . domain . charAt ( this . domain . length - 1 ) !== "/" ) {
28+ this . domain += "/" ;
29+ }
2630 }
2731
2832 run ( input : string , pipelineData : SitemapData = { } ) {
You can’t perform that action at this time.
0 commit comments