Skip to content

Commit

Permalink
registered, update docs; fix CI doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
mahiki committed Aug 26, 2023
1 parent 3b048e2 commit 2e31129
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,18 @@ jobs:
version: '1'
- name: Configure doc environment
run: |
julia --project=docs/ -e '
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using PrefectInterfaces
DocMeta.setdocmeta!(PrefectInterfaces, :DocTestSetup, :(using PrefectInterfaces); recursive=true)
doctest(PrefectInterfaces)'
julia --project=docs -e '
using Documenter: DocMeta, doctest
using PrefectInterfaces
DocMeta.setdocmeta!(PrefectInterfaces, :DocTestSetup, :(using PrefectInterfaces); recursive=true)
doctest(PrefectInterfaces)'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ This is a small package that helps you connect to a Prefect instance from a Juli

## Installation
```julia
# Package registration pending
julia> Pkg.add("https://github.com/mahiki/PrefectInterfaces.jl")
julia> Pkg.add("PrefectInterfaces")
```

## Usage
* A Prefect server/cloud instance must be available via API URL to use these functions, the examples below are hypothetical.
* A Prefect server/cloud instance must be available via API URL to use these functions, the examples below are hypothetical and require a running Prefect server with blocks registered in the names below.
* See [Prefect local installation instructions.](docs/src/prefect/install-local-prefect-environment.md)

```julia
Expand Down
2 changes: 0 additions & 2 deletions docs/docs/Project.toml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using PrefectInterfaces
using Documenter
using PrefectInterfaces

DocMeta.setdocmeta!(PrefectInterfaces, :DocTestSetup, :(using PrefectInterfaces); recursive=true)

Expand Down
4 changes: 0 additions & 4 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ Included in the package is a bootstrapped installation of a local Prefect instan
See [Prefect Installation](@ref) to quickly launch a local Prefect server.

```julia
# Package registration is pending
julia> Pkg.add("https://github.com/mahiki/PrefectInterfaces.jl")

# After 2023-08-24
julia> Pkg.add("PrefectInterfaces")
```
## Usage
Expand Down

0 comments on commit 2e31129

Please sign in to comment.