You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-29 21:48:14 +02:00
Add cookbook blog and improve docs (#3002)
As discussed in https://github.com/woodpecker-ci/woodpecker/discussions/2932#discussioncomment-7842309 Closes #316
This commit is contained in:
@@ -57,6 +57,7 @@ const config: Config = {
|
||||
label: 'API',
|
||||
},
|
||||
{ to: 'blog', label: 'Blog', position: 'left' },
|
||||
{ to: 'cookbook', label: 'Cookbook', position: 'left' },
|
||||
{
|
||||
type: 'docsVersionDropdown',
|
||||
position: 'right',
|
||||
@@ -192,6 +193,21 @@ const config: Config = {
|
||||
};
|
||||
},
|
||||
}),
|
||||
[
|
||||
'@docusaurus/plugin-content-blog',
|
||||
{
|
||||
id: 'cookbook-blog',
|
||||
/**
|
||||
* URL route for the blog section of your site.
|
||||
* *DO NOT* include a trailing slash.
|
||||
*/
|
||||
routeBasePath: 'cookbook',
|
||||
/**
|
||||
* Path to data on filesystem relative to site dir.
|
||||
*/
|
||||
path: './cookbook',
|
||||
},
|
||||
],
|
||||
],
|
||||
themes: [
|
||||
path.resolve(__dirname, 'plugins', 'woodpecker-plugins', 'dist'),
|
||||
|
||||
Reference in New Issue
Block a user