Skip to content
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

Pkgdown site #102

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ CONTRIBUTING.md
^SECURITY\.md$
azure-pipelines.yml
^\.github$
^_pkgdown\.yml$
^docs$
^pkgdown$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
35 changes: 35 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master, pkgdown_site]
release:
types: [published]
workflow_dispatch:

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Deploy package
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ vignettes/*.pdf

# R Environment Variables
.Renviron
docs
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ Suggests:
emayili,
readr
Roxygen: list(markdown=TRUE, r6=FALSE)
RoxygenNote: 7.2.1
RoxygenNote: 7.2.3
Encoding: UTF-8
17 changes: 17 additions & 0 deletions Microsoft365R.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
49 changes: 49 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
reference:
- title: Login Clients
desc: Login Clients for Microsoft 365
- contents:
- starts_with('get')
- starts_with('list')
- title: Teams Class Objects
desc: R6 Class Objects for Microsoft Teams
- contents:
- ms_team
- ms_team_member
- ms_channel
- ms_chat
- ms_chat_message
- title: OneDrive and SharePoint Class Objects
desc: R6 class objects for Microsoft OneDrive and SharePoint
- contents:
- ms_site
- ms_drive
- ms_drive_item
- ms_list
- ms_list_item
- title: Outlook Class Objects
desc: R6 class objects for Microsoft Outlook
- contents:
- ms_outlook
- ms_outlook_attachment
- ms_outlook_email
- ms_outlook_folder
- title: Planner Class Objects
desc: R6 class objects for Microsoft Planner
- contents:
- ms_plan
- ms_plan_bucket
- ms_plan_task
- title: Deprecated Functions
desc: Deprecated functions no longer in use
- contents:
- personal_onedrive
- business_onedrive
- sharepoint_site
- title: Accessor Methods
desc: Microsoft 365 object accessor methods
- contents:
- add_methods
- title: Microsoft365r Options
desc: Global options for interaction with the underlying Graph API
- contents:
- microsoft365r_options
Binary file added pkgdown/favicon/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion vignettes/auth.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Authenticating to Microsoft 365"
author: Hong Ooi
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Authentication}
%\VignetteIndexEntry{Authenticating to Microsoft 365}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{utf8}
---
Expand Down
2 changes: 1 addition & 1 deletion vignettes/scripted.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Using Microsoft365R in an unattended script"
author: Hong Ooi
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Microsoft365R in an unattended script}
%\VignetteIndexEntry{Using Microsoft365R in an unattended script}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{utf8}
---
Expand Down
2 changes: 1 addition & 1 deletion vignettes/shiny.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Using Microsoft365R in a Shiny app"
author: Hong Ooi
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Microsoft365R and Shiny}
%\VignetteIndexEntry{Using Microsoft365R in a Shiny app}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{utf8}
---
Expand Down