-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find level-three cross-references #2507
Comments
The suggested workaround to use header
Line 1675: See the later sections [Applying Multiple Operations per Manipulation](@ref multi_op_manipulations)
and [Broadcasting Operation Pairs](@ref broadcasting_operation_pairs) for more information. Line 2514: ### [Applying Multiple Operations per Manipulation](@id multi_op_manipulations) Line 2649: ### [Broadcasting Operation Pairs](@id broadcasting_operation_pairs) |
Is it because they are referred to above where they are defined? |
I just tested with
and so does
actually. So everything should work.. It would be good if we could reduce the issue down to an MWE. |
Well it's not minimum yet, but I ran into some strange behavior. If I delete everything but the headers and references, then the cross-references build okay. Somewhere in between it fails. I am testing by running Here is my smaller failing example. make.jl using Documenter
using DataFrames
makedocs(
modules = [DataFrames],
doctest = false,
clean = true,
sitename = "DataFrames.jl",
format = Documenter.HTML(
canonical = "https://juliadata.github.io/DataFrames.jl/stable/",
assets = ["assets/favicon.ico"],
edit_link = "main",
size_threshold_ignore = ["man/basics.md", "lib/functions.md"],
),
pages = Any[
"Introduction" => "index.md",
"First Steps with DataFrames.jl" => "man/basics.md",
],
) index.md # DataFrames.jl
## Package Manual
```@contents
Pages = ["man/basics.md"]
Depth = 2
``` basics.md
|
I was able to trim the CrossReferences Fail: # Header 1
## Header 2
Reference [Header 3](@ref).
!!! Note
```julia
"hello"
```
### Header 3
```julia
"hello"
``` CrossReferences Pass: # Header 1
## Header 2
Reference [Header 3](@ref).
!!! Note
```julia
"hello"
```
### Header 3
hello CrossReferences Pass: # Header 1
## Header 2
Reference [Header 3](@ref).
!!! Note
hello
### Header 3
```julia
"hello"
``` CrossReferences Pass: # Header 1
## Header 2
Reference [Header 3](@ref).
```julia
"hello"
```
### Header 3
```julia
"hello"
``` CrossReferences Pass: # Header 1
## Header 2
Reference [Header 3](@ref).
### Header 3
```julia
"hello"
```
!!! Note
```julia
"hello"
``` CrossReferences Pass: # Header 1
## Header 2
Reference [Header 3](@ref).
!!! Note
```julia
"hello"
```
```julia
"hello"
```
### Header 3 CrossReferences Pass: # Header 1
## Header 2
Reference [Header 2](@ref).
!!! Note
```julia
"hello"
```
### Header 3
```julia
"hello"
``` Hopefully you can make something of this. I don't think I can take it any further myself. |
"Note" needs to be lowercase. It rendered fine in VSCode, so I didn't notice. Not sure what that has to do with the thrown cross-reference error, but at least that fixed it. |
I am getting this build error:
However, the
basics.md
file contains these lines:Line 2514:
### Applying Multiple Operations per Manipulation
Line 2649:
### Broadcasting Operation Pairs
Pull request here:
JuliaData/DataFrames.jl#3360 (comment)
The text was updated successfully, but these errors were encountered: