Skip to content

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

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions