Created GitHub plugin, created redirects plugin, updated Pub plugin, moved data index into the context.
Created a GitHubContributorsPlugin, which loads a contributors list for any number of specified repositories. This plugin uses the GitHub API, which is implemented by the github package (non-official package).
Created a RedirectsPlugin, which looks for a redirectFrom path in a page and then generates a page at that path, which tells the browser to redirect to the primary url for the page.
Updated the PubPackagePlugin so that it can source the desired package names either from code, or from a _data.yaml file. Whichever is easier for the author.
Pipeline changes:
The global data hierarchy is now accessible inside the StaticShockPipelineContext, and that context is made available to DataLoaders. This is so remote data loaders can utilize local data as configuration. For example, we may want a _data.yaml file to specify which GitHub repositories the GitHub plugin should load the contributors lists.
Paralellized data loading for better performance.
The page index now lives inside the StaticShockPipelineContext so that any part of the pipeline may query or mutate pages.
Paralellized page and asset file writing for better performance.
Created GitHub plugin, created redirects plugin, updated Pub plugin, moved data index into the context.
Created a
GitHubContributorsPlugin
, which loads a contributors list for any number of specified repositories. This plugin uses the GitHub API, which is implemented by thegithub
package (non-official package).Created a
RedirectsPlugin
, which looks for aredirectFrom
path in a page and then generates a page at that path, which tells the browser to redirect to the primaryurl
for the page.Updated the
PubPackagePlugin
so that it can source the desired package names either from code, or from a_data.yaml
file. Whichever is easier for the author.Pipeline changes:
StaticShockPipelineContext
, and that context is made available toDataLoader
s. This is so remote data loaders can utilize local data as configuration. For example, we may want a_data.yaml
file to specify which GitHub repositories the GitHub plugin should load the contributors lists.StaticShockPipelineContext
so that any part of the pipeline may query or mutate pages.