diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 466ef5f..6e7dd94 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,14 +1,14 @@ name: release qtalsim -#on: -# release: -# types: published +on: + release: + types: published jobs: release: runs-on: ubuntu-latest - steps: + steps: - uses: actions/checkout@v2 name: Set up Python 3.8 with: diff --git a/README.md b/README.md index a696163..b387b91 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,5 @@ QTalsim is a QGIS plugin designed to create hyrological response units (HRUs) suitable for Talsim. The plugin processes three layer, including a catchment area layer, soil layer and land use layer. It clips the layers in accordance with the catchment area layer’s boundaries. The plugin then intersects those three layers and creates HRUs. Additionally, the plugin offers functionality to remove duplicate geometries, overlapping features and unwanted gaps. -For a detailed information, please refer to the [Full Documentation](docs/_build/html/doc_qtalsim.html) file. +For detailed information, please refer to the [Full Documentation](https://sydroconsult.github.io/QTalsim/doc_qtalsim.html). + diff --git a/qtalsim.py b/qtalsim.py index 6c850c6..28c08b1 100644 --- a/qtalsim.py +++ b/qtalsim.py @@ -1663,8 +1663,7 @@ def openDocumentation(self): ''' Opens documentation of QTalsim. ''' - doc_path = os.path.join(os.path.dirname(__file__), 'docs', '_build', 'html', 'doc_qtalsim.html') - webbrowser.open('file://' + doc_path) + webbrowser.open('https://sydroconsult.github.io/QTalsim/doc_qtalsim.html') def run(self): '''