tweag / monad-bayes

A library for probabilistic programming in Haskell.
MIT License
407 stars 62 forks source link

New docs #236

Closed reubenharry closed 1 year ago

reubenharry commented 1 year ago

Mkdocs. Covers both docs and website. Looks nicer. Still on netlify.

netlify[bot] commented 1 year ago

Deploy Preview for monad-bayes-old-docs canceled.

Name Link
Latest commit ed411486e106badb9ad011d3dd38b93ed0353888
Latest deploy log https://app.netlify.com/sites/monad-bayes-old-docs/deploys/63b489aaecd5ba000896d3cd
netlify[bot] commented 1 year ago

Deploy Preview for monad-bayes-site failed.

Name Link
Latest commit ed411486e106badb9ad011d3dd38b93ed0353888
Latest deploy log https://app.netlify.com/sites/monad-bayes-site/deploys/63b489aaa3befc000945f700
netlify[bot] commented 1 year ago

Deploy Preview for monad-bayes canceled.

Name Link
Latest commit 93c12f853862454b62d903c093a868c0db9b08b3
Latest deploy log https://app.netlify.com/sites/monad-bayes/deploys/63b58f70d69bc400087faecd
reubenharry commented 1 year ago

@mknorps @idontgetoutmuch Here are what the new docs look like: https://monad-bayes.netlify.app/ The motivation was that currently I'm hosting two separate sites, one for the docs and one for the notebooks, and this both looks cleaner and is easier to maintain. I think this repo is set up such that I can't merge this in myself, so if one of you could, that would be great, and then I can delete the old websites.

reubenharry commented 1 year ago

For some reason, the --force and Python 3.8 were both necessary for CI and netlify to work respectively, but I changed the other things.

mknorps commented 1 year ago

For some reason, the --force and Python 3.8 were both necessary for CI and netlify to work respectively, but I changed the other things.

That is inconvenient, but we can leave with this for now.

And what about:

Do we still need monad-bayes-site folder? For the structure of the project it would be better if the code to generate documentation was in a separate folder.

Is also mathjax no longer needed?

reubenharry commented 1 year ago

And what about:

Do we still need monad-bayes-site folder?

I thought I removed it. I don't see it in the repo locally.

For the structure of the project it would be better if the code to generate documentation was in a separate folder.

Now done.

Is also mathjax no longer needed?

Re-added.

reubenharry commented 1 year ago

OK, removed, and issue created.

reubenharry commented 1 year ago

Hm, netlify works fine, but something with CI fails. I'm a bit stumped. Any ideas?

reubenharry commented 1 year ago

Oh right, it's failing for the old site. Let me remove it...

reubenharry commented 1 year ago

Now passes CI, should be ready to merge.