From 18ccbde72f59498a9b32b7bdc95f793882b7bf98 Mon Sep 17 00:00:00 2001 From: meherett Date: Tue, 26 Nov 2024 20:09:00 +0300 Subject: [PATCH] Modify: hdwallet docs format & configs --- .github/workflows/{pythonpackage.yml => build.yml} | 9 +++++++-- .readthedocs.yaml | 3 ++- README.md | 2 +- docs/conf.py | 3 --- 4 files changed, 10 insertions(+), 7 deletions(-) rename .github/workflows/{pythonpackage.yml => build.yml} (86%) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/build.yml similarity index 86% rename from .github/workflows/pythonpackage.yml rename to .github/workflows/build.yml index 944c586..cd6bf9e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,11 @@ on: branches: [ master ] + pull_request: + branches: [ + master + ] + jobs: python: @@ -26,9 +31,9 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libffi-dev libsecp256k1-dev - - name: Install Python dependencies + - name: Install Dependencies run: | - python -m pip install --upgrade pip setuptools wheel + python -m pip install --upgrade pip pip install -e .[cli,tests] - name: Test with PyTest with Coverage run: | diff --git a/.readthedocs.yaml b/.readthedocs.yaml index af10bf9..477abd3 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,7 +15,8 @@ python: - cli - docs -formats: all +formats: + - html sphinx: builder: html diff --git a/README.md b/README.md index 858bb76..e73b826 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # Hierarchical Deterministic (HD) Wallet -[![Build Status](https://app.travis-ci.com/talonlab/python-hdwallet.svg?branch=master)](https://app.travis-ci.com/talonlab/python-hdwallet) +[![Build Status](https://img.shields.io/github/actions/workflow/status/talonlab/python-hdwallet/build.yml)](https://github.com/talonlab/python-hdwallet/actions/workflows/build.yml) [![PyPI Version](https://img.shields.io/pypi/v/hdwallet.svg?color=blue)](https://pypi.org/project/hdwallet) [![Documentation Status](https://readthedocs.org/projects/hdwallet/badge/?version=master)](https://hdwallet.readthedocs.io) [![PyPI License](https://img.shields.io/pypi/l/hdwallet?color=black)](https://pypi.org/project/hdwallet) diff --git a/docs/conf.py b/docs/conf.py index 72996d2..8c08169 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,9 +52,6 @@ # This pattern also affects html_static_path and html_extra_path. exclude_patterns = [] -# Disable PDF and EPUB builders -builders = ['html'] # Only HTML builder - # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for