OSDN Git Service

Fix omg.svg and try a thing with the formatter.
authorSimon Forman <sforman@hushmail.com>
Fri, 19 Nov 2021 20:45:14 +0000 (12:45 -0800)
committerSimon Forman <sforman@hushmail.com>
Fri, 19 Nov 2021 20:45:14 +0000 (12:45 -0800)
docs/sphinx_docs/notebooks/Derivatives_of_Regular_Expressions.rst

index 29dc9fb..2c0e063 100644 (file)
@@ -76,7 +76,7 @@ E.g.:
 Implementation
 --------------
 
-.. code:: ipython2
+.. code:: python
 
     from functools import partial as curry
     from itertools import product
@@ -533,10 +533,10 @@ machine transition table.
 
 Says, “Three or more 1’s and not ending in 01 nor composed of all 1’s.”
 
-.. figure:: attachment:omg.svg
-   :alt: omg.svg
+.. figure:: omg.svg
+   :alt: State Machine Graph
 
-   omg.svg
+   State Machine Graph
 
 Start at ``a`` and follow the transition arrows according to their
 labels. Accepting states have a double outline. (Graphic generated with