Resource files for `figure` are placed under the wrong directory when generated using `--html-tree`
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 250
- Forks
- 102
- Avg merge
- 11d 11h
- Merged PRs (30d)
- 1
Description
;;; home.scrbl
#lang scribble/manual
@title{House}
@include-section["house.scrbl"]
@include-section["hut.scrbl"]
;;; house.scrbl
#lang scribble/manual
@(require scriblib/figure)
@title{Home}
@figure["hw" @elem{HW}]{
Hello World!
}
;;; hut.scrbl
#lang scribble/manual
@(require scriblib/figure)
@title{Hut}
@figure["ht" @elem{HT}]{
Hello Team!
}
scribble --dest ./ --html-tree 2 ./home.scrbl
The files figure.js and figure.css (and racket.css in my real project) are placed inside ./Home/House/, but the HTML output files assume they're under the web root (./Home/).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example with scribble --dest ./ --html-tree 2 ./home.scrbl and inspect the generated Home/House/ and Home/ directories. Trace how figure.js, figure.css, and the HTML references to them are produced; done means the resources are placed where the generated HTML expects them, including the reported racket.css case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100