quickstart: Add python example to docs. (#6949)
authorAina Niemetz <aina.niemetz@gmail.com>
Thu, 29 Jul 2021 17:45:25 +0000 (10:45 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Jul 2021 17:45:25 +0000 (17:45 +0000)
docs/api/cpp/quickstart.rst
docs/examples/examples.rst
docs/examples/quickstart.rst [new file with mode: 0644]

index ba0c6fd22f0dc1a509231fdc7fad1a37a2e005e9..e639e3972f95e4451e22cb3d2fa349a2fb4068e5 100644 (file)
@@ -182,4 +182,5 @@ Example
 
 .. api-examples::
     ../../../examples/api/cpp/quickstart.cpp
+    ../../../examples/api/python/quickstart.py
     ../../../examples/api/smtlib/quickstart.smt2
index 4132d15451c6bd056a4348930b7aed42f9cc4975..0b2651851c547e17bc876a5b6ea7608e79323c7e 100644 (file)
@@ -18,6 +18,7 @@ input mechanisms.
     datatypes
     floatingpoint
     lineararith
+    quickstart
     relations
     sequences
     sets
diff --git a/docs/examples/quickstart.rst b/docs/examples/quickstart.rst
new file mode 100644 (file)
index 0000000..bd2c345
--- /dev/null
@@ -0,0 +1,8 @@
+Quickstart Example
+==================
+
+
+.. api-examples::
+    ../../examples/api/cpp/quickstart.cpp
+    ../../examples/api/python/quickstart.py
+    ../../examples/api/smtlib/quickstart.smt2