scMINER documentation website was set up using pkgdown package. It contains four sections:
Home Page
: built from README.md by pkgdown packageQuick Tutorial
: built from vignettes by pkgdown packageFull Documentation
: build and maintained independently with bookdown packageFunctions
: built from man/Rd files by pkgdown package
This repository is used to maintain the Full Documentation of scMINER.
When some changes are made to scMINER R package:
-
If there is nothing to modify in the Full Documentation, just re-build the documentation website by:
- Update the documentation if the codes of functions are modified;
- In main repository directory (containing
index.md
file) of scMINER project, runpkgdown::build_site()
orAddins-Build pkgdown
. This will update some files in/docs
. - Git commit and push to GitHub. The website page should automatically renewed.
-
If the Full Documentation needs to be modified, then you will need update the book here before you re-build the documentation website:
- Modify the
r markdown
files accordingly; - In main repository directory (containing
index.md
file) of this project, runbookdown::render_book()
orBuild-Build Book
. This will update some files in/docs
. - Copy all updated files in
/docs
intoscMINER/Docs/bookdown
folder. We specifiedbookdown/index.html
as the href of Full Documentation. - Re-build the documentation website as described above.
- Modify the