Comments (8)
By default deploydocs
will deploy on the Linux nightly
travis build bot. Looks as though Bio.jl is failing on nightly, so what you can do is change the deploydocs
call to
deploydocs(
repo = "github.com/BioJulia/Bio.jl.git",
julia = "0.4",
)
and that should do the trick I should think.
from documenter.jl.
Also, to change which OS you want to deploy the docs from you can use the osname
keyword
deploydocs(
repo = "github.com/BioJulia/Bio.jl.git",
julia = "0.4",
osname = "osx",
)
These are mentioned briefly in the docs, but perhaps a more prominent section in the hosting documentation page would be useful too.
from documenter.jl.
I've changed the deploydocs function to use 0.4 and OS X, but it still tells me it's skipping docs deployment.
from documenter.jl.
Locally deploydocs
will always skip deploying the docs, currently it's only designed to work on travis. On the 0.4 travis build for Bio.jl make.jl
is throwing an error since Lapidary isn't installed. Until the package is registered you'll need to add a Pkg.clone
call to install it. Something like
after_success:
- julia -e 'cd(Pkg.dir("Bio")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'cd(Pkg.dir("Bio")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
- julia -e 'cd(Pkg.dir("Bio")); Pkg.clone("https://github.com/MichaelHatherly/Lapidary.jl"); include(joinpath("docs", "make.jl"))'
should work.
from documenter.jl.
Ok it's now showing that it is going through the build and deployment process. But it errors:
ERROR: LoadError: could not spawn `mkdocs build`: no such file or directory (ENOENT)
in _jl_spawn at process.jl:262
in anonymous at process.jl:415
in setup_stdio at /Users/travis/julia/lib/julia/sys.dylib
in __spawn#58__ at /Users/travis/julia/lib/julia/sys.dylib
in run at /Users/travis/julia/lib/julia/sys.dylib
in anonymous at /Users/travis/.julia/v0.4/Lapidary/src/Lapidary.jl:298
in anonymous at /Users/travis/.julia/v0.4/Lapidary/src/Lapidary.jl:329
in cd at /Users/travis/julia/lib/julia/sys.dylib
in deploydocs at /Users/travis/.julia/v0.4/Lapidary/src/Lapidary.jl:368
in include at /Users/travis/julia/lib/julia/sys.dylib
in include_from_node1 at /Users/travis/julia/lib/julia/sys.dylib
in process_options at /Users/travis/julia/lib/julia/sys.dylib
in _start at /Users/travis/julia/lib/julia/sys.dylib
while loading /Users/travis/.julia/v0.4/Bio/docs/make.jl, in expression starting on line 4
Which maybe something to do with my mkdocs.yml, although I think I left most of it as is in the docs. Lapidary, puts stuff in the docs/build folder, and mkdocs.yml has 'build' set for it's docs_dir.
from documenter.jl.
Does mkdocs build
work locally?
The error looks like mkdocs
isn't being found. Perhaps pip
on OSX installs mkdocs
somewhere other than .local/bin
. Not sure where that would be. Perhaps stick to deploying from Linux rather than OSX for the moment.
from documenter.jl.
That's awesome, it working now. Thank you!
from documenter.jl.
Excellent, glad to hear that!
from documenter.jl.
Related Issues (20)
- Inter-Module at-refs? HOT 9
- Warn on (ignored) HTML comments in markdown HOT 1
- make.jl fails with git error
- Can't emit ANSI strings from `@example` block in custom writer HOT 1
- RequireJS prevents integrating SwaggerUI with a user script HOT 1
- Prefer no trailing slash HOT 8
- Unsatisfiable requirements detected for package REPL HOT 11
- Improve the link vs collapse UX in docstring headers HOT 5
- Switching versions resets to the default page HOT 3
- LoadError: `makedocs` encountered an error [:missing_docs] -- terminating build before rendering. HOT 7
- Links to collapsed pages end up off-screen
- Documenter might not be expanding the example blocks in docstrings HOT 2
- Handling of ANSI foreground/background inversion is incorrect HOT 3
- Use AnnotatedIOBuffer + StyledStrings for handling ANSI codes. HOT 2
- ERROR: LoadError: PCRE compilation error: regular expression is too large HOT 9
- Cross reference between modules HOT 3
- Use mathml as an alternative `mathengine` HOT 3
- Anchors for admonitions
- How to create custom badges HOT 2
- Cannot find level-three cross-references
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from documenter.jl.