Skip to content

Commit

Permalink
add a link to compas.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Nov 7, 2023
1 parent 6aa17ec commit 395ffec
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
5 changes: 5 additions & 0 deletions docs/_templates/compas-sidebar-footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="sidebar-primary-item">
<a href="https://compas.dev" target="_blank">
COMPAS.dev <i class="fa fa-external-link" aria-hidden="true"></i>
</a>
</div>
5 changes: 0 additions & 5 deletions docs/_templates/sidebar-nav-bs.html

This file was deleted.

12 changes: 10 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,22 @@ def visit_reference(self, node):
html_favicon = "_static/compas.ico"

html_theme_options = {
"use_download_button": False,
"use_repository_button": True,
"logo": {
"text": "COMPAS OCC",
"image_light": "_static/compas_icon.png",
"image_dark": "_static/compas_icon_white.png",
}
},
}

html_sidebars = {}
html_sidebars = {
"**": [
"navbar-logo.html",
"sbt-sidebar-nav.html",
"compas-sidebar-footer.html",
]
}

html_context = {
"github_url": "https://github.com",
Expand Down

0 comments on commit 395ffec

Please sign in to comment.