mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-27 11:41:32 +00:00
Docs Fix (#3543)
* Update generate_terminal_markdown.py * updates * update workflows * Automated Change * tests * tests * Automated Change * Update test_generate_docs.py * Automated Change * updates * Automated Change * Update gen-docs.yml * Update test.yml * Automated Change * Update test.yml * Automated Change * Update generate_sdk_markdown.py * Automated Change * test * Automated Change * testtt23 * Automated Change * Update generate_sdk_markdown.py * Automated Change * Automated Change * added empting reference folders before autogen docs * updates * Automated Change * update tests gitactions * Automated Change * up * Automated Change * Automated Change * update pytest * Automated Change * tests * Automated Change * examples update * Automated Change * Update generate_sdk_markdown.py * Automated Change * Update test.yml * Update generate_sdk_markdown.py * strip * Automated Change * Workflow : check test update * Automated Change * Automated Change * Automated Change * Update test.yml * Automated Change * Update test.yml * Automated Change * Automated Change * up * Automated Change * Update generate_sdk_markdown.py * Automated Change * update workflows * fix guides * testing * Update gh-pages.yml * Update gh-pages.yml Co-authored-by: tehcoderer <tehcoderer@users.noreply.github.com> Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com> Co-authored-by: Chavithra PARANA <chavithra@gmail.com> Co-authored-by: Chavithra <Chavithra@users.noreply.github.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: jose-donato <jose-donato@users.noreply.github.com>
This commit is contained in:
21
.github/workflows/gh-pages.yml
vendored
21
.github/workflows/gh-pages.yml
vendored
@@ -7,11 +7,11 @@ on:
|
||||
|
||||
jobs:
|
||||
generate:
|
||||
name: Generate documentation
|
||||
name: Generate and Deploy documentation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Git checkout
|
||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # actions/checkout v3.0.2
|
||||
uses: actions/checkout@v3 # actions/checkout v3.0.2
|
||||
|
||||
- name: Setup Python 3.10
|
||||
uses: actions/setup-python@v4
|
||||
@@ -35,27 +35,18 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||
run: poetry install --no-interaction --no-root
|
||||
run: poetry install --no-interaction --no-root -E doc
|
||||
|
||||
- name: Install packages
|
||||
run: poetry install --no-interaction -E prediction -E doc -E optimization
|
||||
|
||||
- run: |
|
||||
source $VENV
|
||||
pip install "u8darts[torch]"
|
||||
pytest tests/website --autodoc
|
||||
python website/generate_sdk_markdown.py && python website/generate_terminal_markdown.py
|
||||
|
||||
- name: Commit Documentation
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: Automated Change
|
||||
|
||||
deploy:
|
||||
name: Deploy to GitHub Pages
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
cache: yarn
|
||||
|
||||
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
@@ -71,18 +71,21 @@ jobs:
|
||||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||
run: poetry install --no-interaction --no-root
|
||||
|
||||
- name: Install Package
|
||||
run: poetry install --no-interaction
|
||||
- name: Install Extra Doc
|
||||
run: poetry install --no-interaction -E doc
|
||||
|
||||
- name: Install Optimization Toolkit
|
||||
run: poetry install -E optimization --no-interaction
|
||||
- name: Install Extra Optimization
|
||||
run: poetry install --no-interaction -E optimization
|
||||
|
||||
- name: Run Extra prediction
|
||||
run: poetry install --no-interaction -E prediction
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
MPLBACKEND: Agg
|
||||
run: |
|
||||
source $VENV
|
||||
pytest tests/
|
||||
pytest tests/ --autodoc
|
||||
|
||||
- name: Start Terminal and exit
|
||||
run: |
|
||||
@@ -141,10 +144,7 @@ jobs:
|
||||
run: poetry install --no-interaction --no-root
|
||||
|
||||
- name: Install Package
|
||||
run: poetry install --no-interaction
|
||||
|
||||
- name: Install Optimization Toolkit
|
||||
run: poetry install -E optimization --no-interaction
|
||||
run: poetry install --no-interaction -E doc
|
||||
|
||||
- name: List installed packages
|
||||
shell: bash -l {0}
|
||||
@@ -251,6 +251,7 @@ jobs:
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
pip install --requirement requirements-full.txt
|
||||
pip install docstring_parser
|
||||
|
||||
- name: List installed packages (Bash)
|
||||
shell: bash -l {0}
|
||||
|
||||
Reference in New Issue
Block a user