Skip to content

Commit

Permalink
Merge pull request jennybc#38 from noamross/master
Browse files Browse the repository at this point in the history
Add note about HTML not working in private repos
  • Loading branch information
Jennifer (Jenny) Bryan authored Sep 20, 2016
2 parents 6592ae2 + 0c06406 commit 6531639
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 32_workflow-make-github-repo-browsable.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ You can form two different types of URLs with [rawgit.com](http://rawgit.com):

This sort of enhanced link might be one of the useful things to put in a `README.md` or other Markdown file in the repo.

You may also want to check out this [Chrome extension](https://chrome.google.com/webstore/detail/github-html-preview/cphnnfjainnhgejcpgboeeakfkgbkfek?hl=en) or [GitHub & BitBucket HTML Preview](https://htmlpreview.github.io), though recently I've more success with [rawgit.com](http://rawgit.com).
You may also want to check out this [Chrome extension](https://chrome.google.com/webstore/detail/github-html-preview/cphnnfjainnhgejcpgboeeakfkgbkfek?hl=en) or [GitHub & BitBucket HTML Preview](https://htmlpreview.github.io), though recently I've more success with [rawgit.com](http://rawgit.com). (Neither work with private GitHub repos, which is all the more reason
to keep intermediate markdown files for HTML, as described above.)

Sometimes including HTML files will cause GitHub to think that your R repository is HTML. Besides being slightly annoying, this can make it difficult for people to find your work if they are searching specifically for R repos. You can exclude these files or directories from GitHub's language statistics by [adding a .gitattributes file](https://github.com/github/linguist#using-gitattributes) that marks them as 'documentation' rather than code. [See an example here](https://github.com/jennybc/googlesheets/blob/master/.gitattributes).

Expand Down

0 comments on commit 6531639

Please sign in to comment.