Skip to content

Commit

Permalink
PR for updating docs theme
Browse files Browse the repository at this point in the history
  • Loading branch information
nucleosynthesis committed Dec 11, 2023
1 parent b47ce81 commit eb36dfa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
python-version: 3.8
- name: Build documentation
run: |
python3 -m pip install mkdocs pymdown-extensions mkdocs-cinder
python3 -m pip install mkdocs pymdown-extensions mkdocs-material
mkdocs build --verbose --clean
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
Expand Down
Binary file modified docs/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions docs/mystyle.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
@media (min-width: 992px) {
.bs-sidebar.affix {
position: fixed; /* Undo the static from mobile first approach */
top: 80px;
max-height: calc(100% - 90px);
overflow-y: auto
}
}

details {
display: block;
border-left: 0.1em solid #909090;
Expand Down
13 changes: 10 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,16 @@ nav:
- "Exercise: parametric fit": tutorial2023/parametric_exercise.md

theme:
name: cinder
include_sidebar: true
highlightjs: true
name: material
logo: logo.png
features:
- content.code.copy
- navigation.footer
- navigation.expand
- search.highlight
- search.suggest
- toc.follow


extra_css:
- "mystyle.css"
Expand Down

0 comments on commit eb36dfa

Please sign in to comment.