-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make docs build process less obscure #1374
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
push: | ||
branches: | ||
- master | ||
- main | ||
paths: | ||
- "docs/**" | ||
- ".github/workflows/sphinx.yml" | ||
|
@@ -35,11 +36,10 @@ jobs: | |
- name: Build Documentation | ||
run: make docs | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The idea to keep At the same time the process of updating source strings hasn't changed for a looooong time, so let's keep the command here, instead of putting it in Makefile. |
||
- name: Extract Source Strings | ||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' | ||
working-directory: docs | ||
run: | | ||
make gettext | ||
sphinx-intl update -p _build/gettext -l en | ||
sphinx-build -M gettext ./ ./_build/ | ||
sphinx-intl update -p ./_build/gettext -l en | ||
- name: Push Strings to Master | ||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' | ||
run: make git-commit | ||
|
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we ever rename to main, nothing should actually break.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, almost, there are some other places, where it's gonna break, I will address it after this PR.