Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: plugin for generating a partial library when building a pod #201

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Zoramite
Copy link
Member

Adds a hook for amagaki that triggers before the manifest is built (allowing the plugin to generate more content outside of normal routes and after all routes have been processed). This extra trigger allows for plugins that want to do analysis of normal builds to hook into the process and generate reports or files before deploying.

The partial library plugin is made to be used with a custom view in the project (allows the project to control how the partials are displayed and gives access to the information from the library). This allows the project to be able to include normal styling or framing around how the library information is displayed and supports the normal template engines based on the view provided.

@Zoramite Zoramite added the enhancement New feature or request label Jun 15, 2022
@Zoramite Zoramite requested a review from jeremydw June 15, 2022 16:54
@Zoramite Zoramite self-assigned this Jun 15, 2022
@Zoramite Zoramite changed the title feat: Plugin for generating a partial library when building a pod. feat: plugin for generating a partial library when building a pod Jun 15, 2022
@Zoramite Zoramite marked this pull request as draft June 16, 2022 17:20
@Zoramite Zoramite force-pushed the feature/plugin-partial-library branch from d7fd2a2 to 9524d8a Compare June 16, 2022 20:29
@Zoramite Zoramite marked this pull request as ready for review June 16, 2022 20:29
@Zoramite
Copy link
Member Author

Updated the logic of the plugin to no longer require a new hook. It uses the custom route provider and scans the doc routes to look for docs.

@Zoramite Zoramite force-pushed the feature/plugin-partial-library branch from 854c488 to cc7153c Compare June 16, 2022 20:39
@Zoramite Zoramite force-pushed the feature/plugin-partial-library branch from 5d765af to a1f91e0 Compare April 21, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants