Fix code example in docs
This commit is contained in:
parent
c2674ead18
commit
71b39080bf
2 changed files with 3 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue