Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ jobs:
uses: actions/checkout@v3
with:
path: functions
# Install python 3.9
- name: Install python 3.9
uses: actions/setup-python@v3
# Install python 3.10.17
- name: Install python 3.10.17
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.10.17
# Install dependencies
- uses: actions/cache@v3
id: cache
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
shell: bash
run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
id: myref

- uses: actions/checkout@v4
- id: set-matrix
# This is very hacky, but it goes like that:
Expand Down Expand Up @@ -66,11 +66,11 @@ jobs:
uses: actions/checkout@v4
with:
path: functions
# Install python 3.9
- name: Install python 3.9
uses: actions/setup-python@v3
# Install python 3.10.17
- name: Install python 3.10.17
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.10.17
# Install dependencies
- uses: actions/cache@v3
id: cache
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
runs-on: ubuntu-latest
needs: run_monorepo_tests
continue-on-error: false

steps:
- name: Get the current branch name
shell: bash
Expand All @@ -114,10 +114,10 @@ jobs:
with:
repository: mlrun/marketplace
path: marketplace
- name: Install python 3.9
uses: actions/setup-python@v3
- name: Install python 3.10.17
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.10.17
- name: Install requirements
run: |
cd functions
Expand Down
7 changes: 0 additions & 7 deletions cli/marketplace/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ html:root {
display: none !important;
}

.bd-header-article,
.article-header-buttons,
.article-header-buttons .dropdown{
height: 100%;
align-items: center;
}

.bd-header-article {
position: relative;
box-shadow: none !important;
Expand Down
19 changes: 18 additions & 1 deletion cli/marketplace/conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

import re
import sys
import os

sys.path.insert(0, "{{sphinx_docs_target}}")

Expand All @@ -28,7 +29,7 @@ master_doc = "index"
# The short X.Y version
version = "{{version}}"
release = "{{release}}"

master_doc = "index"

# -- General configuration ---------------------------------------------------

Expand Down Expand Up @@ -72,6 +73,8 @@ source_suffix = {
".md": "myst-nb",
}

# If you want to mock imports during autodoc
autodoc_mock_imports = [{{mock_imports}}]

# -- Options for HTML output -------------------------------------------------

Expand Down Expand Up @@ -101,8 +104,13 @@ html_theme_options = {
"launch_buttons": {},
"default_mode": "light",
"switcher": False,
"search_bar_text": "",
"search_bar_position": "none",
}

# Prevents generation of searchindex.js
html_search = False

html_title = "{{html_title}}"
html_logo = "{{html_logo}}"
html_favicon = "{{html_favicon}}"
Expand All @@ -125,3 +133,12 @@ def copy_doc(src, dest, title=""):
changed = True
out.write(line)
{% endraw %}

# -- Post-build cleanup ------------------------------------------------------
def remove_searchtools(app, exception):
searchtools_path = os.path.join(app.outdir, '_static', 'searchtools.js')
if os.path.exists(searchtools_path):
os.remove(searchtools_path)

def setup(app):
app.connect("build-finished", remove_searchtools)
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ pipenv
myst_nb
black~=22.0
isort~=5.7
sphinx==7.2.6
sphinx-book-theme==1.1.2
sphinx~=8.1.0
sphinx-book-theme~=1.1.3
sphinx-togglebutton==0.3.2
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-devhelp==1.0.6
Expand Down
Loading