Docs: Update Sphinx theme to v1x#802
Conversation
Upgrades the Scylla Theme to v1.x This change does not include any HP fixes or any other issues which will be handled with additional PRs. Please merge this FIRST.
Upgrades the Scylla Theme to v1.x This change does not include any HP fixes or any other issues which will be handled with additional PRs. Please merge this FIRST.
|
@dgarcia360 please take a look - the build has an error - works locally |
|
The following error has been noted /home/lauranovich/github-repo/laura-operator/docs/source/migration.md: WARNING: document isn't included in any toctree |
|
@lauranovich are these warning a regression ? |
|
@tzach they were there before - it wasn't caused by the upgrade |
|
The error is fixed in this PR -> #804 |
|
Looks good to me. Since the repo is open-source, we could also enable the "Edit on GitHub" button. |
|
In the next PR I'll make those changes |
tnozicka
left a comment
There was a problem hiding this comment.
thanks for bumping our sphinx theme! a few technical comments on the machinery
| push: | ||
| branches: | ||
| - master | ||
| - master |
There was a problem hiding this comment.
let's be consistent an not change the spacing, we use yaml arrays without extra indentation when user written (applies globally)
| - master | ||
| paths: | ||
| - 'docs/**' | ||
| - "docs/**" |
There was a problem hiding this comment.
probably a not needed diff
| run: ./docs/_utils/deploy.sh | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} No newline at end of file |
There was a problem hiding this comment.
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | ||
| release: | ||
| name: Release docs | ||
| name: Build |
There was a problem hiding this comment.
given one of the steps actually deploys the docs and the job ID is "release", naming it "Build" seems a bit confusing
There was a problem hiding this comment.
| name: Build | |
| name: Release |
| run: | | ||
| export PATH=$PATH:~/.local/bin | ||
| cd docs | ||
| make test No newline at end of file |
| ALLSPHINXOPTS := -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SOURCEDIR) | ||
| # the i18n builder cannot share the environment and doctrees with the others | ||
| I18NSPHINXOPTS := $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SOURCEDIR) | ||
| TESTSPHINXOPTS = $(ALLSPHINXOPTS) -W --keep-going |
There was a problem hiding this comment.
:= for immediate evaluation
There was a problem hiding this comment.
| TESTSPHINXOPTS = $(ALLSPHINXOPTS) -W --keep-going | |
| TESTSPHINXOPTS := $(ALLSPHINXOPTS) -W --keep-going |
|
do we need the version suffixes in workflow's file names? |
|
the new job failed (https://github.com/scylladb/scylla-operator/runs/3813890866?check_suite_focus=true#step:4:175) and needs to be fixed first. (note to myself or @zimnx - we need to add that job as required when this lands) |
| @@ -0,0 +1,28 @@ | |||
| name: "Build docs on pull requests" | |||
There was a problem hiding this comment.
looking at the GH status contexts
Build docs on pull requests / Build (pull_request) Failing after 1m — Build
Go / Verify (pull_request) Successful in 3m
would it be nicer to name it Docs / Build ?
There was a problem hiding this comment.
| name: "Build docs on pull requests" | |
| name: "Docs / Build PR" |
| @@ -1,15 +1,14 @@ | |||
| name: Release docs | |||
| name: "Publish docs to GitHub Pages" | |||
There was a problem hiding this comment.
| name: "Publish docs to GitHub Pages" | |
| name: "Docs / Publish" |
|
Many thanks @tnozicka @zimnx for the feedback! We are going to add some of your suggestions to the Scylla Sphinx Theme repository.
We are adding these workflows to many projects. Versioning helps us know which version of the file each project is using. |
|
@dgarcia360 what is the next step for this PR? |
|
I've addressed the comments in #815, this PR can be closed. |
Upgrades the Scylla Theme to v1.x
This change does not include any HP fixes or any other issues which will be handled with additional PRs. Please merge this FIRST.
Description of your changes:
Which issue is resolved by this Pull Request:
Resolves #