-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: mkdocs & altdoc & makefile #64
Conversation
This PR is a first attempt to address #63 |
Disclaimer: I haven't worked with Is there a way to include printed and graphical output in the examples? That's a feature that I quite like about |
Nice! Thanks @vincentarelbundock , this is a great proof of concept. I'm still quite leery of taking on a Python dependency for the website. But I do like the mkdocs look and layout. It seems that there is still some good discussion happening at #63, so let's wait to see what comes of that. |
@zeileis I don't quite follow. Do you mean automatically rendered/knitted code as per a qmd or Rmd doc? |
Yes. For illustration consider the examples at the end of: https://vincentarelbundock.github.io/plot2/reference/ These are just shown verbatim. However, the examples from this manual page in the http://colorspace.R-Forge.R-project.org/reference/contrast_ratio.html |
Ah, got it thanks. I think Vincent and Etienne hacked together a script for doing this with the r-polars docs (but I may just be misremembering).. |
Yep, we rolled our own script for The reason I made this PR using So yeah, currently it doesn't have all the features we probably want eventually. But feature parity is a matter of months rather than years, I think. |
huh, that sounded a bit dry. To be clear, I'm perfectly happy with doing |
Thanks for the explanation, Vincent, very helpful. And also to be clear: I'm also fine with trying out something other than I just thought that for a graphics package it would be nice to show the example plots in the manual web pages. But this is not urgent and might be an incentive to improve |
Building the website requires local install of
mkdocs
andmkdocs-material
. But of course the end-user does not need to install any of that.I also added a Makefile with useful commands like
make deploy
. I think it should be pretty self-explanatory.The rendered website is here: https://vincentarelbundock.github.io/plot2/