Skip to content

Commit

Permalink
Fix build (#2759)
Browse files Browse the repository at this point in the history
  • Loading branch information
da-Kai authored Aug 29, 2024
1 parent 6116728 commit c27c4b4
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
13 changes: 10 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -344,12 +344,19 @@ task copyBundleReadmes() {
*/
task buildAntoraDocs(dependsOn: copyBundleReadmes) {
group 'Documentation'

dependsOn ":doc:buildAntoraDocs"

def source = file("doc/build/www")
def output = file("${buildDir}/www")

doLast {
output.deleteDir()
copy {
from "doc/build/www"
into "${buildDir}/www"
from source
into output
}
source.deleteDir()

println("Built ${output}!")
}
}
2 changes: 1 addition & 1 deletion doc/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: Open Energy Management System
version: latest
start_page: ROOT:introduction.adoc
nav:
- modules/ROOT/nav.adoc
- modules/ROOT/nav.adoc
11 changes: 8 additions & 3 deletions doc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ node {
task buildAntoraDocs(type: NodeTask) {
dependsOn npmInstall
script = file("build/node_modules/@antora/cli/bin/antora")
args = ["site.yml"]
args = ["--log-format=pretty", "site.yml"]

def nojekyll = file("build/.nojekyll")
def source = file("build/CNAME")
def output = file("build/www")

doLast {
copy {
from "build/.nojekyll", "build/CNAME"
into "build/www"
from nojekyll, source
into output
}
}
}
4 changes: 2 additions & 2 deletions doc/build/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ site:

content:
sources:
- url: https://github.com/OpenEMS/openems.git
edit_url: https://github.com/OpenEMS/openems/tree/{refname}/{path}
- url: ./../../
edit_url: https://github.com/OpenEMS/openems/tree/develop/{path}
branches: HEAD
start_path: doc

Expand Down
6 changes: 3 additions & 3 deletions io.openems.edge.evcs.spelsberg/readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ Implementation of the Spelsberg SMART PRO charging station.
This EVCS component implementation is not yet fully feature tested. Please consider it BETA quality.


=== Technical Data
== Technical Data

* Rated current: 16A single and three phase
* Charging cable: Type 2, up to 16A
* Max. charging power: 11kW (three phases), 3.7kW (single phase)
* Communication protocol: Modbus TCP


=== This implementation includes:
== This implementation includes:

** Reading of current and power from the EVCS
** Setting charge power/current via OpenEMS Edge EVCS Controller
** Calculation of the energy summary for transactions
** EVCS status updates
** Validation of Modbus TCP connection

=== Planned Features:
== Planned Features:

** Support for automatic phase shifting

Expand Down

0 comments on commit c27c4b4

Please sign in to comment.