Skip to content

Commit

Permalink
Update Rendering and introduce DC examples (#7)
Browse files Browse the repository at this point in the history
* bump version.

...and test that caches trigger.
  • Loading branch information
kellertuer authored Jun 13, 2023
1 parent 5c67afa commit a7f2165
Show file tree
Hide file tree
Showing 30 changed files with 1,896 additions and 461 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ["1.8", "~1.9.0-0"]
julia-version: ["1.8", "1.9"]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
Expand All @@ -27,4 +27,4 @@ jobs:
file: ./lcov.info
name: codecov-umbrella
fail_ci_if_error: false
if: ${{ matrix.julia-version == '1.8' && matrix.os =='ubuntu-latest' }}
if: ${{ matrix.os =='ubuntu-latest' }}
26 changes: 26 additions & 0 deletions .github/workflows/clear_preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Doc Preview Cleanup

on:
pull_request:
types: [closed]

jobs:
doc-preview-cleanup:
runs-on: ubuntu-latest
steps:
- name: Checkout gh-pages branch
uses: actions/checkout@v3
with:
ref: gh-pages
- name: Delete preview and history + push changes
run: |
if [ -d "previews/PR$PRNUM" ]; then
git config user.name "Documenter.jl"
git config user.email "[email protected]"
git rm -rf "previews/PR$PRNUM"
git commit -m "delete preview"
git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree})
git push --force origin gh-pages-new:gh-pages
fi
env:
PRNUM: ${{ github.event.number }}
42 changes: 39 additions & 3 deletions .github/workflows/documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,47 @@ jobs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: quarto-dev/quarto-actions/setup@v2
with:
version: 1.3.361
- uses: julia-actions/setup-julia@latest
with:
version: 1.8
- uses: julia-actions/julia-docdeploy@releases/v1
version: 1.9
- name: Julia Cache
uses: julia-actions/cache@v1
- name: Cache Quarto
id: cache-quarto
uses: actions/cache@v3
env:
cache-name: cache-quarto
with:
path: examples/_freeze
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('examples/*.qmd') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Cache Documenter
id: cache-documenter
uses: actions/cache@v3
env:
cache-name: cache-documenter
with:
path: docs/src/examples
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('examples/*.qmd') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Cache CondaPkg
id: cache-condaPkg
uses: actions/cache@v3
env:
cache-name: cache-condapkg
with:
path: docs/.CondaPkg
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('docs/CondaPkg.toml') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: "Documenter rendering (including Quarto)"
run: "docs/make.jl --quarto"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ Manifest.toml
*.DS_Store
docs/src/contributing.md
coverage
docs/.CondaPkg
docs/src/examples/*_files/*
docs/src/examples/*.md
!docs/src/examples/index.md
examples/*.ipynb
examples/*_files/*
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ManoptExamples"
uuid = "5b8d5e80-5788-45cb-83d6-5e8f1484217d"
authors = ["Ronny Bergmann <[email protected]>"]
version = "0.1.1"
version = "0.1.2"

[deps]
ManifoldDiff = "af67fdf4-a580-4b9f-bbec-742ef357defd"
Expand Down
Loading

2 comments on commit a7f2165

@kellertuer
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/85427

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.2 -m "<description of version>" a7f2165e2e132807953ae122756cd05308d48fe2
git push origin v0.1.2

Please sign in to comment.