mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	ci: build docs-checklink package in CI to ensure link validity
This commit is contained in:
		
					parent
					
						
							
								5618dadd96
							
						
					
				
			
			
				commit
				
					
						e43a067cae
					
				
			
		
					 2 changed files with 15 additions and 8 deletions
				
			
		
							
								
								
									
										21
									
								
								.github/workflows/check-docs.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/check-docs.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -19,13 +19,6 @@ jobs: | |||
|           - docs-manpages | ||||
|           - docs-json | ||||
|     steps: | ||||
|       - uses: easimon/maximize-build-space@v10 | ||||
|         with: | ||||
|           overprovision-lvm: true | ||||
|           remove-android: true | ||||
|           remove-dotnet: true | ||||
|           remove-haskell: true | ||||
| 
 | ||||
|       - name: Install Nix | ||||
|         uses: DeterminateSystems/nix-installer-action@main | ||||
|       - uses: DeterminateSystems/magic-nix-cache-action@main | ||||
|  | @ -49,3 +42,17 @@ jobs: | |||
|         with: | ||||
|           name: "${{ matrix.package }}" | ||||
|           path: result/share/doc/nvf | ||||
| 
 | ||||
| flake-docs-linkcheck: | ||||
|   name: Validate hyperlinks in documentation sources | ||||
|   runs-on: ubuntu-latest | ||||
|   steps: | ||||
|     - name: Install Nix | ||||
|       uses: DeterminateSystems/nix-installer-action@main | ||||
|     - uses: DeterminateSystems/magic-nix-cache-action@main | ||||
| 
 | ||||
|     - uses: actions/checkout@v4 | ||||
|       name: Checkout | ||||
| 
 | ||||
|     - name: Build documentation packages | ||||
|       run: nix build .#docs-linkcheck -Lv | ||||
|  |  | |||
							
								
								
									
										2
									
								
								.github/workflows/manual.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/manual.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -47,7 +47,7 @@ jobs: | |||
|       - uses: DeterminateSystems/nix-installer-action@main | ||||
|       - uses: DeterminateSystems/magic-nix-cache-action@main | ||||
|       - run: | | ||||
|           nix build .#docs | ||||
|           nix build .#docs -Lv | ||||
|           cp -r result/share/doc/nvf public | ||||
|       - uses: peaceiris/actions-gh-pages@v4 | ||||
|         with: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue