docs: including more code samples
This commit is contained in:
@@ -60,3 +60,22 @@ The ``xlsx`` method also takes in a block that will be executed for each cell in
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
||||
|
||||
To get the sample Excel files, go to `its source <https://github.com/andymeneely/squib/tree/dev/samples/data>`_
|
||||
|
||||
.. literalinclude:: ../../samples/data/_csv.rb
|
||||
:language: ruby
|
||||
:linenos:
|
||||
|
||||
Here's the sample.csv
|
||||
|
||||
.. literalinclude:: ../../samples/data/sample.csv
|
||||
:language: csv
|
||||
:linenos:
|
||||
|
||||
Here's the quantity_explosion.csv
|
||||
|
||||
.. literalinclude:: ../../samples/data/quantity_explosion.csv
|
||||
:language: csv
|
||||
:linenos:
|
||||
|
||||
+1
-3
@@ -289,6 +289,4 @@ angle
|
||||
Examples
|
||||
--------
|
||||
|
||||
.. raw:: html
|
||||
|
||||
<script src="https://gist.github.com/andymeneely/52d7b8e332194946bc69.js"></script>
|
||||
See :doc:`/text_feature`.
|
||||
|
||||
@@ -48,3 +48,9 @@ The ``xlsx`` method also takes in a block that will be executed for each cell in
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
||||
To get the sample Excel files, go to `its source <https://github.com/andymeneely/squib/tree/dev/samples/data>`_
|
||||
|
||||
.. literalinclude:: ../../samples/data/_excel.rb
|
||||
:language: ruby
|
||||
:linenos:
|
||||
|
||||
Reference in New Issue
Block a user