Skip to content

Commit

Permalink
add fontawesome icon to main nav toc, add edit on github link (#1045)
Browse files Browse the repository at this point in the history
Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>
  • Loading branch information
cosmicBboy authored May 21, 2021
1 parent 1481dfb commit eff5c36
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
1 change: 1 addition & 0 deletions doc-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ sphinx-copybutton
sphinx-tabs
sphinxext-remoteliteralinclude
sphinx-issues
sphinx_fontawesome
7 changes: 5 additions & 2 deletions doc-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ markupsafe==1.1.1
# via jinja2
packaging==20.9
# via sphinx
pygments==2.8.1
pygments==2.9.0
# via
# sphinx
# sphinx-prompt
Expand All @@ -51,7 +51,7 @@ readthedocs-sphinx-search==0.1.0
# via -r doc-requirements.in
requests==2.25.1
# via sphinx
six==1.15.0
six==1.16.0
# via
# sphinx-code-include
# sphinxext-remoteliteralinclude
Expand All @@ -65,6 +65,8 @@ sphinx-code-include==1.1.1
# via -r doc-requirements.in
sphinx-copybutton==0.3.1
# via -r doc-requirements.in
sphinx-fontawesome==0.0.6
# via -r doc-requirements.in
sphinx-issues==1.2.0
# via -r doc-requirements.in
sphinx-prompt==1.4.0
Expand All @@ -78,6 +80,7 @@ sphinx==3.5.4
# sphinx-autoapi
# sphinx-code-include
# sphinx-copybutton
# sphinx-fontawesome
# sphinx-issues
# sphinx-prompt
# sphinx-tabs
Expand Down
9 changes: 9 additions & 0 deletions rsts/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import sphinx.application
import sphinx.errors
import sphinx_fontawesome
sphinx.application.ExtensionError = sphinx.errors.ExtensionError

# -- Project information -----------------------------------------------------
Expand Down Expand Up @@ -60,6 +61,7 @@
"sphinxext.remoteliteralinclude",
"sphinx_issues",
"sphinx_search.extension",
"sphinx_fontawesome",
]

extlinks = {
Expand Down Expand Up @@ -120,6 +122,13 @@
"color-brand-primary": "#9D68E4",
"color-brand-content": "#9D68E4",
},
# custom flyteorg furo theme options
"github_repo": "flytesnacks",
"github_username": "flyteorg",
"github_commit": "master",
"docs_path": "cookbook/docs", # path to documentation source
"sphinx_gallery_src_dir": "cookbook", # path to directory of sphinx gallery source files relative to repo root
"sphinx_gallery_dest_dir": "auto", # path to root directory containing auto-generated sphinx gallery examples
}

# Theme options are theme-specific and customize the look and feel of a theme
Expand Down
12 changes: 6 additions & 6 deletions rsts/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
:titlesonly:
:hidden:

getting_started
User Guide <https://docs.flyte.org/projects/cookbook/en/latest/user_guide.html>
Tutorials <https://docs.flyte.org/projects/cookbook/en/latest/tutorials.html>
Concepts <concepts/basics>
API Reference <reference/index>
community/index
|plane| Getting Started <getting_started>
|book-reader| User Guide <https://docs.flyte.org/projects/cookbook/en/latest/user_guide.html>
|chalkboard| Tutorials <https://docs.flyte.org/projects/cookbook/en/latest/tutorials.html>
|project-diagram| Concepts <concepts/basics>
|book| API Reference <reference/index>
|hands-helping| community/index

.. toctree::
:caption: Concepts
Expand Down

0 comments on commit eff5c36

Please sign in to comment.