Repository navigation
Add package documentation website - #24
Conversation
|
I guess you would have to edit the file excluding docs from the R CMD build process, to prevent the proper R build train getting clogged up by the website, if this goes forward. I always build and check locally before committing and pushing, so its presence may be a problem in itself. I see that |
|
Great point. I updated |
|
Thanks, merged. I really appreciate your willingness to engage - lets see how this goes. |
|
Do you know how to expose docs/index.html as a web page - though |
|
You have to change the repository settings I believe. Check out the Github guide on how to publish from |
|
Settings tab on the top of this page -> GitHub pages -> Source: select "master branch /docs folder". And then it appears at r-spatial.github.io/spdep, sometimes a minute later. |
|
Which is the theme used by sf? - ok, it's |
|
Theme doesn't do anything in this case. Looking great! |
|
I added @angela-li to DESCRIPTION. Will |
|
It does after you run |
|
Help!: I have valuable content in inst/doc - stored simulation objects used in an Rnw vignette. Why is RS/TV so dictatorial? |
|
No clue. Move its contents somewhere else? |
|
Moved to inst/etc, I'll see what the dictator stuffs in inst/doc. If it is /docs, I will tear it out and revert to no pkgdown, of course. |
|
This message with no explanation. Does |
|
Further, vignettes/nb_igraph.Rmd comes up with UNKOWN TITLE, then flips to its title. A big mess, really not worth the trouble. Examples are to be run, not looked at!!! |
|
I see the replayPlot error too in Rstudio, and no articles (vignettes). @angela-li which setup did you use to generate the docs? |
|
Same replayPlot in RS. No idea where it comes from. Committing and pushing, will raise issue for someone else to sort out - I do not have the time or patience to adapt to RS/DS etc. |
|
Wow - this pkgdown rubbish has peppered /src with in the package tree. What a mess! Issue possibly in or after |
|
And the real disaster - the examples in reference pages omit |
|
Running |
No problem at all running in terminal or in the RS console. Errant image says: |
|
Resolved by editing example to reduce plot margins. However, |
|
The |
|
The site looks good! In the future, you can just rebuild the home page to update authors (without rebuilding all the documentation from scratch) with |

I ran
pkgdown::build_site()to generate thedocsfolder, which produces the package documentation website with Github Pages. I didn't convert the 2 Rnw files to Rmd, so those 2 vignettes don't build in pkgdown, but I can try my hand at that if you'd like.