Skip to content

Commit 4bcce5e

Browse files
authored
using sphinx book theme docs (#129)
1 parent a084975 commit 4bcce5e

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.github/workflows/artifact.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on: [status]
2+
3+
jobs:
4+
circleci_artifacts_redirector_job:
5+
runs-on: ubuntu-latest
6+
name: Run CircleCI artifacts redirector
7+
steps:
8+
- name: GitHub Action step
9+
uses: larsoner/circleci-artifacts-redirector-action@master
10+
with:
11+
repo-token: ${{ secrets.GITHUB_TOKEN }}
12+
artifact-path: 0/html/index.html

docs/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@
5050
# The theme to use for HTML and HTML Help pages. See the documentation for
5151
# a list of builtin themes.
5252
#
53-
html_theme = "pydata_sphinx_theme"
53+
html_theme = "sphinx_book_theme"
5454
html_logo = "_static/logo.png"
5555
html_theme_options = {
56-
"github_url": "https://github.com/ExecutableBookProject/MyST-Parser"
56+
"github_url": "https://github.com/ExecutableBookProject/MyST-Parser",
57+
"repository_url": "https://github.com/ExecutableBookProject/MyST-Parser",
58+
"expand_sections": ["using/index"],
5759
}
5860

5961
# Add any paths that contain custom static files (such as style sheets) here,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"pytest-regressions",
4949
"beautifulsoup4",
5050
],
51-
"rtd": ["sphinxcontrib-bibtex", "ipython", "pydata-sphinx-theme"],
51+
"rtd": ["sphinxcontrib-bibtex", "ipython", "sphinx-book-theme"],
5252
},
5353
zip_safe=True,
5454
)

0 commit comments

Comments
 (0)