Skip to content

Commit

Permalink
Merge pull request #4 from skoudoro/update-menu
Browse files Browse the repository at this point in the history
Menu update
  • Loading branch information
skoudoro authored Sep 9, 2023
2 parents 57b8361 + 7b7743c commit 5ce7f48
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,22 @@ on:
schedule:
- cron: '0 0 * * 1'

permissions:
contents: write
permissions: write-all

jobs:
deploy:
runs-on: ubuntu-latest
permissions: write-all
# contents: 'write'
# pull-requests: 'write'
# issues: 'write'
# id-token: 'write'
env:
PR_PATH: pull/${{github.event.number}}
BASE_URL: https://dipy.github.io/dipy.org
steps:
- name: Comment on PR
uses: hasura/comment-progress@v2.2.0
uses: hasura/comment-progress@v2.3.0
if: github.ref != 'refs/heads/master'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -77,7 +81,7 @@ jobs:
commit_message: ${{ github.event.head_commit.message }}

- name: Update comment
uses: hasura/comment-progress@v2.2.0
uses: hasura/comment-progress@v2.3.0
if: github.ref != 'refs/heads/master'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
138 changes: 136 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme = "pydata_sphinx_theme"
html_theme = "grg_sphinx_theme"

# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
Expand All @@ -125,7 +125,141 @@
# documentation.
html_theme_options = {
"secondary_sidebar_items": ["page-toc"],
"show_toc_level": 2
"show_toc_level": 2,
"navbar_center": ["components/navbar-links.html"],
"navbar_links": [
{
"name": "Docs",
"children": [
{
"name": "Quick Start",
"url": "https://docs.dipy.org",
},
{
"name": "Tutorials",
"url": "https://docs.dipy.org/tutorials",
},
{
"name": "Recipes",
"url": "https://docs.dipy.org/recipes",
},
{
"name": "CLI / Workflows",
"url": "https://docs.dipy.org/cli",
},
{
"name": "API",
"url": "https://docs.dipy.org/reference",
},
{
"name": "CLI API",
"url": "https://docs.dipy.org/cli/reference",
}
]
},
{
"name": "Workshops",
"children": [
{
"name": "DIPY Workshop 2024",
"url": "https://dipy.org/workshops/dipy-workshop-2024",
"external": True
},
{
"name": "DIPY Workshop 2023",
"url": "https://dipy.org/workshops/dipy-workshop-2023",
"external": True
},
{
"name": "DIPY Workshop 2022",
"url": "https://dipy.org/workshops/dipy-workshop-2022",
"external": True
},
{
"name": "DIPY Workshop 2021",
"url": "https://dipy.org/workshops/dipy-workshop-2021",
"external": True
},
{
"name": "DIPY Workshop 2020",
"url": "https://dipy.org/workshops/dipy-workshop-2020",
"external": True
},
{
"name": "DIPY Workshop 2019",
"url": "https://dipy.org/workshops/dipy-workshop-2019",
"external": True
},
]
},
{
"name": "Community",
"sections": [
{
"name": "News",
"children": [
{
"name": "Newsletters",
"url": "",
"external": True
},
{
"name": "Blog",
"url": "blog"
},
{
"name": "Youtube",
"url": "blog",
"external": True
}
]
},
{
"name": "Help",
"children": [
{
"name": "Live Chat (Gitter)",
"url": ""
},
{
"name": "Github Discussions",
"url": "",
"external": True
}
]
}
]
},
{
"name": "About",
"children": [
{
"name": "Team",
"url": "team",
},
{
"name": "FAQ",
"url": "faq",
},
{
"name": "Mission Statement",
"url": "mission",
},
{
"name": "Releases",
"url": "releases",
},
{
"name": "Cite",
"url": "cite",
},
{
"name": "Glossary",
"url": "glossary",
},
]
},
]
}

# Add any paths that contain custom themes here, relative to this directory.
Expand Down

0 comments on commit 5ce7f48

Please sign in to comment.