mirror of https://github.com/apache/druid.git
Docs: fix doc footer (#12943)
* fix doc footer * move the logic to the fix-path script
This commit is contained in:
parent
f7c6316992
commit
c1a75fca3c
|
@ -27,6 +27,13 @@ var urlVersion = process.argv[2];
|
|||
var druidVersion = process.argv[3];
|
||||
|
||||
try {
|
||||
// Change any explict "/docs/latest" links to "/docs/" to be picked up by the next replace
|
||||
replace.sync({
|
||||
files: './build/ApacheDruid/docs/**/*.html',
|
||||
from: /"\/docs\/latest"/g,
|
||||
to: `"/docs/"`,
|
||||
});
|
||||
|
||||
// Fix doc paths
|
||||
replace.sync({
|
||||
files: './build/ApacheDruid/docs/**/*.html',
|
||||
|
|
Loading…
Reference in New Issue