This repository includes the website and documentation of Apache StreamPipes on https://streampipes.apache.org. Two different technologies are used to create both sites:
- The website & documentation uses Docusaurus to create a versioned documentation.
- The Python docs are auto-generated from the main code repo using MkDocs.
Both parts are merged to a single directory during the CI process.
Node.js(at most v18) and npm are required to build the documentation.
- Run
npm installfrom thewebsite-v2directory by first runningcd ./website-v2. - Run
npm run startto start the documentation for debugging purposes. The content will be served onhttp://localhost:3000 - Run
npm run buildto build the documentation This will create a folderwebsite-v2/buildthat includes all required static files. - Run
npm run ds-version NEW_VERSIONto release a new docs version.
- First, build the website and documentation as explained above.
- Copy the content from the
docs-pythonto thewebsite-v2/buildfolder into a subdirectory namedpython.
The deployment step is done automatically using the asf.yaml process.
Code must be merged into the master branch in order to trigger an update of the website.