Skip to content

Commit

Permalink
fix algolia search (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
samhita-alla authored Sep 9, 2021
1 parent 24710f7 commit e93d16c
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 98 deletions.
2 changes: 1 addition & 1 deletion flytectl/doc-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ sphinx-material
sphinx-code-include
sphinx-copybutton
sphinx_fontawesome
sphinx_tabs
sphinxcontrib-yt
sphinx-panels
15 changes: 7 additions & 8 deletions flytectl/doc-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ alabaster==0.7.12
# via sphinx
babel==2.9.1
# via sphinx
beautifulsoup4==4.9.3
beautifulsoup4==4.10.0
# via
# furo
# sphinx-code-include
Expand All @@ -19,10 +19,10 @@ charset-normalizer==2.0.4
# via requests
css-html-js-minify==2.5.5
# via sphinx-material
docutils==0.16
docutils==0.17.1
# via
# sphinx
# sphinx-tabs
# sphinx-panels
git+git://github.com/flyteorg/furo@main
# via -r doc-requirements.in
idna==3.2
Expand All @@ -41,7 +41,6 @@ pygments==2.10.0
# via
# sphinx
# sphinx-prompt
# sphinx-tabs
pyparsing==2.4.7
# via packaging
python-slugify[unidecode]==5.0.2
Expand All @@ -64,8 +63,8 @@ sphinx==4.1.2
# sphinx-copybutton
# sphinx-fontawesome
# sphinx-material
# sphinx-panels
# sphinx-prompt
# sphinx-tabs
# sphinxcontrib-yt
sphinx-code-include==1.1.1
# via -r doc-requirements.in
Expand All @@ -75,9 +74,9 @@ sphinx-fontawesome==0.0.6
# via -r doc-requirements.in
sphinx-material==0.0.34
# via -r doc-requirements.in
sphinx-prompt==1.5.0
sphinx-panels==0.6.0
# via -r doc-requirements.in
sphinx-tabs==3.2.0
sphinx-prompt==1.5.0
# via -r doc-requirements.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
Expand All @@ -95,7 +94,7 @@ sphinxcontrib-yt==0.2.2
# via -r doc-requirements.in
text-unidecode==1.3
# via python-slugify
unidecode==1.2.0
unidecode==1.3.0
# via python-slugify
urllib3==1.26.6
# via requests
Expand Down
16 changes: 16 additions & 0 deletions flytectl/docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
html .tabbed-set > label {
color: var(--color-foreground-border);
}

html .tabbed-set > input:checked + label {
border-color: var(--color-link);
color: var(--color-link);
}

html .tabbed-set > label:hover {
color: var(--color-link);
}

html .tabbed-content {
box-shadow: 0 -.0625rem var(--color-background-border),0 .0625rem var(--color-background-border);
}
7 changes: 4 additions & 3 deletions flytectl/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author = "Flyte"

# The full version, including alpha/beta/rc tags
release = re.sub('^v', '', os.popen('git describe').read().strip())
release = re.sub("^v", "", os.popen("git describe").read().strip())
version = release


Expand All @@ -43,8 +43,8 @@
"sphinx-prompt",
"sphinx_copybutton",
"sphinx_fontawesome",
"sphinx_tabs.tabs",
"sphinxcontrib.yt",
"sphinx_panels",
]

# build the templated autosummary files
Expand Down Expand Up @@ -77,7 +77,7 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = [u'_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = [u"_build", "Thumbs.db", ".DS_Store"]

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "tango"
Expand Down Expand Up @@ -123,6 +123,7 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_css_files = ["custom.css"]

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down
169 changes: 83 additions & 86 deletions flytectl/docs/source/index.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e93d16c

Please sign in to comment.