feat: add docgen for QuickShell.Wayland
This commit is contained in:
		
							parent
							
								
									d769ae67cb
								
							
						
					
					
						commit
						d603e3de53
					
				
					 2 changed files with 7 additions and 3 deletions
				
			
		
							
								
								
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -5,7 +5,7 @@
 | 
				
			||||||
# typegen
 | 
					# typegen
 | 
				
			||||||
/typegen/target
 | 
					/typegen/target
 | 
				
			||||||
/build
 | 
					/build
 | 
				
			||||||
/content/docs/types/QuickShell
 | 
					/content/docs/types/QuickShell*
 | 
				
			||||||
/data/modules
 | 
					/data/modules
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# hugo
 | 
					# hugo
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										8
									
								
								Justfile
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								Justfile
									
										
									
									
									
								
							| 
						 | 
					@ -2,12 +2,16 @@ clean:
 | 
				
			||||||
	rm -rf build
 | 
						rm -rf build
 | 
				
			||||||
	rm -rf data/modules/QuickShell
 | 
						rm -rf data/modules/QuickShell
 | 
				
			||||||
	rm -rf content/docs/types/QuickShell
 | 
						rm -rf content/docs/types/QuickShell
 | 
				
			||||||
 | 
						rm -rf data/modules/QuickShell.Wayland
 | 
				
			||||||
 | 
						rm -rf content/docs/types/QuickShell.Wayland
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedocs: clean
 | 
					typedocs: clean
 | 
				
			||||||
	cd typegen && cargo build
 | 
						cd typegen && cargo build
 | 
				
			||||||
	mkdir -p build/types/types
 | 
						mkdir -p build/types/types
 | 
				
			||||||
	./typegen/target/debug/typegen gentypes ../src/cpp/module.md build/types/types/QuickShell.json
 | 
						./typegen/target/debug/typegen gentypes ../src/core/module.md build/types/types/QuickShell.json
 | 
				
			||||||
	sh -c './typegen/target/debug/typegen gendocs ../src/cpp/module.md data/modules/QuickShell content/docs/types/QuickShell types/* build/types/types/*'
 | 
						./typegen/target/debug/typegen gentypes ../src/wayland/module.md build/types/types/QuickShell.Wayland.json
 | 
				
			||||||
 | 
						sh -c './typegen/target/debug/typegen gendocs ../src/core/module.md data/modules/QuickShell content/docs/types/QuickShell types/* build/types/types/*'
 | 
				
			||||||
 | 
						sh -c './typegen/target/debug/typegen gendocs ../src/wayland/module.md data/modules/QuickShell.Wayland content/docs/types/QuickShell.Wayland types/* build/types/types/*'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
serve: typedocs
 | 
					serve: typedocs
 | 
				
			||||||
	hugo server --buildDrafts --disableFastRender
 | 
						hugo server --buildDrafts --disableFastRender
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue