diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml new file mode 100644 index 0000000..da0b764 --- /dev/null +++ b/.github/workflows/documentation.yml @@ -0,0 +1,17 @@ +name: Update documentation +on: + push: + branches: [ main ] + paths: + - 'docs/**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Trigger website update + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.CI_PAT }} + repository: onecx/docs + event-type: dispatch-build-website diff --git a/.github/workflows/userdocumentation.yml b/.github/workflows/userdocumentation.yml new file mode 100644 index 0000000..1786bb5 --- /dev/null +++ b/.github/workflows/userdocumentation.yml @@ -0,0 +1,17 @@ +name: Update user documentation +on: + push: + branches: [ main ] + paths: + - 'userdocs/**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Trigger website update + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.CI_PAT }} + repository: onecx/userdocs + event-type: dispatch-build-website diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index c6ed57e..0000000 --- a/docs/README.md +++ /dev/null @@ -1,3 +0,0 @@ - -How to: -https://onecx.github.io/docs/guides/current/documentation/setup/product.html \ No newline at end of file diff --git a/docs/antora.yml b/docs/antora.yml new file mode 100644 index 0000000..a6b1d90 --- /dev/null +++ b/docs/antora.yml @@ -0,0 +1,9 @@ +name: onecx-workspace +title: Workspace Management +version: latest +start_page: general:index.adoc +nav: + - modules/general/nav.adoc + - modules/ui/nav.adoc + #- modules/bff/nav.adoc + #- modules/svc/nav.adoc diff --git a/docs/modules/general/nav.adoc b/docs/modules/general/nav.adoc new file mode 100644 index 0000000..5c67ff9 --- /dev/null +++ b/docs/modules/general/nav.adoc @@ -0,0 +1 @@ +* xref:general:index.adoc[General] \ No newline at end of file diff --git a/docs/modules/general/pages/index.adoc b/docs/modules/general/pages/index.adoc new file mode 100644 index 0000000..204c376 --- /dev/null +++ b/docs/modules/general/pages/index.adoc @@ -0,0 +1 @@ += OneCX Workspace Management diff --git a/userdocs/antora.yml b/userdocs/antora.yml new file mode 100644 index 0000000..a6b1d90 --- /dev/null +++ b/userdocs/antora.yml @@ -0,0 +1,9 @@ +name: onecx-workspace +title: Workspace Management +version: latest +start_page: general:index.adoc +nav: + - modules/general/nav.adoc + - modules/ui/nav.adoc + #- modules/bff/nav.adoc + #- modules/svc/nav.adoc diff --git a/userdocs/modules/general/nav.adoc b/userdocs/modules/general/nav.adoc new file mode 100644 index 0000000..5c67ff9 --- /dev/null +++ b/userdocs/modules/general/nav.adoc @@ -0,0 +1 @@ +* xref:general:index.adoc[General] \ No newline at end of file diff --git a/userdocs/modules/general/pages/index.adoc b/userdocs/modules/general/pages/index.adoc new file mode 100644 index 0000000..204c376 --- /dev/null +++ b/userdocs/modules/general/pages/index.adoc @@ -0,0 +1 @@ += OneCX Workspace Management