adamziel / playground-docs-workflow

Experimenting with maintaining WordPress docs using WordPress Playground
https://adamziel.github.io/playground-docs-workflow/
13 stars 2 forks source link

Export page order to HTML #3

Closed adamziel closed 5 months ago

adamziel commented 5 months ago

Currently the export only preserves the parent/child relationship but not the page order. Let's ensure that information is exported, too.

There's two ways to do it:

  1. Use WXR
  2. Expand the custom HTML file format

Let's explore the latter for now as these HTML files are nicer to diff in GitHub than a single WXR file. Alternatively, it could be multiple WXR files.

adamziel commented 5 months ago

Done in https://github.com/adamziel/playground-docs-workflow/commit/c05fe8ca73d350013e7b5a1637e6649afd5e67ce