Integrated: Split up the monolithic index.md, take two

Magnus Ihse Bursie ihse at openjdk.java.net
Thu May 12 20:55:24 UTC 2022


On Thu, 12 May 2022 13:50:45 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> Here's a resurrection of my old code to split up the monolithic index.md.
> 
> I have fully recreated the per-chapter files based on the current content of index.md. I have removed the number prefix and instead the order of the files are determined by `src/toc.conf`.
> 
> By my quick inspection, the generated index.html looks identical to the one before.
> 
> I found some inconsistencies when doing this. For instance most, but not all, chapters end with a 
> 
> ::: {.box}
> [To the top](#){.boxheader}
> :::
> 
> footer. A reasonable follow-up is to move these per-chapter footers out of the actual markdown, and inject them when combining the file instead. This means less redundancy, and no more inconsistencies. ;-)

This pull request has now been integrated.

Changeset: 6f2d4414
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.java.net/guide/commit/6f2d44146b606c7e8a2275eb07a0a6a91f190993
Stats:     4813 lines in 22 files changed: 2391 ins; 2418 del; 4 mod

Split up the monolithic index.md, take two

Reviewed-by: jwilhelm

-------------

PR: https://git.openjdk.java.net/guide/pull/82


More information about the guide-dev mailing list