From 8ba0ac0ee2823ebf1fd3240b3ca65780a6b79cdc Mon Sep 17 00:00:00 2001 From: "Zhian N. Kamvar" Date: Tue, 15 Oct 2019 11:25:50 +0100 Subject: [PATCH] add github and structure to site --- .Rbuildignore | 3 ++ DESCRIPTION | 2 ++ _pkgdown.yml | 28 +++++++++++++++ docs/404.html | 19 ++++++++-- docs/CODE_OF_CONDUCT.html | 19 ++++++++-- docs/CONTRIBUTING.html | 19 ++++++++-- docs/ISSUE_TEMPLATE.html | 19 ++++++++-- docs/LICENSE.html | 19 ++++++++-- docs/SUPPORT.html | 19 ++++++++-- docs/authors.html | 19 ++++++++-- docs/index.html | 30 +++++++++++++--- docs/news/index.html | 21 +++++++++-- docs/reference/add_weights_cluster.html | 21 +++++++++-- docs/reference/add_weights_strata.html | 21 +++++++++-- docs/reference/age_categories.html | 21 +++++++++-- docs/reference/attack_rate.html | 21 +++++++++-- .../reference/available_sitrep_templates.html | 35 +++++++++++++------ docs/reference/check_sitrep_templates.html | 25 ++++++++++--- docs/reference/data_frame_from_2x2.html | 21 +++++++++-- docs/reference/descriptive.html | 21 +++++++++-- docs/reference/find_breaks.html | 21 +++++++++-- docs/reference/find_date_cause.html | 21 +++++++++-- docs/reference/fmt_ci.html | 21 +++++++++-- docs/reference/fmt_count.html | 21 +++++++++-- docs/reference/gen_polygon.html | 21 +++++++++-- docs/reference/gen_population.html | 21 +++++++++-- docs/reference/index.html | 19 ++++++++-- docs/reference/msf_dict.html | 21 +++++++++-- docs/reference/plot_age_pyramid.html | 21 +++++++++-- docs/reference/rename_redundant.html | 21 +++++++++-- docs/reference/tab_functions.html | 21 +++++++++-- docs/reference/tab_univariate.html | 21 +++++++++-- docs/reference/tabulate_survey.html | 21 +++++++++-- docs/reference/unite_ci.html | 21 +++++++++-- docs/reference/zcurve.html | 21 +++++++++-- 35 files changed, 618 insertions(+), 98 deletions(-) create mode 100644 _pkgdown.yml diff --git a/.Rbuildignore b/.Rbuildignore index ff287c21..b050673d 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -8,3 +8,6 @@ ^codecov\.yml$ ^\.github$ ^docs +^_pkgdown\.yml$ +^docs$ +^pkgdown$ diff --git a/DESCRIPTION b/DESCRIPTION index 8723ea08..7f7ffae7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -31,6 +31,8 @@ Authors@R: role = "ctb")) Description: Report templates and helper functions for EPI. License: GPL-3 +BugReports: https://github.com/R4EPI/sitrep/issues +URL: https://r4epis.netlify.com, https://github.com/R4EPI/sitrep Depends: R (>= 3.2) Imports: anthro, diff --git a/_pkgdown.yml b/_pkgdown.yml new file mode 100644 index 00000000..9ce1b09c --- /dev/null +++ b/_pkgdown.yml @@ -0,0 +1,28 @@ +destination: docs +template: + params: + ganalytics: UA-149766533-1 + +navbar: + structure: + left: + - home + - intro + - reference + - articles + - tutorials + - news + right: github + components: + home: + icon: fas fa-home fa-lg + href: https://r4epis.netlify.com + reference: + text: Reference + href: reference/index.html + news: + text: Changelog + href: news/index.html + github: + icon: fab fa-github fa-lg + href: https://github.com/R4EPI/sitrep diff --git a/docs/404.html b/docs/404.html index eb697937..59343253 100644 --- a/docs/404.html +++ b/docs/404.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/CODE_OF_CONDUCT.html b/docs/CODE_OF_CONDUCT.html index 7c592b13..fbda17a9 100644 --- a/docs/CODE_OF_CONDUCT.html +++ b/docs/CODE_OF_CONDUCT.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/CONTRIBUTING.html b/docs/CONTRIBUTING.html index 68934cd8..25a3ebee 100644 --- a/docs/CONTRIBUTING.html +++ b/docs/CONTRIBUTING.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/ISSUE_TEMPLATE.html b/docs/ISSUE_TEMPLATE.html index 70cf0d91..d631f974 100644 --- a/docs/ISSUE_TEMPLATE.html +++ b/docs/ISSUE_TEMPLATE.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/LICENSE.html b/docs/LICENSE.html index ef12df4b..f9cc090a 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/SUPPORT.html b/docs/SUPPORT.html index ccc85e85..3032f725 100644 --- a/docs/SUPPORT.html +++ b/docs/SUPPORT.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/authors.html b/docs/authors.html index cbc5faa5..89b8f661 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/index.html b/docs/index.html index b45f04d7..07c40a2e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -16,7 +16,13 @@ +
@@ -38,7 +44,7 @@
@@ -145,7 +158,16 @@