-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from jstockwin/doc-examples
[docs] Add examples to documentation
- Loading branch information
Showing
32 changed files
with
1,199 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
echo '#######################################################################' | ||
echo '# Building docs #' | ||
echo '#######################################################################' | ||
|
||
export SPHINXOPTS="-W" # Treat warnings as errors | ||
|
||
make --directory $PROJECT_DIR/docs html | ||
|
||
DOCS_STATUS=$? | ||
if [[ ("$DOCS_STATUS" == 0) ]]; then | ||
echo '#######################################################################' | ||
echo '# Build succeded #' | ||
echo '#######################################################################' | ||
exit 0 | ||
else | ||
echo '' | ||
echo '#######################################################################' | ||
echo '# Build failed ! #' | ||
echo '#######################################################################' | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../CHANGELOG.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Examples | ||
======== | ||
|
||
Below you can find links to the following examples: | ||
|
||
- The :ref:`simple-memo` example shows the very basics of using py-pdf-parser. You will see how to load a pdf document, start filtering the elements, and extract text from certain elements in the document. | ||
- The :ref:`order-summary` example explains how to use font mappings, sections, and how to extract simple tables. | ||
- The :ref:`more-tables` example explains tables in more detail, showing how to extract more complex tables. | ||
|
||
.. toctree:: | ||
|
||
simple_memo | ||
order_summary | ||
more_tables | ||
|
Oops, something went wrong.