Skip to content

Handle stylesdir correctly when using a nested set of documents #4622

Open
@sdavids

Description

https://docs.asciidoctor.org/asciidoctor/latest/html-backend/custom-stylesheet/#styles-directory-and-nested-documents-when-linking

When invoking Asciidoctor on a nested set of documents, it’s currently not possible to specify a single relative path for the stylesdir attribute that works for all of the documents.

Please lift this limitation.

https://docs.asciidoctor.org/asciidoctor/latest/html-backend/local-font-awesome/#switch-to-your-local-font-awesome-assets

The links to the font-awesome.css should be adjusted as well.


├── dir
│   ├── sub
│   │   ├── sub.html
│   │   ├── css
│   │   │   ├── asciidoctor.css
│   │   │   ├── custom.css
│   │   │   └── font-awesome.css
│   │   └── fonts
│   │       └── fontawesome-webfont.woff2
│   ├── dir.html
│   ├── css
│   │   ├── asciidoctor.css
│   │   ├── custom.css
│   │   └── font-awesome.css
│   └── fonts
│       └── fontawesome-webfont.woff2
├── index.html
├── css
│   ├── asciidoctor.css
│   ├── custom.css
│   └── font-awesome.css
└── fonts
    └── fontawesome-webfont.woff2

├── dir
│   ├── sub
│   │   └── sub.html
│   └── dir.html
├── index.html
├── css
│   ├── asciidoctor.css
│   ├── custom.css
│   └── font-awesome.css
└── fonts
    └── fontawesome-webfont.woff2

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