File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 61
61
@echo " Build finished. The HTML pages are in $( BUILDDIR) /html."
62
62
63
63
livehtml :
64
- sphinx-autobuild -b html $(ALLSPHINXOPTS ) $(BUILDDIR ) /html
64
+ sphinx-autobuild --port 8001 - b html $(ALLSPHINXOPTS ) $(BUILDDIR ) /html
65
65
66
66
dirhtml :
67
67
$(SPHINXBUILD ) -b dirhtml $(ALLSPHINXOPTS ) $(BUILDDIR ) /dirhtml
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ Core utility functions
64
64
65
65
.. autofunction :: get_working_tape
66
66
.. autofunction :: set_working_tape
67
+ .. autofunction :: continue_annotation
68
+ .. autofunction :: pause_annotation
67
69
.. autofunction :: pyadjoint.tape.no_annotations
68
70
.. autoclass :: stop_annotating
69
71
.. autofunction :: annotate_tape
Original file line number Diff line number Diff line change @@ -18,11 +18,13 @@ def get_working_tape():
18
18
19
19
20
20
def pause_annotation ():
21
+ """Switch off annotation."""
21
22
global _annotation_enabled
22
23
_annotation_enabled = False
23
24
24
25
25
26
def continue_annotation ():
27
+ """Switch on annotation."""
26
28
global _annotation_enabled
27
29
_annotation_enabled = True
28
30
return _annotation_enabled
You can’t perform that action at this time.
0 commit comments