summaryrefslogtreecommitdiff
path: root/rst-mode
diff options
context:
space:
mode:
Diffstat (limited to 'rst-mode')
-rw-r--r--rst-mode/autoclass6
-rw-r--r--rst-mode/autofunction5
-rw-r--r--rst-mode/automodule5
-rw-r--r--rst-mode/class5
-rw-r--r--rst-mode/code5
-rw-r--r--rst-mode/digraph7
-rw-r--r--rst-mode/function5
-rw-r--r--rst-mode/graph7
-rw-r--r--rst-mode/graphviz7
-rw-r--r--rst-mode/image10
-rw-r--r--rst-mode/inheritance5
-rw-r--r--rst-mode/literal_include5
-rw-r--r--rst-mode/meta5
-rw-r--r--rst-mode/module5
-rw-r--r--rst-mode/parsed_literal6
-rw-r--r--rst-mode/pause6
-rw-r--r--rst-mode/term5
-rw-r--r--rst-mode/url5
-rw-r--r--rst-mode/verbatim6
-rw-r--r--rst-mode/warning6
20 files changed, 116 insertions, 0 deletions
diff --git a/rst-mode/autoclass b/rst-mode/autoclass
new file mode 100644
index 0000000..b207dd3
--- /dev/null
+++ b/rst-mode/autoclass
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: autoclass
+# key: auto
+# --
+.. autoclass:: $0
+ ${1::members: ${2:members}} \ No newline at end of file
diff --git a/rst-mode/autofunction b/rst-mode/autofunction
new file mode 100644
index 0000000..7ed5c5e
--- /dev/null
+++ b/rst-mode/autofunction
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: autofunction
+# key: auto
+# --
+.. autofunction:: $0 \ No newline at end of file
diff --git a/rst-mode/automodule b/rst-mode/automodule
new file mode 100644
index 0000000..2929f77
--- /dev/null
+++ b/rst-mode/automodule
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: automodule
+# key: auto
+# --
+.. automodule:: ${1:module_name} \ No newline at end of file
diff --git a/rst-mode/class b/rst-mode/class
new file mode 100644
index 0000000..66ad562
--- /dev/null
+++ b/rst-mode/class
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: class
+# key: cls
+# --
+:class:\`$0\` \ No newline at end of file
diff --git a/rst-mode/code b/rst-mode/code
new file mode 100644
index 0000000..49ff111
--- /dev/null
+++ b/rst-mode/code
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: code
+# key: code
+# --
+.. code:: ${1:python} \ No newline at end of file
diff --git a/rst-mode/digraph b/rst-mode/digraph
new file mode 100644
index 0000000..448de13
--- /dev/null
+++ b/rst-mode/digraph
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: digraph
+# key: graph
+# --
+.. digraph:: $1
+
+ $0 \ No newline at end of file
diff --git a/rst-mode/function b/rst-mode/function
new file mode 100644
index 0000000..8677632
--- /dev/null
+++ b/rst-mode/function
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: function
+# key: fun
+# --
+:function:\`$0\` \ No newline at end of file
diff --git a/rst-mode/graph b/rst-mode/graph
new file mode 100644
index 0000000..f7d7b69
--- /dev/null
+++ b/rst-mode/graph
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: graph
+# key: graph
+# --
+.. graph:: $1
+
+ $0 \ No newline at end of file
diff --git a/rst-mode/graphviz b/rst-mode/graphviz
new file mode 100644
index 0000000..53ca449
--- /dev/null
+++ b/rst-mode/graphviz
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: graphviz
+# key: graph
+# --
+.. graphviz::
+
+ $0 \ No newline at end of file
diff --git a/rst-mode/image b/rst-mode/image
new file mode 100644
index 0000000..402c9a5
--- /dev/null
+++ b/rst-mode/image
@@ -0,0 +1,10 @@
+# -*- mode: snippet -*-
+# name: image
+# key: img
+# --
+.. image:: ${1:path}
+ :height: ${2:100}
+ :width: ${3:200}
+ :alt: ${4:description}
+
+$0 \ No newline at end of file
diff --git a/rst-mode/inheritance b/rst-mode/inheritance
new file mode 100644
index 0000000..e646c9a
--- /dev/null
+++ b/rst-mode/inheritance
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: inheritance
+# key: inh
+# --
+.. inheritance-diagram:: $0 \ No newline at end of file
diff --git a/rst-mode/literal_include b/rst-mode/literal_include
new file mode 100644
index 0000000..9e2a7de
--- /dev/null
+++ b/rst-mode/literal_include
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: literatal include
+# key: inc
+# --
+.. literalinclude:: ${1:path} \ No newline at end of file
diff --git a/rst-mode/meta b/rst-mode/meta
new file mode 100644
index 0000000..6aaae41
--- /dev/null
+++ b/rst-mode/meta
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: meta
+# key: :
+# --
+:${1:var}: $0 \ No newline at end of file
diff --git a/rst-mode/module b/rst-mode/module
new file mode 100644
index 0000000..e60e18e
--- /dev/null
+++ b/rst-mode/module
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: module
+# key: mod
+# --
+:mod: \`$0\` \ No newline at end of file
diff --git a/rst-mode/parsed_literal b/rst-mode/parsed_literal
new file mode 100644
index 0000000..ee8c07c
--- /dev/null
+++ b/rst-mode/parsed_literal
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: parsed_literal
+# key: src
+# --
+.. parsed-literal::
+ $0 \ No newline at end of file
diff --git a/rst-mode/pause b/rst-mode/pause
new file mode 100644
index 0000000..0833e87
--- /dev/null
+++ b/rst-mode/pause
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: pause
+# key: pause
+# group: hieroglyph
+# --
+.. rst-class:: build \ No newline at end of file
diff --git a/rst-mode/term b/rst-mode/term
new file mode 100644
index 0000000..86624e2
--- /dev/null
+++ b/rst-mode/term
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: term
+# key: term
+# --
+:term:\`$0\` \ No newline at end of file
diff --git a/rst-mode/url b/rst-mode/url
new file mode 100644
index 0000000..ead9d35
--- /dev/null
+++ b/rst-mode/url
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: url
+# key: url
+# --
+.. _${1:description}: $0 \ No newline at end of file
diff --git a/rst-mode/verbatim b/rst-mode/verbatim
new file mode 100644
index 0000000..1d0362c
--- /dev/null
+++ b/rst-mode/verbatim
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: verbatim
+# key: |
+# --
+| $0
+| \ No newline at end of file
diff --git a/rst-mode/warning b/rst-mode/warning
new file mode 100644
index 0000000..8f74b36
--- /dev/null
+++ b/rst-mode/warning
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: warning
+# key: warn
+# --
+.. warning:
+ $0 \ No newline at end of file