chore: DRAFT PR to add HWP Toolkit#359
Conversation
Introduces a new /toolkit/ route for documentation, updates navigation and shared logic to support both Docs and Toolkit sections, and refactors data fetching utilities to handle multiple doc sources. This enables serving and navigating documentation from the 'hwptoolkit' repository alongside the existing FaustJS docs.
Adds logic to determine the correct file append (e.g., 'index.md' or other) for toolkit documentation routes based on navigation data. Updates docUrlFromSlug and getParsedDoc to accept an append parameter, and introduces findAppendForRoute to select the appropriate file for each route.
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
…use a POC branch for testing while updating the logging docs.
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
… testing markdown files locally.
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
Check out the recent updates to your Headless Platform preview environment:
Learn more about preview environments in our documentation. |
|
Closing PR as we will be migrating docs to developer platform docs. Not sure if @Fran-A-Dev or @moonmeister some of the code here for fetching files locally might be useful in future if you need it. |
Note
This is a POC branch to see how feasible it is to add HWP Toolkit to Faust docs site as part of the roadmap - https://github.com/wpengine/faustjs/blob/canary/ROADMAP.md