-
Notifications
You must be signed in to change notification settings - Fork 27
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
Set up package documentation website #23
Comments
Hi Angela, that sounds like a nice idea! The simpler setup is to have everything in a docs directory, and have github serve that as the spdep docs website, rather than the gh-pages branch. (We could go as far as using tic, but I feel that is still high maintenance, and spdep is also not highly dynamic.) Maybe you could make a PR for the docs directory, and give instructions how you created them? Are you thinking of markdown-ing the current Rnw vignettes? |
Ok, sounds good. Just made my first PR (#24) to spdep! Thank you Edzer for the encouragement. I can attempt to change the Rnws over to Rmd/md so that they're included in the site, but maybe the better idea is to break them up, or even write new articles for the documentation website, maybe following these instructions. |
Thanks for considering contributing, but do we know what kind of extra documentation is desirable? All documentation is costly in time, and I'm not sure people make adequate use of what is there already. For example, people don't look at the existing documentation of the I'm rather unsure what is the motivation for potentially misleading people by exposing the development documentation rather than the released documentation. The documentation ships with released packages, it is often not what is in the development repository for new or changed functionality. If we need a website (I think it is superfluous unless it can be demonstrated that people who don't read the documentation that ships with packages, which is available offline, and which is the the RS help tab would read the website and understand that the version they are running is not the same as the development version), it also needs maintenance, and I don't see that as a priority. So I'm not really convinced about this - is it a sensible use of limited time, or is it just "nice to have"? Would it make more sense to do say a |
I have never seen an issue of someone being confused by the difference between the devel version docs on the github website and the released software on CRAN - either users understand the difference or the differences are too small. I believe the benefits of pkgdown generated documentation outweigh the risk of this confusion. Package sf and so on now auto-generate docs on each commit; you can also decide to only update docs based on CRAN release (one more thing to remember). @angela-li do you have an idea how you would ideally see a restructuring of the info in the vignettes? |
Fair points @rsbivand - here are my thoughts on what you're saying:
I'll open another issue about breaking up/updating the vignettes, or writing new articles for the site. At the very least, something like a "quickstart" could be useful! And something to explain the |
There are two-three candidates for documentation:
That's enough work for the five years starting 2019, right? |
The website looks great! Thanks all, I'm bookmarking https://r-spatial.github.io/spdep/ right now 😄 |
Good, thanks for taking the initiative on this. Do you know where traffic statistics are kept? |
I think you can set up Google Analytics for the page by adding a Google Analytics tracking id to There is Github Traffic Analytics, but I believe it tracks traffic to the repo, not the .github.io website. |
OK, probably not a good idea, seems to need JS implants in each page. Might look at vignettes. |
Another question - @edzer also - I tried to do the same for classInt, but no pages appear - what have I misunderstood? |
You didn't enable Settings -> GitHub pages on the repo. |
Of course ... thanks! |
If you'd like, I can set up a package documentation website for spdep similar to the sf package website and the spData package website. Would that be of interest?
If so, would it be possible to create a
gh-pages
branch for me to work on?Thank you so much!
The text was updated successfully, but these errors were encountered: