Skip to content

Commit

Permalink
Clean doc and related CI (#22) (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzaare authored May 30, 2024
1 parent cf9a3a8 commit 40223c7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 65 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,26 +91,26 @@ jobs:
- uses: codecov/codecov-action@v4
with:
file: lcov.info
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: "1"
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using ConstraintCommons
DocMeta.setdocmeta!(ConstraintCommons, :DocTestSetup, :(using ConstraintCommons); recursive=true)
doctest(ConstraintCommons)'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
# docs:
# name: Documentation
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: julia-actions/setup-julia@v1
# with:
# version: "1"
# - run: |
# julia --project=docs -e '
# using Pkg
# Pkg.develop(PackageSpec(path=pwd()))
# Pkg.instantiate()'
# - run: |
# julia --project=docs -e '
# using Documenter: DocMeta, doctest
# using ConstraintCommons
# DocMeta.setdocmeta!(ConstraintCommons, :DocTestSetup, :(using ConstraintCommons); recursive=true)
# doctest(ConstraintCommons)'
# - run: julia --project=docs docs/make.jl
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
3 changes: 0 additions & 3 deletions docs/Project.toml

This file was deleted.

25 changes: 0 additions & 25 deletions docs/make.jl

This file was deleted.

14 changes: 0 additions & 14 deletions docs/src/index.md

This file was deleted.

0 comments on commit 40223c7

Please sign in to comment.