diff --git a/.github/workflows/python-lib-snapshot.yml b/.github/workflows/python-lib-snapshot.yml index 2699056f..e1257601 100644 --- a/.github/workflows/python-lib-snapshot.yml +++ b/.github/workflows/python-lib-snapshot.yml @@ -11,4 +11,6 @@ on: jobs: run: uses: zepben/.github/.github/workflows/python-lib-snapshot.yml@main + with: + product-key: "python-sdk" secrets: inherit diff --git a/docs/site-config/src/theme/GlobalTopContent.js b/docs/site-config/src/theme/GlobalTopContent.js new file mode 100644 index 00000000..9318106a --- /dev/null +++ b/docs/site-config/src/theme/GlobalTopContent.js @@ -0,0 +1,15 @@ +import React from 'react'; + +function GlobalTopContent() { + return ( +
+ 🚨 This is an important announcement! 🚨 +
+ This documentation site is no longer actively maintained. +
+ For up-to-date documentation, see the new site at the EWB Python SDK page. +
+ ); +} + +export default GlobalTopContent; diff --git a/docs/site-config/src/theme/Layout/index.js b/docs/site-config/src/theme/Layout/index.js new file mode 100644 index 00000000..ad2e6dea --- /dev/null +++ b/docs/site-config/src/theme/Layout/index.js @@ -0,0 +1,16 @@ +import React from 'react'; +import OriginalLayout from '@theme-original/Layout'; +import GlobalTopContent from '@theme/GlobalTopContent'; + +function Layout(props) { + return ( +
+ + + {props.children} + +
+ ); +} + +export default Layout; diff --git a/pyproject.toml b/pyproject.toml index a51af9e1..6184efa6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ [project] name = "zepben.ewb" - version = "1.1.0b13" + version = "1.1.0b14" description = "Python SDK for interacting with the Energy Workbench platform" readme = {file = "README.md", content-type = "text/markdown"} license = "MPL-2.0"