Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
COBREXA.jl
Manage
Activity
Members
Plan
External wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LCSB-BioCore
COBREXA.jl
Commits
7bf10432
Verified
Commit
7bf10432
authored
3 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
[skip ci] fix nb viewer - removed too much
parent
1ac9bbac
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/make.jl
+12
-12
12 additions, 12 deletions
docs/make.jl
with
12 additions
and
12 deletions
docs/make.jl
+
12
−
12
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-->"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment