Rendercv missing commits (#3475)
Signed-off-by: George Araújo <george.gcac@gmail.com>
This commit is contained in:
parent
84cf7a3f50
commit
c39ef4a693
15
.github/workflows/render-cv.yml
vendored
15
.github/workflows/render-cv.yml
vendored
@ -6,13 +6,9 @@ on:
|
|||||||
- master
|
- master
|
||||||
paths:
|
paths:
|
||||||
- "_data/cv.yml"
|
- "_data/cv.yml"
|
||||||
- "_data/cv.yaml"
|
|
||||||
- "assets/rendercv/design.yaml"
|
- "assets/rendercv/design.yaml"
|
||||||
- "assets/rendercv/design.yml"
|
|
||||||
- "assets/rendercv/locale.yaml"
|
- "assets/rendercv/locale.yaml"
|
||||||
- "assets/rendercv/locale.yml"
|
|
||||||
- "assets/rendercv/settings.yaml"
|
- "assets/rendercv/settings.yaml"
|
||||||
- "assets/rendercv/settings.yml"
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
permissions:
|
permissions:
|
||||||
@ -41,16 +37,13 @@ jobs:
|
|||||||
echo "No RenderCV config directory found!"
|
echo "No RenderCV config directory found!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
design=$(find $rendercv_dir -maxdepth 1 -type f \( -name "design.yaml" -o -name "design.yml" \))
|
|
||||||
locale=$(find $rendercv_dir -maxdepth 1 -type f \( -name "locale.yaml" -o -name "locale.yml" \))
|
|
||||||
settings=$(find $rendercv_dir -maxdepth 1 -type f \( -name "settings.yaml" -o -name "settings.yml" \))
|
settings=$(find $rendercv_dir -maxdepth 1 -type f \( -name "settings.yaml" -o -name "settings.yml" \))
|
||||||
|
if [ -z "$settings" ]; then
|
||||||
if [ -z "$design" ] || [ -z "$locale" ] || [ -z "$settings" ]; then
|
echo "Missing RenderCV config file!"
|
||||||
echo "Missing RenderCV config files!"
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
rendercv render $cv_file --settings $settings
|
||||||
rendercv render $cv_file --design $design --locale-catalog $locale --settings $settings
|
rm assets/rendercv/rendercv_output/*.typ
|
||||||
- name: Upload rendercv_output as an artifact
|
- name: Upload rendercv_output as an artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@ -1,131 +1,7 @@
|
|||||||
|
# for more options, see https://docs.rendercv.com/user_guide/yaml_input_structure/design/
|
||||||
design:
|
design:
|
||||||
theme: classic
|
theme: classic
|
||||||
page:
|
page:
|
||||||
# size: us-letter
|
size: a4
|
||||||
# top_margin: 0.7in
|
|
||||||
# bottom_margin: 0.7in
|
|
||||||
# left_margin: 0.7in
|
|
||||||
# right_margin: 0.7in
|
|
||||||
show_footer: false
|
show_footer: false
|
||||||
show_top_note: false
|
show_top_note: false
|
||||||
# colors:
|
|
||||||
# body: rgb(0, 0, 0)
|
|
||||||
# name: rgb(0, 79, 144)
|
|
||||||
# headline: rgb(0, 79, 144)
|
|
||||||
# connections: rgb(0, 79, 144)
|
|
||||||
# section_titles: rgb(0, 79, 144)
|
|
||||||
# links: rgb(0, 79, 144)
|
|
||||||
# footer: rgb(128, 128, 128)
|
|
||||||
# top_note: rgb(128, 128, 128)
|
|
||||||
# typography:
|
|
||||||
# line_spacing: 0.6em
|
|
||||||
# alignment: justified
|
|
||||||
# date_and_location_column_alignment: right
|
|
||||||
# font_family:
|
|
||||||
# body: Source Sans 3
|
|
||||||
# name: Source Sans 3
|
|
||||||
# headline: Source Sans 3
|
|
||||||
# connections: Source Sans 3
|
|
||||||
# section_titles: Source Sans 3
|
|
||||||
# font_size:
|
|
||||||
# body: 10pt
|
|
||||||
# name: 30pt
|
|
||||||
# headline: 10pt
|
|
||||||
# connections: 10pt
|
|
||||||
# section_titles: 1.4em
|
|
||||||
# small_caps:
|
|
||||||
# name: false
|
|
||||||
# headline: false
|
|
||||||
# connections: false
|
|
||||||
# section_titles: false
|
|
||||||
# bold:
|
|
||||||
# name: true
|
|
||||||
# headline: false
|
|
||||||
# connections: false
|
|
||||||
# section_titles: true
|
|
||||||
# links:
|
|
||||||
# underline: false
|
|
||||||
# show_external_link_icon: false
|
|
||||||
# header:
|
|
||||||
# alignment: center
|
|
||||||
# photo_width: 3.5cm
|
|
||||||
# photo_position: left
|
|
||||||
# photo_space_left: 0.4cm
|
|
||||||
# photo_space_right: 0.4cm
|
|
||||||
# space_below_name: 0.7cm
|
|
||||||
# space_below_headline: 0.7cm
|
|
||||||
# space_below_connections: 0.7cm
|
|
||||||
# connections:
|
|
||||||
# phone_number_format: national
|
|
||||||
# hyperlink: true
|
|
||||||
# show_icons: true
|
|
||||||
# display_urls_instead_of_usernames: false
|
|
||||||
# separator: ''
|
|
||||||
# space_between_connections: 0.5cm
|
|
||||||
# section_titles:
|
|
||||||
# type: with_partial_line
|
|
||||||
# line_thickness: 0.5pt
|
|
||||||
# space_above: 0.5cm
|
|
||||||
# space_below: 0.3cm
|
|
||||||
# sections:
|
|
||||||
# allow_page_break: true
|
|
||||||
# space_between_regular_entries: 1.2em
|
|
||||||
# space_between_text_based_entries: 0.3em
|
|
||||||
# show_time_spans_in:
|
|
||||||
# - experience
|
|
||||||
# entries:
|
|
||||||
# date_and_location_width: 4.15cm
|
|
||||||
# side_space: 0.2cm
|
|
||||||
# space_between_columns: 0.1cm
|
|
||||||
# allow_page_break: false
|
|
||||||
# short_second_row: true
|
|
||||||
# summary:
|
|
||||||
# space_above: 0cm
|
|
||||||
# space_left: 0cm
|
|
||||||
# highlights:
|
|
||||||
# bullet: •
|
|
||||||
# nested_bullet: •
|
|
||||||
# space_left: 0.15cm
|
|
||||||
# space_above: 0cm
|
|
||||||
# space_between_items: 0cm
|
|
||||||
# space_between_bullet_and_text: 0.5em
|
|
||||||
# templates:
|
|
||||||
# footer: '*NAME -- PAGE_NUMBER/TOTAL_PAGES*'
|
|
||||||
# top_note: '*LAST_UPDATED CURRENT_DATE*'
|
|
||||||
# single_date: MONTH_ABBREVIATION YEAR
|
|
||||||
# date_range: START_DATE – END_DATE
|
|
||||||
# time_span: HOW_MANY_YEARS YEARS HOW_MANY_MONTHS MONTHS
|
|
||||||
# one_line_entry:
|
|
||||||
# main_column: '**LABEL:** DETAILS'
|
|
||||||
# education_entry:
|
|
||||||
# main_column: |-
|
|
||||||
# **INSTITUTION**, AREA
|
|
||||||
# SUMMARY
|
|
||||||
# HIGHLIGHTS
|
|
||||||
# degree_column: '**DEGREE**'
|
|
||||||
# date_and_location_column: |-
|
|
||||||
# LOCATION
|
|
||||||
# DATE
|
|
||||||
# normal_entry:
|
|
||||||
# main_column: |-
|
|
||||||
# **NAME**
|
|
||||||
# SUMMARY
|
|
||||||
# HIGHLIGHTS
|
|
||||||
# date_and_location_column: |-
|
|
||||||
# LOCATION
|
|
||||||
# DATE
|
|
||||||
# experience_entry:
|
|
||||||
# main_column: |-
|
|
||||||
# **COMPANY**, POSITION
|
|
||||||
# SUMMARY
|
|
||||||
# HIGHLIGHTS
|
|
||||||
# date_and_location_column: |-
|
|
||||||
# LOCATION
|
|
||||||
# DATE
|
|
||||||
# publication_entry:
|
|
||||||
# main_column: |-
|
|
||||||
# **TITLE**
|
|
||||||
# SUMMARY
|
|
||||||
# AUTHORS
|
|
||||||
# URL (JOURNAL)
|
|
||||||
# date_and_location_column: DATE
|
|
||||||
|
|||||||
@ -1,34 +1,3 @@
|
|||||||
|
# for more options, see https://docs.rendercv.com/user_guide/yaml_input_structure/locale/
|
||||||
locale:
|
locale:
|
||||||
language: english
|
language: english
|
||||||
# last_updated: Last updated in
|
|
||||||
# month: month
|
|
||||||
# months: months
|
|
||||||
# year: year
|
|
||||||
# years: years
|
|
||||||
# present: present
|
|
||||||
# month_abbreviations:
|
|
||||||
# - Jan
|
|
||||||
# - Feb
|
|
||||||
# - Mar
|
|
||||||
# - Apr
|
|
||||||
# - May
|
|
||||||
# - June
|
|
||||||
# - July
|
|
||||||
# - Aug
|
|
||||||
# - Sept
|
|
||||||
# - Oct
|
|
||||||
# - Nov
|
|
||||||
# - Dec
|
|
||||||
# month_names:
|
|
||||||
# - January
|
|
||||||
# - February
|
|
||||||
# - March
|
|
||||||
# - April
|
|
||||||
# - May
|
|
||||||
# - June
|
|
||||||
# - July
|
|
||||||
# - August
|
|
||||||
# - September
|
|
||||||
# - October
|
|
||||||
# - November
|
|
||||||
# - December
|
|
||||||
|
|||||||
@ -1,6 +1,9 @@
|
|||||||
|
# for details on settings, see https://docs.rendercv.com/user_guide/yaml_input_structure/settings/
|
||||||
settings:
|
settings:
|
||||||
render_command:
|
render_command:
|
||||||
# Paths must be relative to _data/cv.yaml
|
# Paths must be relative to _data/cv.yaml
|
||||||
|
design: ../assets/rendercv/design.yaml
|
||||||
|
locale: ../assets/rendercv/locale.yaml
|
||||||
typst_path: ../assets/rendercv/rendercv_output/NAME_IN_SNAKE_CASE_CV.typ
|
typst_path: ../assets/rendercv/rendercv_output/NAME_IN_SNAKE_CASE_CV.typ
|
||||||
pdf_path: ../assets/rendercv/rendercv_output/NAME_IN_SNAKE_CASE_CV.pdf
|
pdf_path: ../assets/rendercv/rendercv_output/NAME_IN_SNAKE_CASE_CV.pdf
|
||||||
markdown_path: ../assets/rendercv/rendercv_output/NAME_IN_SNAKE_CASE_CV.md
|
markdown_path: ../assets/rendercv/rendercv_output/NAME_IN_SNAKE_CASE_CV.md
|
||||||
@ -8,7 +11,7 @@ settings:
|
|||||||
png_path: ../assets/rendercv/rendercv_output/NAME_IN_SNAKE_CASE_CV.png
|
png_path: ../assets/rendercv/rendercv_output/NAME_IN_SNAKE_CASE_CV.png
|
||||||
dont_generate_markdown: true
|
dont_generate_markdown: true
|
||||||
dont_generate_html: true
|
dont_generate_html: true
|
||||||
dont_generate_typst: false
|
dont_generate_typst: false # typst generation is required for pdf output
|
||||||
dont_generate_pdf: false
|
dont_generate_pdf: false
|
||||||
dont_generate_png: true
|
dont_generate_png: true
|
||||||
bold_keywords: []
|
bold_keywords: []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user