diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 82ee995..324a656 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -2,9 +2,27 @@ name: Android CI on: push: - branches: [ "main", "master" ] + branches: [ "main" ] + paths: + - 'app/**' + - 'gradle/**' + - 'build.gradle.kts' + - 'settings.gradle.kts' + - 'gradle.properties' + - 'gradlew' + - 'gradlew.bat' + - '.github/workflows/android.yml' pull_request: - branches: [ "main", "master" ] + branches: [ "main" ] + paths: + - 'app/**' + - 'gradle/**' + - 'build.gradle.kts' + - 'settings.gradle.kts' + - 'gradle.properties' + - 'gradlew' + - 'gradlew.bat' + - '.github/workflows/android.yml' jobs: build: diff --git a/.readthedocs.yml b/.readthedocs.yml index b3b933e..0614771 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,7 +1,10 @@ version: 2 + build: os: ubuntu-22.04 tools: python: "3.12" + sphinx: configuration: docs/source/conf.py + fail_on_warning: false diff --git a/docs/source/_static/.gitkeep b/docs/source/_static/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/docs/source/_templates/.gitkeep b/docs/source/_templates/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/docs/source/conf.py b/docs/source/conf.py index c42d305..367d466 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,7 +19,7 @@ templates_path = ['_templates'] exclude_patterns = [] -root_doc = 'index.rst' +root_doc = 'index' # -- Options for HTML output ------------------------------------------------- diff --git a/docs/index.rst b/docs/source/index.rst similarity index 98% rename from docs/index.rst rename to docs/source/index.rst index 5b9ed57..56dd7b9 100644 --- a/docs/index.rst +++ b/docs/source/index.rst @@ -1,8 +1,8 @@ .. ABComm documentation master file -=============================================== +================================================= ABComm - Advanced Bluetooth & Wi-Fi Relay Control -=============================================== +================================================= .. image:: https://raw.githubusercontent.com/electux/abcomm/main/docs/logo.svg :align: right diff --git a/docs/source/index.rst.rst b/docs/source/index.rst.rst deleted file mode 100644 index 79be073..0000000 --- a/docs/source/index.rst.rst +++ /dev/null @@ -1,20 +0,0 @@ -.. ABComm documentation master file, created by - sphinx-quickstart on Tue Sep 1 08:06:46 2026. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -Welcome to ABComm's documentation! -================================== - -.. toctree:: - :maxdepth: 2 - :caption: Contents: - - - -Indices and tables -================== - -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search`