GeezerVison is showing github.com — Merge pull request #78 from ecmwf/hotfix/fix_docs_theme_config · ecmwf/pyflow@6c5b0e4
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +24Lines changed: 24 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# This workflow adds a link to the experimental documentation build to the PR. |
| 2 | +# This does NOT trigger a build of the documentation, this is handled through webhooks. |
| 3 | +name: Read the Docs PR Preview |
| 4 | +on: |
| 5 | + pull_request: |
| 6 | + types: |
| 7 | + - opened |
| 8 | + - synchronize |
| 9 | + - reopened |
| 10 | + # Execute this action only on PRs that touch |
| 11 | + # documentation files. |
| 12 | + paths: |
| 13 | + - "docs/**" |
| 14 | + |
| 15 | +permissions: |
| 16 | + pull-requests: write |
| 17 | + |
| 18 | +jobs: |
| 19 | + documentation-links: |
| 20 | + runs-on: ubuntu-latest |
| 21 | + steps: |
| 22 | + - uses: readthedocs/actions/preview@v1 |
| 23 | + with: |
| 24 | + project-slug: "pyflow-workflow-generator" |
Collapse file
Copy file name to clipboardExpand all lines: docs/conf.py +5-1Lines changed: 5 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -131,7 +131,11 @@ def parse_version(ver_str): |
131 | 131 | # so a file named "default.css" will overwrite the builtin "default.css". |
132 | 132 | html_static_path = ["_static"] |
133 | 133 |
|
134 | | -html_context = {"css_files": ["_static/style.css"]} |
| 134 | +# These paths are either relative to html_static_path |
| 135 | +# or fully qualified paths (eg. https://...) |
| 136 | +html_css_files = ["style.css"] |
| 137 | + |
| 138 | +html_js_files = [] |
135 | 139 |
|
136 | 140 | # Remove links to the reST sources from the page headers. |
137 | 141 | html_show_sourcelink = False |
|