Skip to content

Optionally build documentation in small HTML files#35

Merged
teddych merged 1 commit intoteddych:masterfrom
Fuddl1:mr-splitted-docs
Feb 6, 2026
Merged

Optionally build documentation in small HTML files#35
teddych merged 1 commit intoteddych:masterfrom
Fuddl1:mr-splitted-docs

Conversation

@Fuddl1
Copy link
Contributor

@Fuddl1 Fuddl1 commented Feb 6, 2026

Add build target 'chunked-doc' for cmake and make. This calls pandoc in "chunked HTML" mode and creates a directory 'chunkedhtml/$LANG/' that contains multiple HTML files instead of a monolithic one.

The output is intended for future use in the web interface like an "online help" system. It is unsuitable as a standalone documentation due to limitations of pandoc and does not replace the existing doc build target.

I shifted level 1 headlines (except the first one) in $LANG/index.md to level 2: The file splitting works on headline level and creates one HTML file per level 1 headline. Without the shifts, the splitting would be too fine grained.

The naming scheme of the HTML files is currently pandoc's default. It can be adapted to fit future needs.

Add build target 'chunked-doc' for cmake and make. This calls pandoc in
"chunked HTML" mode and creates a directory 'chunkedhtml/$LANG/' that
contains multiple HTML files instead of a monolithic one.

The output is intended for future use in the web interface like an
"online help" system. It is unsuitable as a standalone documentation due to
limitations of pandoc and does *not* replace the existing doc build
target.
@Fuddl1
Copy link
Contributor Author

Fuddl1 commented Feb 6, 2026

I see the two CI tests failing but I don't understand how they relate to the changes in my pull request.

Please let me know what I did wrong.

@teddych
Copy link
Owner

teddych commented Feb 6, 2026

This is not introduced by you. And a fix is on the way.

@teddych teddych merged commit 887dc4e into teddych:master Feb 6, 2026
4 of 6 checks passed
@Fuddl1 Fuddl1 deleted the mr-splitted-docs branch February 6, 2026 18:16
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

Successfully merging this pull request may close these issues.

2 participants