Compare commits
	
		
			1 Commits
		
	
	
		
			b9c0d6bd4a
			...
			main_fix_l
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 6043564128 | 
							
								
								
									
										10
									
								
								build-dev.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								build-dev.sh
									
									
									
									
									
								
							| @@ -9,12 +9,12 @@ export PATH=${BASE}/node_modules/.bin:$PATH | ||||
|  | ||||
| echo "Docs directory: $script_dir" | ||||
|  | ||||
| # Change baseUrl to '/tftechdev/' | ||||
| sed -i "s|/tftech/|/tftechdev/|g" docusaurus.config.ts ./src/pages/index.tsx | ||||
| # Change baseUrl to '/techdev/' | ||||
| sed -i "s|/tech/|/techdev/|g" docusaurus.config.ts ./src/pages/index.tsx | ||||
|  | ||||
| bun docusaurus build | ||||
|  | ||||
| rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/tftechdev | ||||
| rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/techdev | ||||
|  | ||||
| # Change baseUrl to '/tftech/' | ||||
| sed -i "s|/tftechdev/|/tftech/|g" docusaurus.config.ts ./src/pages/index.tsx | ||||
| # Change baseUrl to '/tech/' | ||||
| sed -i "s|/techdev/|/tech/|g" docusaurus.config.ts ./src/pages/index.tsx | ||||
							
								
								
									
										2
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								build.sh
									
									
									
									
									
								
							| @@ -11,4 +11,4 @@ echo "Docs directory: $script_dir" | ||||
|  | ||||
| bun docusaurus build | ||||
|  | ||||
| rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/tftech | ||||
| rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/tech | ||||
|   | ||||
| @@ -8,7 +8,7 @@ const config: Config = { | ||||
|   favicon: 'img/favicon.png', | ||||
|  | ||||
|   url: 'https://threefold.info', | ||||
|   baseUrl: '/tftech/', | ||||
|   baseUrl: '/tech/', | ||||
|  | ||||
|   onBrokenLinks: 'throw', | ||||
|   onBrokenMarkdownLinks: 'warn', | ||||
|   | ||||
| @@ -2,5 +2,5 @@ import React from 'react'; | ||||
| import { Redirect } from '@docusaurus/router'; | ||||
|  | ||||
| export default function Home() { | ||||
|   return <Redirect to="/tftech/docs" />; | ||||
|   return <Redirect to="/tech/docs" />; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user