Rwilli5 / MiamiCovidProject

This website was created to inform researchers, scientists, policy makers, and the general public regarding the projected impact of COVID-19 on Miami-Dade County. We will be providing daily updates and projections for each model.
https://rwilli5.github.io/MiamiCovidProject/
3 stars 2 forks source link

fixed date error for jekyll compilation of pages on github.io #1

Closed tibbben closed 4 years ago

tibbben commented 4 years ago

With this pull request it should work now (date format error in the readme.md), but note, I also had to make sure the settings for the "pages" deployment in the GitHub repo must be set to the gh-pages branch. With these two changes it works for me.

best tim

gabrielodom commented 4 years ago

Ok, so I tried to implement the date fix directly, but it didn't work. After I fix the date, do I change the shell code to mkdocs gh-deploy --remote-branch master so that the website builds? (I read this note on mkdocs: https://www.mkdocs.org/user-guide/deploying-your-docs/#github-pages.)

Additional note: this pull request deletes basically all the .html files. Why is that a good thing?

tibbben commented 4 years ago

shell code should remain the same and deploy from your local shell, it will push to the gh-pages branch on the repo. Just make sure the repo settings for the gh-pages point to the gh-pages branch

gabrielodom commented 4 years ago

Shell code remains the same. That I understand. I don't understand this: "Just make sure the repo settings for the gh-pages point to the gh-pages branch"

tibbben commented 4 years ago

we don't need the html code in the site folder on the master branch, only in the gh-pages branch. Note that if you deploy from the command line using medics gh-deploy, it pushes all html pages to the gh-pages branch automatically. This is following best practices from the medics docs here: https://www.mkdocs.org/user-guide/configuration/

tibbben commented 4 years ago

silly auto correct

tibbben commented 4 years ago

sent meeting invite ...