Skip to content

Commit

Permalink
Merge pull request #136 from portugueslab/deploy_fix
Browse files Browse the repository at this point in the history
Documentations deployment fix
  • Loading branch information
fedem-p committed Apr 1, 2022
2 parents c96890c + 582c792 commit 95732a0
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/doc_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: 🚀 page_deploy
name: 🚀 Deploy Documentation

on:
push:
branches:
- main
- master
pull_request:
types:
- assigned
Expand Down
23 changes: 21 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
name: tests
name: 🤖 Lint - Tests - Deploy

on: push
on:
push:
branches:
- master
pull_request:
types:
- assigned
- unassigned
- labeled
- unlabeled
- opened
- edited
- reopened
- synchronize
- ready_for_review
- locked
- unlocked
- review_requested
- review_request_
workflow_dispatch:

jobs:
lint:
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
docs:
rm -rf docs/_build/html
find docs/api ! -name 'index.rst' -type f -exec rm -f {} +
pip install -qr docs/requirements.txt
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install -e .
Expand Down
31 changes: 14 additions & 17 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
- file: index

- part: Overview
format: jb-book
root: index
parts:
- caption: Overview
chapters:
- file: timeline

- part: Configuration
- file: timeline
- caption: Configuration
chapters:
- file: configuration/installation
- file: configuration/configuration

- part: Development
- file: configuration/installation
- file: configuration/configuration
- caption: Development
chapters:
- file: development/code_organization

- part: Hardware
- file: development/code_organization
- caption: Hardware
chapters:
- file: hardware/hardware

- part: Api
- file: hardware/hardware
- caption: Api
chapters:
- file: api/index
- file: api/index
5 changes: 0 additions & 5 deletions docs/requirements.txt

This file was deleted.

6 changes: 6 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ pre-commit
black==22.3.0
flake8
isort

jupyter-book
jupytext
sphinx_autodoc_typehints
furo
recommonmark

0 comments on commit 95732a0

Please sign in to comment.