Skip to content
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

Resource files for figure are placed under the wrong directory when generated using --html-tree #424

Open
9ao9ai9ar opened this issue May 9, 2024 · 0 comments

Comments

@9ao9ai9ar
Copy link

;;; 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/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant