hugo/docs
Joe Mooring 3d21b0687b markup/asciidocext: Improve Asciidoctor integration
Fixes an issue where improper attribute derivation from the page's
relative permalink caused failures with `outdir`, `imagesoutdir`, and
`imagesdir` when `markup.asciidocext.workingFolderCurrent` is enabled.
The updated logic now correctly handles:

- Multi-byte characters
- Multilingual multi-host sites
- Site builds from a subdirectory
- Pages using ugly URLs

Supports diagram caching as implemented in v3.1.0 of the asciidoctor-diagram
extension:

- Enables caching by default
- Sets default cache location to the compiled value of caches.misc.dir

Reduces duration of integration tests by:

- Generating GoAT diagrams instead of Ditaa diagrams
- Taking advantage of asciidoctor-diagram caching

Closes #9202
Closes #10183
Closes #10473
Closes #14160
2025-11-24 23:03:53 +01:00
..
.github github: Add ai-watchdog workflow and update other workflows' versions 2025-11-18 19:15:14 +01:00
.vscode
archetypes
assets
content
data markup/asciidocext: Improve Asciidoctor integration 2025-11-24 23:03:53 +01:00
layouts
static
.codespellrc
.cspell.json
.editorconfig
.gitignore
.markdownlint-cli2.yaml
.prettierignore
.prettierrc
.textlintignore
LICENSE.md
README.md
go.mod
go.sum
hugo.toml
hugo.work
hugoreleaser.yaml
netlify.toml
package.hugo.json
package.json

README.md

Hugo

A fast and flexible static site generator built with love by bep, spf13, and friends in Go.


Netlify Status PRs Welcome

This is the repository for the Hugo documentation site.

Please see the contributing section for guidelines, examples, and process.

Install

npm i
hugo server

Note: We're working on removing the need to run npm i for local development. Stay tuned.