Apache StreamPipes Website

Clone this repo:
  1. 99ab7ad chore(python-docs): update python doc assets to recent development state (#194) by github-actions[bot] · 3 hours ago dev
  2. e12d2d7 Merge pull request #192 from ittuann/badge by Philipp Zehnder · 11 days ago
  3. 0270dd3 fix: correction GitHub Actions badge by ittuann · 11 days ago
  4. 0b21ef9 chore(python-docs): update python doc assets to recent development state (#191) by github-actions[bot] · 2 weeks ago
  5. e09fbb7 fix: update broken links in current version (#183) by airwish · 2 weeks ago

Github Actions

Apache StreamPipes Website + Docs

Intro

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.

Build Website & Documentation

  • Run npm install from the website-v2 directory by first running cd ./website-v2.
  • Run npm run start to start the documentation for debugging purposes. The content will be served on http://localhost:3000
  • Run npm run build to build the documentation This will create a folder website-v2/build that includes all required static files.
  • Run npm run ds-version NEW_VERSION to release a new docs version.

Deploy

  • First, build the website and documentation as explained above.
  • Copy the content from the docs-python to the website-v2/build folder into a subdirectory named python.

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.