Skip to content

Commit

Permalink
Merge pull request #2 from EmperorPenguin18/testing
Browse files Browse the repository at this point in the history
PR for 0.3
  • Loading branch information
EmperorPenguin18 authored Apr 24, 2022
2 parents 53669cb + ea609ad commit a1f9d96
Show file tree
Hide file tree
Showing 31 changed files with 1,704 additions and 659 deletions.
68 changes: 44 additions & 24 deletions Doxyfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Doxyfile 1.9.2
# Doxyfile 1.9.3

# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
Expand Down Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "libscry"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 0.2
PROJECT_NUMBER =

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand All @@ -58,7 +58,7 @@ PROJECT_LOGO =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.

OUTPUT_DIRECTORY = docs
OUTPUT_DIRECTORY = "docs"

# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
# directories (in 2 levels) under the output directory of each output format and
Expand Down Expand Up @@ -217,7 +217,7 @@ QT_AUTOBRIEF = NO
# not recognized any more.
# The default value is: NO.

MULTILINE_CPP_IS_BRIEF = YES
MULTILINE_CPP_IS_BRIEF = NO

# By default Python docstrings are displayed as preformatted text and doxygen's
# special commands cannot be used. By setting PYTHON_DOCSTRING to NO the
Expand Down Expand Up @@ -857,7 +857,10 @@ WARN_FORMAT = "$file:$line: $text"

# The WARN_LOGFILE tag can be used to specify a file to which warning and error
# messages should be written. If left blank the output is written to standard
# error (stderr).
# error (stderr). In case the file specified cannot be opened for writing the
# warning and error messages are written to standard error. When as file - is
# specified the warning and error messages are written to standard output
# (stdout).

WARN_LOGFILE =

Expand Down Expand Up @@ -982,7 +985,7 @@ EXCLUDE_PATTERNS =
# (namespaces, classes, functions, etc.) that should be excluded from the
# output. The symbol name can be a fully qualified name, a word, or if the
# wildcard * is used, a substring. Examples: ANamespace, AClass,
# AClass::ANamespace, ANamespace::*Test
# ANamespace::AClass, ANamespace::*Test
#
# Note that the wildcards are matched against the file with absolute path, so to
# exclude all test directories use the pattern */test/*
Expand Down Expand Up @@ -1359,6 +1362,13 @@ GENERATE_DOCSET = NO

DOCSET_FEEDNAME = "Doxygen generated docs"

# This tag determines the URL of the docset feed. A documentation feed provides
# an umbrella under which multiple documentation sets from a single provider
# (such as a company or product suite) can be grouped.
# This tag requires that the tag GENERATE_DOCSET is set to YES.

DOCSET_FEEDURL =

# This tag specifies a string that should uniquely identify the documentation
# set bundle. This should be a reverse domain-name style string, e.g.
# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
Expand Down Expand Up @@ -1563,7 +1573,7 @@ GENERATE_TREEVIEW = NO
# area (value NO) or if it should extend to the full height of the window (value
# YES). Setting this to YES gives a layout similar to
# https://docs.readthedocs.io with more room for contents, but less room for the
# project logo, title, and description. If either GENERATOR_TREEVIEW or
# project logo, title, and description. If either GENERATE_TREEVIEW or
# DISABLE_INDEX is set to NO, this option has no effect.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
Expand Down Expand Up @@ -1594,6 +1604,13 @@ TREEVIEW_WIDTH = 250

EXT_LINKS_IN_WINDOW = NO

# If the OBFUSCATE_EMAILS tag is set to YES, doxygen will obfuscate email
# addresses.
# The default value is: YES.
# This tag requires that the tag GENERATE_HTML is set to YES.

OBFUSCATE_EMAILS = YES

# If the HTML_FORMULA_FORMAT option is set to svg, doxygen will use the pdf2svg
# tool (see https://github.com/dawbarton/pdf2svg) or inkscape (see
# https://inkscape.org) to generate formulas as SVG images instead of PNGs for
Expand Down Expand Up @@ -2307,15 +2324,6 @@ EXTERNAL_PAGES = YES
# Configuration options related to the dot tool
#---------------------------------------------------------------------------

# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram
# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
# NO turns the diagrams off. Note that this option also works with HAVE_DOT
# disabled, but it is recommended to install and use dot, since it yields more
# powerful graphs.
# The default value is: YES.

CLASS_DIAGRAMS = YES

# You can include diagrams made with dia in doxygen documentation. Doxygen will
# then run dia to produce the diagram and insert it in the documentation. The
# DIA_PATH tag allows you to specify the directory where the dia binary resides.
Expand Down Expand Up @@ -2372,11 +2380,14 @@ DOT_FONTSIZE = 10

DOT_FONTPATH =

# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
# each documented class showing the direct and indirect inheritance relations.
# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
# If the CLASS_GRAPH tag is set to YES (or GRAPH) then doxygen will generate a
# graph for each documented class showing the direct and indirect inheritance
# relations. In case HAVE_DOT is set as well dot will be used to draw the graph,
# otherwise the built-in generator will be used. If the CLASS_GRAPH tag is set
# to TEXT the direct and indirect inheritance relations will be shown as texts /
# links.
# Possible values are: NO, YES, TEXT and GRAPH.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.

CLASS_GRAPH = YES

Expand Down Expand Up @@ -2505,6 +2516,13 @@ GRAPHICAL_HIERARCHY = YES

DIRECTORY_GRAPH = YES

# The DIR_GRAPH_MAX_DEPTH tag can be used to limit the maximum number of levels
# of child directories generated in directory dependency graphs by dot.
# Minimum value: 1, maximum value: 25, default value: 1.
# This tag requires that the tag DIRECTORY_GRAPH is set to YES.

DIR_GRAPH_MAX_DEPTH = 1

# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
# generated by dot. For an explanation of the image formats see the section
# output formats in the documentation of the dot tool (Graphviz (see:
Expand Down Expand Up @@ -2558,10 +2576,10 @@ MSCFILE_DIRS =
DIAFILE_DIRS =

# When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
# path where java can find the plantuml.jar file. If left blank, it is assumed
# PlantUML is not used or called during a preprocessing step. Doxygen will
# generate a warning when it encounters a \startuml command in this case and
# will not generate output for the diagram.
# path where java can find the plantuml.jar file or to the filename of jar file
# to be used. If left blank, it is assumed PlantUML is not used or called during
# a preprocessing step. Doxygen will generate a warning when it encounters a
# \startuml command in this case and will not generate output for the diagram.

PLANTUML_JAR_PATH =

Expand Down Expand Up @@ -2623,6 +2641,8 @@ DOT_MULTI_TARGETS = NO
# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
# explaining the meaning of the various boxes and arrows in the dot generated
# graphs.
# Note: This tag requires that UML_LOOK isn't set, i.e. the doxygen internal
# graphical representation for inheritance and collaboration diagrams is used.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.

Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sha256sums=('3c35bee0e7383f704f2ff59ae100a708c0c36772d0b1b375c481587a6cea3622')

