Skip to content

Commit

Permalink
Merge pull request #24 from terrestris/auto-generate-docs
Browse files Browse the repository at this point in the history
Auto generate docs
  • Loading branch information
simonseyock authored Sep 6, 2023
2 parents e4634a8 + 21e0bd4 commit fede208
Show file tree
Hide file tree
Showing 12 changed files with 2,172 additions and 637 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches:
- main

jobs:
docs:
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run doc
- run: |
git config --global user.name 'terrestris'
git config --global user.email '[email protected]'
git diff --quiet && git commit -am "chore: automated doc generation" || true
git push
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,19 @@ Was inspired by https://github.com/conveyal/maven-semantic-release. It differs i

## Options

* `settingsPath`: path to a maven settings file (default: `'.m2/settings.xml'`)
* `clean`: either `true` or `false`. Whether the `clean` target will be applied before publishing. (default: `true`)
* `mavenTarget`: possible values: `deploy`, `package jib:build`, `deploy jib:build`. This determines which mvn targets are used to publish. (default: `'deploy'`)
* `updateSnapshotVersion`: either `true` or `false`. Whether a new snapshot version should be set after releasing. (default: `false`)
* `snapshotCommitMessage`: the commit message used if a new snapshot version should be created (default: `'chore: setting next snapshot version [skip ci]'`)
* `processAllModules`: either `true` or `false`. It sets the `processAllModules` option for the `versions:set` target. This is useful for multimodule projects. (default: `false`)
<!-- AUTO_GENERATED_OPTIONS -->
<a name="PluginConfig"></a>

## PluginConfig : <code>Object</code>
**Kind**: global typedef
**Properties**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [settingsPath] | <code>string</code> | <code>&quot;&#x27;.m2/settings.xml&#x27;&quot;</code> | Path to a maven settings file. |
| [processAllModules] | <code>boolean</code> | <code>false</code> | This sets the `processAllModules` option for the `versions:set` target. It is useful for multimodule projects. |
| [mavenTarget] | <code>&#x27;deploy&#x27;</code> | <code>&#x27;package jib:build&#x27;</code> | <code>&#x27;deploy jib:build&#x27;</code> | <code>&#x27;deploy&#x27;</code> | This determines which mvn targets are used to publish. |
| [clean] | <code>boolean</code> | <code>true</code> | Whether the `clean` target will be applied before publishing. |
| [updateSnapshotVersion] | <code>boolean</code> | <code>false</code> | Whether a new snapshot version should be set after releasing. |
| [snapshotCommitMessage] | <code>string</code> | <code>&quot;&#x27;chore: setting next snapshot version [skip ci]&#x27;&quot;</code> | The commit message used if a new snapshot version should be created. |
<!-- AUTO_GENERATED_OPTIONS -->
Loading

0 comments on commit fede208

Please sign in to comment.