Skip to content

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

@9ao9ai9ar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions