From 1ab0636a2bfab01a40e7013e40178b478168f890 Mon Sep 17 00:00:00 2001 From: Geert Eltink Date: Fri, 8 Nov 2019 15:11:22 +0100 Subject: [PATCH] feat: update organization --- .github/workflows/docker-image.yml | 23 ----------------------- .github/workflows/github-pages.yml | 24 ------------------------ README.md | 9 +++------ action.yml | 2 +- actions/gh-pages-deploy | 6 +++--- actions/gh-pages-prepare | 2 +- config/_default/config.yaml | 2 +- config/_default/params.yaml | 2 +- docs/_index.md | 2 +- docs/config.yaml | 2 +- docs/current/_index.md | 8 ++++---- docs/params.yaml | 2 +- layouts/landingpage/site.html | 2 +- layouts/partials/footer.html | 2 +- layouts/partials/header.html | 2 +- package.json | 8 ++++---- static/README.md | 6 +++--- 17 files changed, 27 insertions(+), 77 deletions(-) delete mode 100644 .github/workflows/docker-image.yml delete mode 100644 .github/workflows/github-pages.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml deleted file mode 100644 index 566be3e..0000000 --- a/.github/workflows/docker-image.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: docker-image - -on: - push: - branches: - - master - -jobs: - build: - name: build docker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - - name: Build the Docker container image - run: docker build -t docker.pkg.github.com/iswai/docs-sdk/hugo:latest . - - - name: Push the image to GPR - run: | - docker login docker.pkg.github.com -u publisher -p "${GITHUB_PACKAGE_REGISTRY_TOKEN}" - docker push docker.pkg.github.com/iswai/docs-sdk/hugo:latest - env: - GITHUB_PACKAGE_REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml deleted file mode 100644 index 0397d23..0000000 --- a/.github/workflows/github-pages.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: github-pages - -on: - push: - branches: - - master - -jobs: - build-and-deploy: - name: build & deploy - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@master - - - name: Build - uses: iswai/docs-sdk@master - with: - command: 'build' - - - name: Deploy - env: - PERSONAL_ACCESS_TOKEN: ${{ secrets.ISWAI_BOT }} - run: wget -O - https://raw.githubusercontent.com/iswai/docs-sdk/master/actions/gh-pages-deploy | bash diff --git a/README.md b/README.md index 184c760..1cc385d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,6 @@ # docs-sdk -[![github-pages](https://github.com/iswai/docs-sdk/workflows/github-pages/badge.svg)](https://github.com/iswai/docs-sdk/actions) -[![docker-image](https://github.com/iswai/docs-sdk/workflows/docker-image/badge.svg)](https://github.com/iswai/docs-sdk/actions) - -This project consists of a collection of tools to generate the documentation for the ISWAI +This project consists of a collection of tools to generate the documentation for the XTREAMWAYZ organization. It's very opinionated and contains hugo templates and css files as we like them. ## Documentation @@ -14,10 +11,10 @@ to the documentation, please submit a pull request. ## Contributing ***BEFORE you start work on a feature or fix***, please read & follow the -[contributing guidelines](https://github.com/iswai/.github/blob/master/CONTRIBUTING.md#contributing) +[contributing guidelines](https://github.com/xtreamwayz/.github/blob/master/CONTRIBUTING.md#contributing) to help avoid any wasted or duplicate effort. ## Copyright and license -Code released under the [MIT License](https://github.com/iswai/.github/blob/master/LICENSE.md). +Code released under the [MIT License](https://github.com/xtreamwayz/.github/blob/master/LICENSE.md). Documentation distributed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). diff --git a/action.yml b/action.yml index 56d4de9..b109457 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: 'iswai docs sdk' +name: 'xtreamwayz docs sdk' description: 'Generate project docs' inputs: command: diff --git a/actions/gh-pages-deploy b/actions/gh-pages-deploy index f3e985c..c53c638 100755 --- a/actions/gh-pages-deploy +++ b/actions/gh-pages-deploy @@ -6,7 +6,7 @@ # PUBLISH_REPOSITORY: github_organization/project_name * optional # PUBLISH_BRANCH: gh-pages * optional # PUBLISH_DIR: ./build * optional -# run: wget -O - https://raw.githubusercontent.com/iswai/docs-sdk/master/actions/gh-pages-deploy | bash +# run: wget -O - https://raw.githubusercontent.com/xtreamwayz/docs-sdk/master/actions/gh-pages-deploy | bash # set -e @@ -42,8 +42,8 @@ rm -rf /tmp/deploy print_info "Checking out ${PUBLISH_BRANCH}" git clone "${REMOTE_REPO}" /tmp/deploy cd /tmp/deploy -git config user.name "iswai-bot" -git config user.email "57135024+iswai-bot@users.noreply.github.com" +git config user.name "xtreamwayz-bot" +git config user.email "57135024+xtreamwayz-bot@users.noreply.github.com" git checkout "${PUBLISH_BRANCH}" print_info "Removing old files" diff --git a/actions/gh-pages-prepare b/actions/gh-pages-prepare index d448868..1ecabd3 100755 --- a/actions/gh-pages-prepare +++ b/actions/gh-pages-prepare @@ -4,7 +4,7 @@ # env: # PUBLISH_BRANCH: gh-pages * optional # PUBLISH_DIR: ./build * optional -# run: wget -O - https://raw.githubusercontent.com/iswai/docs-sdk/master/actions/gh-pages-prepare | bash +# run: wget -O - https://raw.githubusercontent.com/xtreamwayz/docs-sdk/master/actions/gh-pages-prepare | bash # set -e diff --git a/config/_default/config.yaml b/config/_default/config.yaml index 569fd3f..adf36a4 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -1,5 +1,5 @@ baseURL: http://localhost:1313/ -title: iswai +title: xtreamwayz defaultContentLanguage: en languageCode: en-us diff --git a/config/_default/params.yaml b/config/_default/params.yaml index 9fe567a..f866550 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -1,4 +1,4 @@ -organization: iswai +organization: xtreamwayz projects: - devops - docs-sdk diff --git a/docs/_index.md b/docs/_index.md index d6d7b12..f6e8d9d 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -4,6 +4,6 @@ description: Description. --- This project consists of a collection of tools to generate the documentation -for the ISWAI organization. It's very opinionated and contains hugo templates +for the XTREAMWAYZ organization. It's very opinionated and contains hugo templates and css files as we like them. You can't really use it for something else unless you modify it and adjust to your needs. diff --git a/docs/config.yaml b/docs/config.yaml index 58bad4e..d0c2799 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -1,2 +1,2 @@ -baseURL: https://iswai.github.io/docs-sdk/ +baseURL: https://xtreamwayz.github.io/docs-sdk/ title: docs-sdk diff --git a/docs/current/_index.md b/docs/current/_index.md index e1b6b06..400f6fa 100644 --- a/docs/current/_index.md +++ b/docs/current/_index.md @@ -4,20 +4,20 @@ version: "1.0" --- This project consists of a collection of tools to generate the documentation -for the ISWAI organization. It's very opinionated and contains hugo templates +for the XTREAMWAYZ organization. It's very opinionated and contains hugo templates and css files as we like them. ## Preview documentation ```bash # Build documentation into ./build -docker run --rm -it -v ${PWD}:/src iswai/docs build +docker run --rm -it -v ${PWD}:/src xtreamwayz/docs build # Preview documentation at http:/localhost:1313/ -docker run --rm -it -p 1313:1313 -v ${PWD}:/src iswai/docs server +docker run --rm -it -p 1313:1313 -v ${PWD}:/src xtreamwayz/docs server # Preview documentation at http:/localhost:1313/ (including draft and future content) -docker run --rm -it -p 1313:1313 -v ${PWD}:/src iswai/docs preview +docker run --rm -it -p 1313:1313 -v ${PWD}:/src xtreamwayz/docs preview ``` ## Build container locally diff --git a/docs/params.yaml b/docs/params.yaml index 0f6fd01..ffcedad 100644 --- a/docs/params.yaml +++ b/docs/params.yaml @@ -1,4 +1,4 @@ -organization: iswai +organization: xtreamwayz project: docs-sdk current: "1.0" develop: diff --git a/layouts/landingpage/site.html b/layouts/landingpage/site.html index 182071a..ceef2fa 100644 --- a/layouts/landingpage/site.html +++ b/layouts/landingpage/site.html @@ -19,7 +19,7 @@

Projects

{{ $project }}

-

iswai/{{ $project }}

+

xtreamwayz/{{ $project }}

{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 24e3641..2c354ce 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,7 +2,7 @@

© 2019 Geert Eltink | - Code released under MIT License. | + Code released under MIT License. | Documentation distributed under CC BY 4.0.

diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 79a5e9f..9a3a92f 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,7 @@