-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8e176c
commit be77625
Showing
62 changed files
with
10,189 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: R-CMD-check | ||
|
||
jobs: | ||
R-CMD-check: | ||
runs-on: ${{ matrix.config.os }} | ||
|
||
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
# - {os: macos-latest, r: 'release'} | ||
# - {os: windows-latest, r: 'release'} | ||
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} | ||
- {os: ubuntu-latest, r: 'release'} | ||
# - {os: ubuntu-latest, r: 'oldrel-1'} | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
R_KEEP_PKG_SOURCE: yes | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: ${{ matrix.config.r }} | ||
http-user-agent: ${{ matrix.config.http-user-agent }} | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::rcmdcheck | ||
needs: check | ||
|
||
- uses: r-lib/actions/check-r-package@v2 | ||
with: | ||
upload-snapshots: true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
name: altdoc | ||
|
||
jobs: | ||
altdoc: | ||
runs-on: ubuntu-latest | ||
# Only restrict concurrency for non-PR jobs | ||
concurrency: | ||
group: altdoc-${{ github.event_name != 'pull_request' || github.run_id }} | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: quarto-dev/quarto-actions/setup@v2 | ||
|
||
- name: Get Script | ||
run: curl -OLs https://eddelbuettel.github.io/r-ci/run.sh && chmod 0755 run.sh | ||
|
||
- name: Bootstrap | ||
run: ./run.sh bootstrap | ||
|
||
- name: Dependencies | ||
run: ./run.sh install_all | ||
|
||
- name: Build site | ||
run: | | ||
# If parallel = TRUE in render_docs() | ||
# future::plan(future::multicore) | ||
install.packages(".", repos = NULL, type = "source") | ||
install.packages(c("pkgload", "remotes")) | ||
pkgload::load_all() | ||
remotes::install_github("etiennebacher/altdoc") | ||
altdoc::render_docs(parallel = FALSE, freeze = TRUE, verbose = TRUE) | ||
shell: Rscript {0} | ||
|
||
- name: Deploy to GitHub pages 🚀 | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/github-pages-deploy-action@v4.4.1 | ||
with: | ||
clean: false | ||
branch: gh-pages | ||
folder: docs |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,87 @@ | ||
|
||
|
||
# typstcv | ||
|
||
![](vignettes/typstcv.svg) | ||
|
||
This package provides helper functinons for | ||
[kazuyanagimoto/quarto-awesomecv-typst](https://github.com/kazuyanagimoto/quarto-awesomecv-typst). | ||
This work are inspired by these three works: | ||
|
||
- Byungjin Park’s [Awesome-CV](https://github.com/posquit0/Awesome-CV) | ||
- A beautiful $\LaTeX$ template of CV | ||
- Paul Tsouchlos’s | ||
[modern-cv](https://typst.app/universe/package/modern-cv/) | ||
- A [Typst](https://typst.app) implementation of Awesome-CV | ||
- Mitchell O’Hara-Wild and Rob Hyndman’s | ||
[vitae](https://pkg.mitchelloharawild.com/vitae/) | ||
- R package for modern CV, including Awesome-CV | ||
|
||
## Installation | ||
|
||
You can install the development version of quartomonothemer from | ||
R-universe with: | ||
|
||
``` r | ||
install.packages("typstcv", repos = "https://kazuyanagimoto.r-universe.dev") | ||
``` | ||
|
||
## Usage | ||
|
||
You can find a simple [example](vignettes/typstcv.pdf) and | ||
[qmd](https://github.com/kazuyanagimoto/typstcv/blob/main/vignettes/typstcv.qmd) | ||
code. | ||
|
||
### YAML | ||
|
||
Set author information in YAML. | ||
|
||
``` yaml | ||
author: | ||
firstname: Albert | ||
lastname: Einstein | ||
address: "Rämistrasse 101, CH-8092 Zürich, Switzerland, Zürich" | ||
positions: ["Research Physicist", "Professor"] | ||
contacts: | ||
- icon: fa envelope | ||
text: ae@example.com | ||
url: "mailto:ae@example.com" | ||
- icon: PATH_TO_ICON/icon.svg | ||
text: example.com | ||
url: https://example.com | ||
``` | ||
- [fontawesome](https://fontawesome.com/search?m=free&o=r) icons are | ||
supported via | ||
[duskmoon314/typst-fontawesome](https://github.com/duskmoon314/typst-fontawesome) | ||
with `fa` prefix. | ||
- SVG icons can be used by specifying the path to the icon file | ||
|
||
### Fonts & Color | ||
|
||
You can set fonts and the accent color in YAML. | ||
|
||
``` yaml | ||
style: | ||
color-accent: "516db0" | ||
font-header: "Roboto" | ||
font-text: "Source Sans Pro" | ||
format: | ||
awesomecv-typst: | ||
font-paths: ["PATH_TO_FONT"] | ||
``` | ||
|
||
### Resume Entries | ||
|
||
`resume_entry()` is a helper function to create resume entryies from a | ||
data frame. | ||
|
||
``` r | ||
df_educ |> | ||
resume_entry( | ||
title = "title", | ||
location = "location", | ||
date = "year", | ||
description = "detail" | ||
) | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# typstcv | ||
|
||
![](vignettes/typstcv.svg) | ||
|
||
This package provides helper functinons for [kazuyanagimoto/quarto-awesomecv-typst](https://github.com/kazuyanagimoto/quarto-awesomecv-typst). | ||
This work are inspired by these three works: | ||
|
||
- Byungjin Park's [Awesome-CV](https://github.com/posquit0/Awesome-CV) | ||
- A beautiful $\LaTeX$ template of CV | ||
- Paul Tsouchlos's [modern-cv](https://typst.app/universe/package/modern-cv/) | ||
- A [Typst](https://typst.app) implementation of Awesome-CV | ||
- Mitchell O'Hara-Wild and Rob Hyndman's [vitae](https://pkg.mitchelloharawild.com/vitae/) | ||
- R package for modern CV, including Awesome-CV | ||
|
||
## Installation | ||
|
||
You can install the development version of quartomonothemer from R-universe with: | ||
|
||
```r | ||
install.packages("typstcv", repos = "https://kazuyanagimoto.r-universe.dev") | ||
``` | ||
|
||
## Usage | ||
|
||
You can find a simple [example](vignettes/typstcv.pdf) and [qmd](https://github.com/kazuyanagimoto/typstcv/blob/main/vignettes/typstcv.qmd) code. | ||
|
||
### YAML | ||
|
||
Set author information in YAML. | ||
|
||
```yaml | ||
author: | ||
firstname: Albert | ||
lastname: Einstein | ||
address: "Rämistrasse 101, CH-8092 Zürich, Switzerland, Zürich" | ||
positions: ["Research Physicist", "Professor"] | ||
contacts: | ||
- icon: fa envelope | ||
text: ae@example.com | ||
url: "mailto:ae@example.com" | ||
- icon: PATH_TO_ICON/icon.svg | ||
text: example.com | ||
url: https://example.com | ||
``` | ||
- [fontawesome](https://fontawesome.com/search?m=free&o=r) icons are supported | ||
via [duskmoon314/typst-fontawesome](https://github.com/duskmoon314/typst-fontawesome) with `fa` prefix. | ||
- SVG icons can be used by specifying the path to the icon file | ||
|
||
### Fonts & Color | ||
|
||
You can set fonts and the accent color in YAML. | ||
|
||
```yaml | ||
style: | ||
color-accent: "516db0" | ||
font-header: "Roboto" | ||
font-text: "Source Sans Pro" | ||
format: | ||
awesomecv-typst: | ||
font-paths: ["PATH_TO_FONT"] | ||
``` | ||
|
||
### Resume Entries | ||
|
||
`resume_entry()` is a helper function to create resume entryies from a data frame. | ||
|
||
```r | ||
df_educ |> | ||
resume_entry( | ||
title = "title", | ||
location = "location", | ||
date = "year", | ||
description = "detail" | ||
) | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
project: | ||
type: website | ||
output-dir: ../docs/ | ||
|
||
# Note: freeze functionality can be set at a project level or for individual .qmd files | ||
# execute: | ||
# freeze: false | ||
|
||
website: | ||
title: "$ALTDOC_PACKAGE_NAME" | ||
navbar: | ||
search: true | ||
right: | ||
- icon: github | ||
href: $ALTDOC_PACKAGE_URL_GITHUB | ||
aria-label: $ALTDOC_PACKAGE_NAME GitHub | ||
sidebar: | ||
collapse-level: 1 | ||
contents: | ||
- text: Home | ||
file: index.qmd | ||
- text: Gallery | ||
file: vignettes/gallery.qmd | ||
- section: $ALTDOC_MAN_BLOCK | ||
- text: News | ||
file: $ALTDOC_NEWS | ||
- text: Changelog | ||
file: $ALTDOC_CHANGELOG | ||
- text: License | ||
file: $ALTDOC_LICENSE | ||
- text: Licence | ||
file: $ALTDOC_LICENCE | ||
- text: Code of conduct | ||
file: $ALTDOC_CODE_OF_CONDUCT | ||
- text: Citation | ||
file: $ALTDOC_CITATION | ||
|
||
# format: | ||
# html: | ||
# theme: cosmo | ||
# number-sections: false |
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: Font Awesome support | ||
author: Carlos Scheidegger | ||
version: 1.1.0 | ||
quarto-required: ">=1.2.269" | ||
contributes: | ||
shortcodes: | ||
- fontawesome.lua |
Oops, something went wrong.