Skip to content

Commit

Permalink
Merge pull request #8 from TidierOrg/drizk1-docyml-1
Browse files Browse the repository at this point in the history
added Documenter.yml
  • Loading branch information
drizk1 authored Aug 22, 2023
2 parents b710867 + 90e5d8d commit 7b63e19
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 5 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Documenter
on:
push:
branches:
- main
tags: '*'
pull_request:

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/cache@v1
with:
cache-registries: "false"
- name: Install documentation dependencies
run: julia --project=docs -e 'using Pkg; pkg"dev ."; Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
GKSwstype: "100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988
JULIA_DEBUG: "Documenter"
DATADEPS_ALWAYS_ACCEPT: true
run: |
julia --code-coverage=user --project=docs/ --color=yes docs/genfiles.jl
julia --code-coverage=user --project=docs/ --color=yes docs/make.jl
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ df = DataFrame(date = ["today is the 4th July, 2000",
"ayer fue 13th Oct 2001",
"3 of Mar, 2002 was a fun day",
"23rd Apr 2003",
"7/23/2043",
"03/2/1932",
"08-23-1932",
"23/7/2043",
"03/02/1932",
"23-08-1932",
"4th of July, 2005",
"08092019" ,
missing])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ df = DataFrame(date = ["today is the 4th July, 2000",
"ayer fue 13th Oct 2001",
"3 of Mar, 2002 was a fun day",
"23rd Apr 2003",
"7/23/2043",
"23/7/2043",
"03/2/1932",
"08-23-1932",
"23-08-1932",
"4th of July, 2005",
"08092019" ,
missing])
Expand Down

0 comments on commit 7b63e19

Please sign in to comment.