build () {
cd "$srcdir/$pkgname-$pkgver"
g++ -std=c++20 -lcurl -lsqlite3 -fPIC -shared libscry.cc -o libscry.so
g++ -std=c++20 -fPIC -shared src/*.cc -o libscry.so
}

package () {
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ make
make install #as root
```
## Documentation
Available in [docs](docs/)
Available in [docs](docs/) and [examples](examples/)

## Projects using libscry
[scrycli](https://github.com/EmperorPenguin18/scrycli)

## Legal
From the API Docs:

Expand Down
20 changes: 17 additions & 3 deletions docs/html/doxygen.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The standard CSS for doxygen 1.9.2 */
/* The standard CSS for doxygen 1.9.3 */

body, table, div, p, dl {
font: 400 14px/22px Roboto,sans-serif;
Expand Down Expand Up @@ -262,7 +262,7 @@ dl.el {
}

ul {
overflow: hidden; /*Fixed: list item bullets overlap floating elements*/
overflow: visible;
}

#side-nav ul {
Expand Down Expand Up @@ -1356,6 +1356,11 @@ dl.section dd {
}


#projectrow
{
height: 56px;
}

#projectlogo
{
text-align: center;
Expand All @@ -1371,6 +1376,7 @@ dl.section dd {
#projectalign
{
vertical-align: middle;
padding-left: 0.5em;
}

#projectname
Expand Down Expand Up @@ -1521,6 +1527,10 @@ span.emoji {
*/
}

span.obfuscator {
display: none;
}

.PageDocRTL-title div.toc li.level1 {
margin-left: 0 !important;
margin-right: 0;
Expand Down Expand Up @@ -1575,7 +1585,7 @@ tr.heading h2 {

#powerTip {
cursor: default;
white-space: nowrap;
/*white-space: nowrap;*/
background-color: white;
border: 1px solid gray;
border-radius: 4px 4px 4px 4px;
Expand Down Expand Up @@ -1814,6 +1824,10 @@ table.DocNodeLTR {
margin-left: 0;
}

code.JavaDocCode
direction:ltr;
}

tt, code, kbd, samp
{
display: inline-block;
Expand Down
12 changes: 6 additions & 6 deletions docs/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libscry: Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
Expand All @@ -19,17 +19,17 @@
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libscry<span id="projectnumber">&#160;0.2</span>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">libscry
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
Expand Down Expand Up @@ -68,7 +68,7 @@
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
16 changes: 8 additions & 8 deletions docs/html/md_README.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libscry: libscry</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
Expand All @@ -19,17 +19,17 @@
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libscry<span id="projectnumber">&#160;0.2</span>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">libscry
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
Expand Down Expand Up @@ -95,7 +95,7 @@ <h1><a class="anchor" id="autotoc_md4"></a>
</p>
<p >And for images:</p>
<p >**_Image Guidelines_**</p>
<p ><em><a class="el" href="classCard.html" title="This class is used to represent a single card.">Card</a> images on Scryfall are copyright Wizards of the Coast (and/or their artist, for very old sets) and they are provided for the purpose of creating additional Magic software, or creating community content (such as videos, set reviews, etc) about Magic and related products.</em></p>
<p ><em>Card images on Scryfall are copyright Wizards of the Coast (and/or their artist, for very old sets) and they are provided for the purpose of creating additional Magic software, or creating community content (such as videos, set reviews, etc) about Magic and related products.</em></p>
<p ><em>When using images from Scryfall, please adhere to the following guidelines:</em></p>
<p ><em>- Do not cover, crop, or clip off the copyright or artist name on card images.</em> <br />
<em>- Do not distort, skew, or stretch card images.</em> <br />
Expand All @@ -104,12 +104,12 @@ <h1><a class="anchor" id="autotoc_md4"></a>
<em>- Do not place card images in a way that implies someone other than Wizards of the Coast created the card or that it is from another game besides Magic: The Gathering.</em> <br />
</p>
<p ><em>In particular, when using the art_crop:</em></p>
<p ><em><a class="el" href="classList.html" title="This class is used to represent a list of cards (returned from a search for example)">List</a> the artist name and copyright elsewhere in the same interface presenting the art crop, or use the full card image elsewhere in the same interface. Users should be able to identify the artist and source of the image somehow.</em> </p>
<p ><em>List the artist name and copyright elsewhere in the same interface presenting the art crop, or use the full card image elsewhere in the same interface. Users should be able to identify the artist and source of the image somehow.</em> </p>
</div></div><!-- contents -->
</div><!-- PageDoc -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
10 changes: 1 addition & 9 deletions docs/html/menudata.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,4 @@
*/
var menudata={children:[
{text:"Main Page",url:"index.html"},
{text:"Related Pages",url:"pages.html"},
{text:"Classes",url:"annotated.html",children:[
{text:"Class List",url:"annotated.html"},
{text:"Class Index",url:"classes.html"},
{text:"Class Members",url:"functions.html",children:[
{text:"All",url:"functions.html"},
{text:"Functions",url:"functions_func.html"}]}]},
{text:"Files",url:"files.html",children:[
{text:"File List",url:"files.html"}]}]}
{text:"Related Pages",url:"pages.html"}]}
Loading

0 comments on commit a1f9d96

Please sign in to comment.