annotate doc/Makefile @ 363:816a0c880f52
core: use selected widget from main screen in getWidgetToSwitch:
if we are not on "main" screen, selected_widget may not refer to a widget that we want to
change. To avoid that, getWidgetToSwitch check and use `_selected_widget_main` if
suitable. In other words, a widget from "main" screen will be returned and switched, even
if we are on a other screen (e.g. if on "extra", if a widget like ShareWidget is shown).
author |
Goffi <goffi@goffi.org> |
date |
Mon, 27 Jan 2020 21:17:08 +0100 |
parents |
aafd814e34b5 |
children |
|
rev |
line source |
307
|
1 # Minimal makefile for Sphinx documentation |
|
2 # |
|
3 |
|
4 # You can set these variables from the command line. |
|
5 SPHINXOPTS = |
|
6 SPHINXBUILD = sphinx-build |
|
7 SOURCEDIR = . |
|
8 BUILDDIR = .build |
|
9 |
|
10 # Put it first so that "make" without argument is like "make help". |
|
11 help: |
|
12 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
|
13 |
|
14 .PHONY: help Makefile |
|
15 |
|
16 # Catch-all target: route all unknown targets to Sphinx using the new |
|
17 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). |
|
18 %: Makefile |
|
19 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |