Comments (11)
In YAML, you have to use the string "1.10"
, otherwise it is the floating point value 1.1
.
from documenter.jl.
I compared this failure with a success for another packages and saw this with version 1.1 for the failure and 1.9.4 for the success. This just started happening within the last couple days. How could the two packages be different in this way?
Run julia-actions/setup-julia@latest
with:
version: 1.1
include-all-prereleases: false
arch: X64
show-versioninfo: false
/usr/bin/tar xf /home/runner/work/_temp/5638152d-32da-45b4-b3f1-0c07fd6c433c --strip-components=1 -C /opt/hostedtoolcache/julia/1.1.1/x64
/opt/hostedtoolcache/julia/1.1.1/x64/bin/julia --version
julia version 1.1.1
from documenter.jl.
The problem was that in the .github/workflows/docs.yml
file the entry
julia-version: [1.10]
seemed to have loaded version 1.1. When I changed it to the one in the working repo
julia-version: [1.9]
the problem went away. Is this supposed to happen? I'd been using that docs.yml file for weeks with no problems until today.
from documenter.jl.
REPL possible versions are: 1.1.1 or uninstalled
That seems weird. Maybe REPL got moved out of the stdlib and now has a lower version number than it used to be?
Documenter may have to change its compat spec for REPL to β1β
You might have better luck asking about this on Slack or Discourse
from documenter.jl.
I asked here because it seemed that it was a problem or bug with Documenter. In hindsight, Discourse might have been better.
from documenter.jl.
julia-version: [1.10] seemed to have loaded version 1.1.
That sounds to me maybe like a bug in Pkg?
from documenter.jl.
I asked here because it seemed that it was a problem or bug with Documenter. In hindsight, Discourse might have been better.
Iβd still ask in a more general forum. This is either an issue with the Julia 1.10 release as the first one with a double digit minor version or an issue with the move of stdlib moving to independent versioning. It would be good to get to the bottom of this, even if itβs not directly Documenter-related. I actually think I have seen this problem before in some other context.
from documenter.jl.
Just tried
julia-version: ["1.10"]
and that worked. Those of us who pattern match on other people's YAML files will get surprised by this. It suspect that's most users of Julia.
from documenter.jl.
In YAML, you have to use the string "1.10", otherwise it is the floating point value 1.1.
Ah, I didn't account for the possibility that CI was actually running Julia 1.1! Good catch! π
from documenter.jl.
@ctkelley If you can confirm that putting quotes around 1.10
solves the problem, I think we can close this issue
Edit: ah, you already did. Great!
from documenter.jl.
Those of us who pattern match on other people's YAML files will get surprised by this.
I wonder if the julia-actions/setup-julia
action can detect this. Actually, there's already an issue for it: julia-actions/setup-julia#204
from documenter.jl.
Related Issues (20)
- Feature request: ANSI color output in doctests HOT 6
- Wrong `\includegraphics` image path at creating LaTeX output HOT 7
- Separate jldoctest environments HOT 1
- use of the `Base`-internal function `tuple_type_tail`
- Typing `th` into the Documenter.jl search bar throws a javascript error HOT 1
- invalid scape sequence when trying to run jldoctest with filters as standard test HOT 1
- Document Julia types of function options/kwargs
- Is `docs/instantiate.jl` obsolete? HOT 1
- Documenter not finding dynamic documentation HOT 4
- @eval returning @docs blocks don't render as documentation. HOT 5
- Feature proposal: @include blocks HOT 10
- Console shows error when metadata is not present in certain pages HOT 1
- 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
- Improve the link vs collapse UX in docstring headers HOT 5
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.