initial commit
This commit is contained in:
		
						commit
						81b4d9b43b
					
				
					 6 changed files with 109 additions and 0 deletions
				
			
		
							
								
								
									
										37
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,37 @@ | |||
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||||
| // README at: https://github.com/devcontainers/templates/tree/main/src/debian | ||||
| { | ||||
|     "name": "lev-templates", | ||||
| 
 | ||||
|     // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||||
|     "image": "code.lenaisten.de/lenaisten/lev-templates:latest", | ||||
| 
 | ||||
|     // Features to add to the dev container. More info: https://containers.dev/features. | ||||
|     "features": { | ||||
|         "ghcr.io/devcontainers/features/common-utils:2": { | ||||
|             "configureZshAsDefaultShell": "true" | ||||
|         }, | ||||
|         "ghcr.io/devcontainers/features/git:1": {} | ||||
|     }, | ||||
| 
 | ||||
|     // Ensure git is installed before git-lfs | ||||
|     "overrideFeatureInstallOrder": [ | ||||
|         "ghcr.io/devcontainers/features/common-utils", | ||||
|         "ghcr.io/devcontainers/features/git" | ||||
|     ], | ||||
| 
 | ||||
|     // Configure tool-specific properties. | ||||
|     "customizations": { | ||||
|         "vscode": { | ||||
|             "extensions": [ | ||||
|                 "mhutchie.git-graph" | ||||
|             ] | ||||
|         } | ||||
|     }, | ||||
| 
 | ||||
|     // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||||
|     "remoteUser": "vscode" | ||||
| 
 | ||||
|     // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||||
|     // "forwardPorts": [], | ||||
| } | ||||
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| /*.tex | ||||
| /*.pdf | ||||
							
								
								
									
										9
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,9 @@ | |||
| { | ||||
|     "recommendations": [ | ||||
|         "tomoki1207.pdf" | ||||
|     ], | ||||
|     "unwantedRecommendations": [ | ||||
|         "ms-azuretools.vscode-containers", | ||||
|         "ms-vscode.makefile-tools" | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										3
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| { | ||||
|     "git.closeDiffOnOperation": true | ||||
| } | ||||
							
								
								
									
										24
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| { | ||||
|     // See https://go.microsoft.com/fwlink/?LinkId=733558 | ||||
|     // for the documentation about the tasks.json format | ||||
|     "version": "2.0.0", | ||||
|     "tasks": [ | ||||
|       { | ||||
|         "label": "Autodoc: Build & Watch", | ||||
|         "type": "shell", | ||||
|         "command": "autodoc -bw", | ||||
|         "problemMatcher": [], | ||||
|         "group": { | ||||
|           "kind": "build", | ||||
|           "isDefault": true | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "label": "Autodoc: Build", | ||||
|         "type": "shell", | ||||
|         "command": "autodoc -b", | ||||
|         "problemMatcher": [], | ||||
|         "group": "build" | ||||
|       } | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										34
									
								
								lev-dokument.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								lev-dokument.mk
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,34 @@ | |||
| #%SRCPAT% \.dok\.md
 | ||||
| 
 | ||||
| include /opt/lenaisten/compile-md.mk | ||||
| 
 | ||||
| PANDOCVARS := \
 | ||||
| 	colorlinks:true \
 | ||||
| 	csquotes:true \
 | ||||
| 	hyperrefoptions:pdfa \
 | ||||
| 	lang:de-DE \
 | ||||
| 	tables:true | ||||
| 
 | ||||
| mdFiles     := $(wildcard *.dok.md) | ||||
| mdSuffix    =  $(patsubst %.dok.md,%$(1),$(mdFiles)) | ||||
| 
 | ||||
| pdfFiles := $(call mdSuffix,.pdf) | ||||
| texFiles := $(call mdSuffix,.tex) | ||||
| 
 | ||||
| .PHONY: all autodoc | ||||
| all: pdf tex | ||||
| autodoc: pdf | ||||
| 
 | ||||
| .PHONY: pdf tex | ||||
| pdf: $(pdfFiles) | ||||
| tex: $(texFiles) | ||||
| 
 | ||||
| # pdf
 | ||||
| 
 | ||||
| %.pdf: %.dok.md | ||||
| 	$(call md2pdfa,$<,lev-dokument,$@) | ||||
| 
 | ||||
| # tex
 | ||||
| 
 | ||||
| %.tex: %.dok.md | ||||
| 	$(call md2tex,$<,lev-dokument,$@) | ||||
		Loading…
	
		Reference in a new issue