File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,11 +12,10 @@ const config = {
1212 tagline : 'High-performance spatial processing library for Databricks' ,
1313 favicon : 'img/favicon.ico' ,
1414
15- // Production URL: public → https://databrickslabs.github.io/geobrix/ ; set DOCS_PRIVATE_PAGES=1 for legacy private Pages URL
16- // GitHub Actions deploy sets DOCS_PUBLIC_PAGES =1 so baseUrl is always /geobrix/ for Pages.
15+ // GitHub Pages project site: https://databrickslabs.github.io/geobrix/
16+ // Set DOCS_STATIC_ZIP =1 for relative paths (static zip). Set DOCS_PRIVATE_PAGES=1 for legacy private Pages URL .
1717 url : process . env . DOCS_PRIVATE_PAGES === '1' ? 'https://friendly-fiesta-2eo74ww.pages.github.io' : 'https://databrickslabs.github.io' ,
18- // baseUrl: './' for static zip; '/' for legacy private Pages; '/geobrix/' for public project site (default; also when DOCS_PUBLIC_PAGES=1)
19- baseUrl : process . env . DOCS_STATIC_ZIP === '1' ? './' : ( process . env . DOCS_PUBLIC_PAGES === '1' || process . env . DOCS_PRIVATE_PAGES !== '1' ? '/geobrix/' : '/' ) ,
18+ baseUrl : process . env . DOCS_STATIC_ZIP === '1' ? './' : ( process . env . DOCS_PRIVATE_PAGES === '1' ? '/' : '/geobrix/' ) ,
2019 // Hash router for static zip so file:// opens work (pathname is then in hash, e.g. #/)
2120 ...( process . env . DOCS_STATIC_ZIP === '1' ? { future : { experimental_router : 'hash' } } : { } ) ,
2221
You can’t perform that action at this time.
0 commit comments