Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
COBREXA.jl
Commits
7bf10432
Verified
Commit
7bf10432
authored
May 11, 2021
by
Laurent Heirendt
✈
Browse files
[skip ci] fix nb viewer - removed too much
parent
1ac9bbac
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/make.jl
View file @
7bf10432
...
...
@@ -18,21 +18,21 @@ notebooks =
joinpath
.
(
notebooks_path
,
filter
(
x
->
endswith
(
x
,
".jl"
),
readdir
(
notebooks_path
)))
notebooks_outdir
=
joinpath
(
@__DIR__
,
"src"
,
"notebooks"
)
# set the appropriate folder
folder
=
Base
.
CoreLogging
.
with_logger
(
Base
.
CoreLogging
.
NullLogger
())
do
Documenter
.
deploy_folder
(
nothing
;
repo
=
"github.com/
$
(ENV["
TRAVIS_PULL_REQUEST
"]).git"
,
devbranch
=
"master"
,
push_preview
=
true
,
devurl
=
"dev"
,
# only temporary - will be removed once properly tagged and released
folder
=
"dev"
branch
=
"gh-pages"
for
notebook
in
notebooks
Literate
.
markdown
(
notebook
,
notebooks_outdir
;
repo_root_url
=
"https://github.com/
$
(ENV["
TRAVIS_REPO_SLUG
"])/blob/master"
,
nbviewer_root_url
=
"https://nbviewer.jupyter.org/github/
$
(ENV["
TRAVIS_REPO_SLUG
"])/blob/gh-pages/
$(folder)
"
,
binder_root_url
=
"https://mybinder.org/v2/gh/
$
(ENV["
TRAVIS_REPO_SLUG
"])/
$(branch)
?filepath=
$(folder)
"
,
)
Literate
.
notebook
(
notebook
,
notebooks_outdir
)
end
## only temporary - will be removed once properly released
branch
=
"gh-pages"
folder
=
"dev"
# generate index.md from .template and the quickstart in README.md
quickstart
=
match
(
r
"<!--quickstart_begin-->
\n
([^
\0
]*)<!--quickstart_end-->"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment