Skip to content

Commit

Permalink
Merge pull request #488 from LCSB-BioCore/mk-fix-gitlab-docs
Browse files Browse the repository at this point in the history
Try to fix gitlab docbuilding deploy (attempt 2)
  • Loading branch information
exaexa committed Nov 2, 2021
2 parents 6b1f4fc + 04d40bf commit e38acb5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@ using Documenter
using Literate, JSON
using COBREXA

# some settings
dev_docs_folder = "dev"
pages_branch = "gh-pages"
github_repo_slug = "LCSB-BioCore/COBREXA.jl"
delete!(ENV, "GITHUB_REPOSITORY")

# generate notebooks
notebooks_path = joinpath(@__DIR__, "src", "notebooks")
notebooks_basenames = filter(x -> endswith(x, ".jl"), readdir(notebooks_path))
@info "base names:" notebooks_basenames
notebooks = joinpath.(notebooks_path, notebooks_basenames)
notebooks_outdir = joinpath(@__DIR__, "src", "notebooks")

# only temporary - will be removed once properly tagged and released
dev_docs_folder = "dev"
pages_branch = "gh-pages"
github_repo_slug = "LCSB-BioCore/COBREXA.jl"


for notebook in notebooks
Literate.markdown(
Expand Down

0 comments on commit e38acb5

Please sign in to comment.