Skip to content

Commit

Permalink
Merge pull request #73 from fingolfin/mh/fix-doctest
Browse files Browse the repository at this point in the history
Fix you doctest, remote docs/makeLocal.jl
  • Loading branch information
blociss authored Mar 7, 2024
2 parents 5c9f96a + 1ccc456 commit 18d9e30
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/document.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
run: julia --color=yes --project=docs/ docs/makeLocal.jl
run: julia --color=yes --project=docs/ docs/make.jl
20 changes: 7 additions & 13 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
#=
To build the documentation, do this from within the GromovWitten.jl directory:
# Modify the LOAD_PATH to include the source directory
#push!(LOAD_PATH, joinpath(@__DIR__, "..", "src"))
# Activate the project in the parent directory
#Pkg.activate(joinpath(@__DIR__, "..", "docs")) # Activate the 'docs' project
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
julia --project=docs/ docs/make.jl
# Import Pkg module
using Pkg

# Activate the project in the parent directory
#Pkg.activate(joinpath(@__DIR__, ".."))

# Install Documenter package
#Pkg.add("Documenter")
To run the tests again, it suffices to repeat the second command.
=#

# Import required packages
using GromovWitten
Expand All @@ -37,7 +31,7 @@ makedocs(;
pages=[
"Home" =>[
"index.md",
"Installation.md",
"Installation.md",
"SmallExample.md",
],

Expand Down
17 changes: 0 additions & 17 deletions docs/makeLocal.jl

This file was deleted.

0 comments on commit 18d9e30

Please sign in to comment.