Skip to content

Commit

Permalink
FIREFLY-1527: Move docs dependencies to pyproject.toml
Browse files Browse the repository at this point in the history
jaladh-singhal committed Aug 30, 2024
1 parent d95a01a commit ebf2c9e
Showing 3 changed files with 10 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -24,11 +24,8 @@ jobs:
python -m venv .venv
source .venv/bin/activate
- name: Install dependencies
run: pip install -r requirements.txt

- name: Install package
run: pip install -e .
- name: Install the package with docs dependencies
run: pip install -e .[docs]

- name: Build docs
run: |
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -42,3 +42,11 @@ classifiers = [
Homepage = "https://github.com/Caltech-IPAC/firefly_client"
Documentation = "https://caltech-ipac.github.io/firefly_client"
Repository = "http://github.com/Caltech-IPAC/firefly_client.git"

[project.optional-dependencies]
docs = [
"Sphinx~=7.1.0",
"sphinx-automodapi",
"pydata-sphinx-theme",
"myst-parser"
]
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

0 comments on commit ebf2c9e

Please sign in to comment.