woodpecker/docs
runephilosof-karnovgroup adb2c82790
Update go module path for major version 2 (#2905)
https://go.dev/doc/modules/release-workflow#breaking

Fixes https://github.com/woodpecker-ci/woodpecker/issues/2913 fixes
#2654
```
runephilosof@fedora:~/code/platform-woodpecker/woodpecker-repo-configurator (master)$ go get go.woodpecker-ci.org/woodpecker@v2.0.0
go: go.woodpecker-ci.org/woodpecker@v2.0.0: invalid version: module contains a go.mod file, so module path must match major version ("go.woodpecker-ci.org/woodpecker/v2")
```

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-08 08:15:08 +01:00
..
blog Add 2.0.0 post (#2864) 2023-11-23 17:21:47 +01:00
docs Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
plugins/woodpecker-plugins Fix installation type (#2902) 2023-12-03 09:49:34 +01:00
src Add 2.x docs (#2865) 2023-11-23 17:00:54 +01:00
static Improve plugins index (#1200) 2022-09-25 19:04:47 +02:00
versioned_docs Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
versioned_sidebars Add 2.x docs (#2865) 2023-11-23 17:00:54 +01:00
.gitignore [Docs] Migrate docs framework to Docusaurus (#282) 2021-09-11 17:10:32 +02:00
.prettierrc.js Add prettier (#2600) 2023-10-24 14:42:05 +02:00
babel.config.js [Docs] Migrate docs framework to Docusaurus (#282) 2021-09-11 17:10:32 +02:00
docusaurus.config.ts Improve code blocks in docu (#2879) 2023-11-26 19:31:05 +01:00
LICENSE Optimize license files (#355) 2021-09-25 15:15:54 +02:00
package.json Update docs npm deps non-major (#2908) 2023-12-06 07:28:04 +01:00
pnpm-lock.yaml Lock file maintenance (#2910) 2023-12-06 15:05:49 +01:00
pnpm-workspace.yaml Fix docs build (#1690) 2023-04-03 12:30:01 +02:00
README.md pre-commit fixes (#2669) 2023-10-31 09:14:09 +01:00
sidebars.js Add prettier (#2600) 2023-10-24 14:42:05 +02:00
tsconfig.json Update docusaurus to v3 (#2732) 2023-11-05 10:43:44 +01:00
versions.json Add 2.x docs (#2865) 2023-11-23 17:00:54 +01:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

pnpm install

Local Development

pnpm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

pnpm build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Deployment happen via CI to woodpecker-ci.org.

To manually build the website and push it exec:

GIT_USER=woodpecker-bot USE_SSH=true DEPLOYMENT_BRANCH=main pnpm deploy