Skip to content

Commit

Permalink
Add link to rendered mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
dfsnow committed Jun 7, 2024
1 parent 7ea8078 commit 7a26135
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
run: echo "PTAXSIM_DB_PATH=${{ steps.prep_ptaxsim_db.outputs.PTAXSIM_DB_DIR }}/ptaxsim.db" >> $GITHUB_ENV
shell: bash

# - name: Build pkgdown site
# run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
# shell: Rscript {0}
- name: Build pkgdown site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Setup node
uses: actions/setup-node@v4
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Prepare Mermaid assets for docs
run: |
for file in inst/mermaid/*.mmd; do
mmdc -i "$file" -o "${file/.mmd/.svg}"
mmdc -i "$file" -o "${file/.mmd/.pdf}"
done
mkdir -p docs/mermaid
mv inst/mermaid/*.svg docs/mermaid
Expand Down
4 changes: 4 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ The PTAXSIM backend database contains cleaned data from the Cook County Clerk, T

### Database diagram

> :warning:
> [Click here](https://ccao-data.github.io/ptaxsim/mermaid/er-diagram-big.pdf)
> for a more detailed version of the diagram below.
```mermaid
erDiagram
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@ data was available in mid-2020.

### Database diagram

> :warning: [Click
> here](https://ccao-data.github.io/ptaxsim/mermaid/er-diagram-big.pdf)
> for a more detailed version of the diagram below.
``` mermaid
erDiagram
Expand Down

0 comments on commit 7a26135

Please sign in to comment.