diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index b5085ef1..3c4d2159 100644 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -34,11 +34,11 @@ jobs: needs: website working-directory: pkg - - name: Copy Readme + - name: Copy README run: cp -a README.md pkg - name: Build site - run: pkgdown::build_site_github_pages(pkg = "pkg", dest_dir = "../docs", new_process = FALSE, install = FALSE) + run: pkgdown::build_site_github_pages(pkg = "pkg", dest_dir = "docs", new_process = FALSE, install = FALSE) shell: Rscript {0} - name: Deploy to GitHub pages 🚀 @@ -47,4 +47,4 @@ jobs: with: clean: false branch: gh-pages - folder: docs + folder: pkg/docs diff --git a/pkg/pkgdown/_pkgdown.yml b/pkg/pkgdown/_pkgdown.yml index 07edc0ca..0c21827b 100644 --- a/pkg/pkgdown/_pkgdown.yml +++ b/pkg/pkgdown/_pkgdown.yml @@ -1,4 +1,17 @@ -url: https://melff.github.io/mclogit +url: https://melff.github.io/memisc template: bootstrap: 5 bootswatch: spacelab +articles: +- title: Survey items + navbar: Survey items + contents: + - items + - import + - anes48 +- title: Tables of summary statistics and model estimates + navbar: Tables of summary statistics and model estimates + contents: + - gentab + - ftable-matrix + - mtable-html