From 10032388d0258add68aad49b02e02db65c417175 Mon Sep 17 00:00:00 2001 From: Gizem Ozdil Date: Sun, 30 Jun 2024 16:32:13 -0400 Subject: [PATCH] add python badge; try to fix api --- .github/workflows/deploy-pages.yml | 1 + README.md | 1 + docs/_config.yml | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 0442373..5e68ec9 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -38,6 +38,7 @@ jobs: # Build the book - name: Build the book run: | + sphinx-apidoc -o docs/ seqikpy/ jupyter-book build docs # Upload the book's HTML as an artifact diff --git a/README.md b/README.md index b846499..26f1244 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ [![License](https://img.shields.io/badge/License-Apache_2.0-red)](https://opensource.org/license/apache-2-0) +[![python](https://img.shields.io/badge/python-3.8%2C%203.9%2C%203.10-blue)]() diff --git a/docs/_config.yml b/docs/_config.yml index 865d5df..4707cc5 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -45,8 +45,8 @@ html: # API reference sphinx: extra_extensions: - - 'sphinx.ext.autodoc' - - 'sphinx.ext.napoleon' - - 'sphinx.ext.viewcode' + - sphinx.ext.autodoc + - sphinx.ext.napoleon + - sphinx.ext.viewcode config: add_module_names: False \ No newline at end of file