Skip to content

Commit

Permalink
update conf and action to v14
Browse files Browse the repository at this point in the history
  • Loading branch information
phiarchitect committed Nov 12, 2023
1 parent f7cc525 commit 88f4e59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v3

- name: photon-platform/action-deploy-sphinx-gh-pages
uses: photon-platform/action-deploy-sphinx-gh-pages@v12
uses: photon-platform/action-deploy-sphinx-gh-pages@v14
with:
modules_repo_urls: 'https://github.com/geometor/model.git,https://github.com/geometor/render.git,https://github.com/geometor/divine.git'
# python_version: '3.x' # Optional, default is '3.x'
20 changes: 6 additions & 14 deletions docsrc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,11 @@
"phi": ("phi ARCHITECT", None),
}

extensions.append('sphinx_rtd_theme')

html_theme = 'sphinx_rtd_theme'

html_css_files = [ "css/rtd-dark.css" ]

html_theme_options = {
# 'logo': 'logo.png',
# 'logo_name': True,
# 'github_user': org,
# 'github_repo': repo,
# 'github_button': True,
'navigation_depth': -1,
'prev_next_buttons_location': 'both',
html_context = {
"display_github": True, # Integrate GitHub
"github_user": org, # Username
"github_repo": repo, # Repo name
"github_version": "main", # Version
"conf_py_path": "/docsrc/", # Path in the checkout to the docs root
}

0 comments on commit 88f4e59

Please sign in to comment.