Open-Science-Community-Saudi-Arabia / OSCSA-en-blog

OSCSA English blog
https://oscsa-en-blog.netlify.app/
2 stars 15 forks source link

task #6 changed blog to bilingual #33

Open Mublin opened 2 years ago

Mublin commented 2 years ago

what I did

created a docs folder

created a ar folder in the docs

added a nav item in _quarto.yml file in the root directory (arabic and it's href toar(ar directory) )

added another property in _quarto.yml (output-dir: docs) which changed the overriding directory when index.qml is rendered

the _quarto.yml now makes the _site folders in the docs directory rather than the root directory

netlify[bot] commented 2 years ago

Deploy Preview for oscsa-en-blog failed.

Name Link
Latest commit 1ab6e8dc3f8dffcc3b9153e208815b9e490a87c4
Latest deploy log https://app.netlify.com/sites/oscsa-en-blog/deploys/638f0ecbdf59d2000895091a
okerekechinweotito commented 2 years ago

@Mublin Can you make a new PR ? This would enable the mentors @BatoolMM and @alswajiab to see your changes in the Deploy-preview. Also you changed too many files. I would suggest you break down your changes into smaller parts

Mublin commented 2 years ago

@ba

@Mublin Can you make a new PR ? This would enable the mentors @BatoolMM and @alswajiab to see your changes in the Deploy-preview. Also you changed too many files. I would suggest you break down your changes into smaller parts

I cannot because to add the arabic version I have to add the arabic files but I will try a new PR

Mublin commented 2 years ago

Can I ask you a question @BatoolMM and @alswajiab

BatoolMM commented 2 years ago

@Mublin sorry, what was your question?