Add build system, rendering scripts, assets and GitHub Pages workflow for generated CV#2
Merged
Conversation
- Expand executive (de) and technical (de) source CVs with more substance - Refresh assets/style.css with extended typography, layout and print styles - Tweak scripts/render_html.py output to use the new asset path - Update README to reflect the source-of-truth workflow - Regenerate public/ HTML and PDF artifacts so CI's diff check passes Drops the local-only src/cv-full.private.md that codex accidentally committed — the .gitignore pattern src/*private* continues to exclude it. Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
CybotTM
force-pushed
the
codex/refactor-cv-repository-to-cv-as-code-ltsq4x
branch
from
May 10, 2026 14:26
50e6b13 to
08c9f6d
Compare
There was a problem hiding this comment.
Pull request overview
This PR moves the repo toward a “CV as source” workflow by updating the Markdown CV sources, improving the fallback HTML renderer, refreshing styling, and committing updated generated public/ HTML artifacts intended for GitHub Pages publishing.
Changes:
- Updated the German executive and technical CV Markdown sources and regenerated corresponding
public/HTML pages. - Extended the fallback HTML renderer to support inline bold and Markdown links.
- Reworked the shared stylesheet and refreshed the README to describe the workflow.
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/cv-technical.de.md | Updated technical CV content and added link section for navigation/downloads. |
| src/cv-executive.de.md | Updated executive CV content and cross-links to other artifacts. |
| scripts/render_html.py | Added a minimal inline Markdown renderer for bold + links and reused it across elements. |
| README.md | Documented file layout and build/check/clean commands. |
| public/index.html | Regenerated landing page HTML from source content. |
| public/cv-technical.de.html | Regenerated technical CV HTML artifact. |
| public/cv-executive.de.html | Regenerated executive CV HTML artifact. |
| assets/style.css | Replaced prior styling with a new screen/print-friendly stylesheet. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -1,41 +1,56 @@ | |||
| <!DOCTYPE html><html lang='de'><head><meta charset='utf-8'/><meta name='viewport' content='width=device-width, initial-scale=1'/><link rel='stylesheet' href='../assets/style.css'/></head><body> | |||
Comment on lines
+25
to
30
| Requirements: | ||
|
|
||
| - `make` | ||
| - `pandoc` | ||
| - `weasyprint` | ||
| - `make` | ||
|
|
| @@ -1,41 +1,56 @@ | |||
| <!DOCTYPE html><html lang='de'><head><meta charset='utf-8'/><meta name='viewport' content='width=device-width, initial-scale=1'/><link rel='stylesheet' href='../assets/style.css'/></head><body> | |||
| @@ -1,52 +1,50 @@ | |||
| <!DOCTYPE html><html lang='de'><head><meta charset='utf-8'/><meta name='viewport' content='width=device-width, initial-scale=1'/><link rel='stylesheet' href='../assets/style.css'/></head><body> | |||
Comment on lines
11
to
13
| src = Path(sys.argv[1]) | ||
| out = Path(sys.argv[2]) | ||
| css_href = sys.argv[3] |
Comment on lines
+49
to
+55
| ## Source of truth | ||
|
|
||
| The Markdown files in `src/` are the source of truth. Files in `public/` are generated artifacts for GitHub Pages and downloadable HTML/PDF versions. | ||
|
|
||
| ## Publishing | ||
|
|
||
| - `src/cv-full.private.md`: private/full CV source | ||
| - `src/cv-executive.de.md`: public executive CV (German) | ||
| - `src/cv-technical.de.md`: public technical CV (German) | ||
| - `assets/style.css`: shared stylesheet for generated HTML | ||
| - `Makefile`: reproducible local build pipeline | ||
| - `.github/workflows/build.yml`: CI build/check and GitHub Pages deployment | ||
| - `public/`: generated public HTML/PDF outputs | ||
| GitHub Pages serves the generated files from `public/`. The default published CV is `public/index.html`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
src/is rendered intopublic/artifacts for GitHub Pages.Description
Makefilewith targetsbuild,html,pdf,index,checkandclean, and withPANDOC/WEASYPRINTdetection and fallbacks to bundled Python scripts.src/(cv-executive.de.md,cv-technical.de.md,cv-full.private.md) and move/remove the old generated HTML/PDF andstyle.css.scripts/render_html.pyto produce simple HTML from Markdown andscripts/render_pdf.pyto emit a minimal PDF whenweasyprintis not available.assets/style.css, commit generatedpublic/artifacts (index.html,cv-*.html,cv-*.pdf), updateREADME.mdto document the workflow, and replace.gitignorewith new patterns..github/workflows/build.ymlto build and upload a Pages artifact on pushes tomain, installingpandocandweasyprintand intentionally forcing the fallback renderers by settingPANDOC=__missing_pandoc__andWEASYPRINT=__missing_weasyprint__during themake buildstep.Testing
make buildand publishpublic/to GitHub Pages on pushes tomain.make checktarget to verify generated artifacts are committed viagit diff --exit-code public/for future CI checks.Codex Task