From 71b39080bf980b07ff0cfb20e1a94581a51c5da1 Mon Sep 17 00:00:00 2001 From: Konrad Szwarc Date: Sat, 28 Jan 2023 18:53:26 +0000 Subject: [PATCH] Fix code example in docs --- docs/data-transformation.md | 2 +- docs/quick-setup-guide.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/data-transformation.md b/docs/data-transformation.md index db14279..858008f 100644 --- a/docs/data-transformation.md +++ b/docs/data-transformation.md @@ -6,7 +6,7 @@ When visiting `index.astro` (web resume source) or `pdf.astro` (pdf resume sourc For example: -```js +```javascript import cv, { hideProject, hideSkillSet, renameSkillSet } from '@/data'; cv( diff --git a/docs/quick-setup-guide.md b/docs/quick-setup-guide.md index 7c454c6..1268596 100644 --- a/docs/quick-setup-guide.md +++ b/docs/quick-setup-guide.md @@ -1,4 +1,4 @@ -# Quick setup guide +# Setup guide ## 1. Run the project locally @@ -35,7 +35,7 @@ To fill the CV with your data, go to the `src/data` directory. There you should ## 3. Generate PDF (optional) -Within the main section, you will find an `action` property. It allows you to provide a pdf resume to download. If you don't have one, feel free to use our CV generator by invoking `npm run generate-pdf`. Generated resume will be placed in `public/cv.pdf` and use the same data as the web one. You can learn more about PDF generation [here](./pdf-generation.md#). +Within the main section, you will find an `action` property. It allows you to provide a pdf resume to download. If you don't have one, feel free to use our CV generator by invoking `npm run generate-pdf`. Generated resume will be placed in `public/cv.pdf` and use the same data as the web one. You can learn more about PDF generation [here](quick-setup-guide.md). ## 4. Deploy to Netlify