Skip to content

Commit

Permalink
update pkg down website
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kotov committed May 14, 2023
1 parent 0bb1d43 commit 88a7d31
Show file tree
Hide file tree
Showing 12 changed files with 84 additions and 27 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
48 changes: 48 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]
workflow_dispatch:

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3

- 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: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
clean: false
branch: gh-pages
folder: docs
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ README_cache/
.DS_Store
*.Rapp.history

docs
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Imports:
httr,
sf,
progress
URL: https://github.com/e-kotov/wikimapR/
URL: https://github.com/e-kotov/wikimapR/,
http://www.ekotov.pro/wikimapR/
BugReports: https://github.com/e-kotov/wikimapR/issues
RoxygenNote: 7.2.3
2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
url: ~
url: http://www.ekotov.pro/wikimapR/
template:
bootstrap: 5
news:
Expand Down
18 changes: 9 additions & 9 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ pandoc: 2.19.2
pkgdown: 2.0.7
pkgdown_sha: ~
articles: {}
last_built: 2023-05-14T11:10Z
last_built: 2023-05-14T14:05Z
urls:
reference: http://www.ekotov.pro/wikimapR/reference
article: http://www.ekotov.pro/wikimapR/articles

1 change: 1 addition & 0 deletions docs/reference/wikimapR.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>/404.html</loc>
<loc>http://www.ekotov.pro/wikimapR/404.html</loc>
</url>
<url>
<loc>/LICENSE-text.html</loc>
<loc>http://www.ekotov.pro/wikimapR/LICENSE-text.html</loc>
</url>
<url>
<loc>/LICENSE.html</loc>
<loc>http://www.ekotov.pro/wikimapR/LICENSE.html</loc>
</url>
<url>
<loc>/authors.html</loc>
<loc>http://www.ekotov.pro/wikimapR/authors.html</loc>
</url>
<url>
<loc>/index.html</loc>
<loc>http://www.ekotov.pro/wikimapR/index.html</loc>
</url>
<url>
<loc>/news/index.html</loc>
<loc>http://www.ekotov.pro/wikimapR/news/index.html</loc>
</url>
<url>
<loc>/paper.html</loc>
<loc>http://www.ekotov.pro/wikimapR/paper.html</loc>
</url>
<url>
<loc>/reference/index.html</loc>
<loc>http://www.ekotov.pro/wikimapR/reference/index.html</loc>
</url>
<url>
<loc>/reference/set_wikimapia_api_key.html</loc>
<loc>http://www.ekotov.pro/wikimapR/reference/set_wikimapia_api_key.html</loc>
</url>
<url>
<loc>/reference/subdivide_bbox.html</loc>
<loc>http://www.ekotov.pro/wikimapR/reference/subdivide_bbox.html</loc>
</url>
<url>
<loc>/reference/wikimapR.html</loc>
<loc>http://www.ekotov.pro/wikimapR/reference/wikimapR.html</loc>
</url>
<url>
<loc>/reference/wm_get_by_id.html</loc>
<loc>http://www.ekotov.pro/wikimapR/reference/wm_get_by_id.html</loc>
</url>
<url>
<loc>/reference/wm_get_by_id_single.html</loc>
<loc>http://www.ekotov.pro/wikimapR/reference/wm_get_by_id_single.html</loc>
</url>
<url>
<loc>/reference/wm_get_from_bbox.html</loc>
<loc>http://www.ekotov.pro/wikimapR/reference/wm_get_from_bbox.html</loc>
</url>
</urlset>
1 change: 1 addition & 0 deletions man/wikimapR.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88a7d31

Please sign in to comment.