mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 13:38:01 -05:00
Fix trailing whitespace issues
This commit is contained in:
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@@ -1 +1 @@
|
||||
All contributions to RenderCV are welcome! To get started, please read [the developer guide](https://docs.rendercv.com/developer_guide).
|
||||
All contributions to RenderCV are welcome! To get started, please read [the developer guide](https://docs.rendercv.com/developer_guide).
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -189,4 +189,4 @@ render_command.prof
|
||||
bin/
|
||||
|
||||
# Coverage:
|
||||
coverage.md
|
||||
coverage.md
|
||||
|
||||
@@ -1 +1 @@
|
||||
docs.rendercv.com
|
||||
docs.rendercv.com
|
||||
|
||||
@@ -4,4 +4,4 @@ RenderCV is a CLI application, not a library. Its internal API is not guaranteed
|
||||
|
||||
::: rendercv
|
||||
options:
|
||||
heading_level: 2
|
||||
heading_level: 2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
document$.subscribe(() => {
|
||||
document$.subscribe(() => {
|
||||
renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{ left: "$$", right: "$$", display: true },
|
||||
@@ -7,4 +7,4 @@ document$.subscribe(() => {
|
||||
{ left: "\\[", right: "\\]", display: true }
|
||||
],
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
.mermaid {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ All notable changes to this project will be documented in this file.
|
||||
- `None` values in the entries are now handled correctly.
|
||||
- `--png-path` option of the `rendercv render` command has been fixed ([#332](https://github.com/rendercv/rendercv/issues/332)).
|
||||
- Issues with escaping Markdown characters have been fixed ([#347](https://github.com/rendercv/rendercv/issues/347)).
|
||||
|
||||
|
||||
|
||||
## [2.1] - January 25, 2025
|
||||
|
||||
@@ -125,7 +125,7 @@ All notable changes to this project will be documented in this file.
|
||||
- Path issues in `rendercv_settings` and CLI have been fixed ([#312](https://github.com/rendercv/rendercv/pull/312)).
|
||||
- Bold and italic text rendering issues have been fixed ([#303](https://github.com/rendercv/rendercv/pull/303)).
|
||||
- Asterisk is now escaped in Typst ([#303](https://github.com/rendercv/rendercv/pull/303)).
|
||||
|
||||
|
||||
## [2.0] - January 7, 2025
|
||||
|
||||
> **Full Changelog**: [v1.18...v2.0]
|
||||
|
||||
@@ -16,7 +16,7 @@ We want documentation at `docs.rendercv.com`, a proper website with navigation,
|
||||
|
||||
**The problem:** We don't want to develop a web app (writing HTML/CSS/JavaScript). We just want to put some content online.
|
||||
|
||||
What if we could write content in Markdown and use some software to automatically generate HTML/CSS/JavaScript files from it?
|
||||
What if we could write content in Markdown and use some software to automatically generate HTML/CSS/JavaScript files from it?
|
||||
|
||||
**The solution:** [MkDocs](https://github.com/mkdocs/mkdocs) with [Material theme](https://github.com/squidfunk/mkdocs-material). You write Markdown in `docs/`, MkDocs generates HTML/CSS/JavaScript, and GitHub Pages hosts it at `docs.rendercv.com`.
|
||||
|
||||
@@ -51,7 +51,7 @@ The [YAML Input Structure: `cv` Field](../user_guide/yaml_input_structure/cv.md)
|
||||
|
||||
These are auto-generated PNG images. Run `just update-entry-figures` to regenerate them from [`docs/user_guide/sample_entries.yaml`](https://github.com/rendercv/rendercv/blob/main/docs/user_guide/sample_entries.yaml).
|
||||
|
||||
## Local Preview
|
||||
## Local Preview
|
||||
|
||||
```bash
|
||||
just serve-docs
|
||||
@@ -84,4 +84,3 @@ Every push to `main` triggers automatic deployment.
|
||||
## Learn More
|
||||
|
||||
See the [MkDocs Material documentation](https://squidfunk.github.io/mkdocs-material/) for more information.
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ Install them by following their official installation guides:
|
||||
- Select the one in `./.venv`.
|
||||
|
||||
|
||||
That's it! You're now ready to start developing RenderCV.
|
||||
That's it! You're now ready to start developing RenderCV.
|
||||
|
||||
## Available Commands
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ All of the tests of RenderCV are written in [`tests/`](https://github.com/render
|
||||
|
||||
## [`pytest`](https://github.com/pytest-dev/pytest): Testing Framework
|
||||
|
||||
`pytest` is a Python library that provides utilities to write and run tests.
|
||||
`pytest` is a Python library that provides utilities to write and run tests.
|
||||
|
||||
**How does it work?** When you run `pytest`, it searches for files matching `test_*.py` in the `tests/` directory and executes all functions starting with `test_`.
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{{ toc_item.title }}
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
||||
<!-- Table of contents list -->
|
||||
{% if toc_item.children %}
|
||||
<nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">
|
||||
@@ -40,4 +40,4 @@
|
||||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
</li>
|
||||
</li>
|
||||
|
||||
@@ -155,4 +155,4 @@ Create your own theme with full control over the design.
|
||||
rendercv create-theme "mytheme"
|
||||
```
|
||||
|
||||
This creates a `mytheme/` folder with template files you can edit. See [Override Default Templates](how_to/override_default_templates.md) for details.
|
||||
This creates a `mytheme/` folder with template files you can edit. See [Override Default Templates](how_to/override_default_templates.md) for details.
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
```
|
||||
|
||||
=== "Docker"
|
||||
|
||||
|
||||
Docker image is available at [ghcr.io/rendercv/rendercv](https://github.com/rendercv/rendercv/pkgs/container/rendercv).
|
||||
|
||||
```bash
|
||||
@@ -43,7 +43,7 @@
|
||||
This creates a YAML input file called `Your_Name_CV.yaml`. This file contains the content, design options, translations and settings for RenderCV. See [YAML Input Structure](yaml_input_structure/index.md) for the full reference.
|
||||
|
||||
See the [CLI Reference](cli_reference.md#rendercv-new) for the complete list of options available for the `new` command.
|
||||
|
||||
|
||||
!!! tip
|
||||
To get started with another language or theme, you can use the `--locale` and `--theme` options:
|
||||
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
{% for network in cv.social_networks %}
|
||||
- {{network.network}}: [{{network.username}}]({{network.url}})
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
# {{section_title}}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
- {{entry.bullet}}
|
||||
- {{entry.bullet}}
|
||||
|
||||
@@ -1 +1 @@
|
||||
- {{entry.reversed_number}}
|
||||
- {{entry.reversed_number}}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
{% if cv.headline %}
|
||||
#headline([{{ cv.headline }}])
|
||||
|
||||
|
||||
{% endif %}
|
||||
#connections(
|
||||
{% for connection in cv.connections %}
|
||||
@@ -41,4 +41,4 @@
|
||||
[{{ image() }}],
|
||||
)
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
#reversed-numbered-entries(
|
||||
[
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% if entry_type in ["ReversedNumberedEntry"] %}
|
||||
],
|
||||
)
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
[
|
||||
{% for line in entry.main_column.splitlines()[:first_row_lines] %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
[
|
||||
{% for line in entry.date_and_location_column.splitlines() %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
{% if design.templates.education_entry.degree_column %}
|
||||
@@ -26,7 +26,7 @@
|
||||
main-column-second-row: [
|
||||
{% for line in entry.main_column.splitlines()[first_row_lines:] %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
{% endif %}
|
||||
|
||||
@@ -8,20 +8,20 @@
|
||||
[
|
||||
{% for line in entry.main_column.splitlines()[:first_row_lines] %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
[
|
||||
{% for line in entry.date_and_location_column.splitlines() %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
{% if not design.entries.short_second_row %}
|
||||
main-column-second-row: [
|
||||
{% for line in entry.main_column.splitlines()[first_row_lines:] %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
{% endif %}
|
||||
|
||||
@@ -8,20 +8,20 @@
|
||||
[
|
||||
{% for line in entry.main_column.splitlines()[:first_row_lines] %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
[
|
||||
{% for line in entry.date_and_location_column.splitlines() %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
{% if not design.entries.short_second_row %}
|
||||
main-column-second-row: [
|
||||
{% for line in entry.main_column.splitlines()[first_row_lines:] %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
{% endif %}
|
||||
|
||||
@@ -1 +1 @@
|
||||
+ {{entry.number}}
|
||||
+ {{entry.number}}
|
||||
|
||||
@@ -8,20 +8,20 @@
|
||||
[
|
||||
{% for line in entry.main_column.splitlines()[:first_row_lines] %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
[
|
||||
{% for line in entry.date_and_location_column.splitlines() %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
{% if not design.entries.short_second_row %}
|
||||
main-column-second-row: [
|
||||
{% for line in entry.main_column.splitlines()[first_row_lines:] %}
|
||||
{{ line|indent(4) }}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
],
|
||||
{% endif %}
|
||||
|
||||
@@ -1 +1 @@
|
||||
+ {{entry.reversed_number}}
|
||||
+ {{entry.reversed_number}}
|
||||
|
||||
@@ -38,7 +38,7 @@ def parse_plain_pydantic_error(
|
||||
|
||||
Args:
|
||||
plain_error: Raw Pydantic validation error.
|
||||
user_input_as_commented_map: YAML dict with line/column metadata.
|
||||
input_dictionary: YAML dict with line/column metadata.
|
||||
|
||||
Returns:
|
||||
Structured error with location tuple, friendly message, and YAML coordinates.
|
||||
@@ -111,7 +111,7 @@ def parse_validation_errors(
|
||||
|
||||
Args:
|
||||
exception: Pydantic validation exception.
|
||||
rendercv_dictionary_as_commented_map: YAML dict with location metadata.
|
||||
input_dictionary: YAML dict with location metadata.
|
||||
|
||||
Returns:
|
||||
Deduplicated list of user-friendly validation errors.
|
||||
|
||||
Reference in New Issue
Block a user