Skip to content

Commit

Permalink
fix(docs): rearrange structure + update ci workflow deps (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma authored Jul 15, 2024
1 parent 7b4aaa4 commit cbc4499
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Run tests
run: python3 -m pytest

lint:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install '.[docs]'
python3 -m pip install '.[docs,pg,etl]'
- name: Attempt docs build
working-directory: ./docs
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The Gene Normalizer was created to support the `Knowledgebase Integration Projec
Usage<usage>
Normalizing data<normalizing_data/index>
Managing data<managing_data/index>
API Reference<api/index>
API Reference<reference/index>
Changelog<changelog>
Contributing<contributing>
License<license>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 9 additions & 5 deletions docs/source/api/index.rst → docs/source/reference/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.. _api_reference:

API Reference
=============

Core functions
Core Modules
--------------

.. autosummary::
Expand All @@ -12,24 +14,26 @@ Core functions
gene.query
gene.schemas

Database connections
Database Modules
--------------------

.. autosummary::
:nosignatures:
:toctree: api/
:toctree: api/database
:template: module_summary.rst

gene.database.database
gene.database.dynamodb
gene.database.postgresql

Source ETL
.. _etl-api:

ETL Modules
----------

.. autosummary::
:nosignatures:
:toctree: api/
:toctree: api/etl
:template: module_summary.rst

gene.etl.base
Expand Down

0 comments on commit cbc4499

Please sign in to comment.