mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-13 21:46:56 -08:00
Compare commits
5 Commits
first-run-
...
tooomm-dox
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7613db0348 | ||
|
|
304c15383c | ||
|
|
a46419bde9 | ||
|
|
dc5abc41c1 | ||
|
|
368785b128 |
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +1,6 @@
|
|||||||
[submodule "vcpkg"]
|
[submodule "vcpkg"]
|
||||||
path = vcpkg
|
path = vcpkg
|
||||||
url = https://github.com/microsoft/vcpkg.git
|
url = https://github.com/microsoft/vcpkg.git
|
||||||
|
[submodule "doxygen-awesome-css"]
|
||||||
|
path = doc/doxygen/theme
|
||||||
|
url = https://github.com/jothepro/doxygen-awesome-css.git
|
||||||
|
|||||||
14
Doxyfile
14
Doxyfile
@@ -54,7 +54,7 @@ PROJECT_NUMBER = $(COCKATRICE_REF)
|
|||||||
# for a project that appears at the top of each page and should give viewers a
|
# for a project that appears at the top of each page and should give viewers a
|
||||||
# quick idea about the purpose of the project. Keep the description short.
|
# quick idea about the purpose of the project. Keep the description short.
|
||||||
|
|
||||||
PROJECT_BRIEF = "A cross-platform virtual tabletop for multiplayer card games"
|
PROJECT_BRIEF = "A virtual tabletop for multiplayer card games"
|
||||||
|
|
||||||
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
|
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
|
||||||
# in the documentation. The maximum height of the logo should not exceed 55
|
# in the documentation. The maximum height of the logo should not exceed 55
|
||||||
@@ -1068,6 +1068,8 @@ RECURSIVE = YES
|
|||||||
|
|
||||||
EXCLUDE = build/ \
|
EXCLUDE = build/ \
|
||||||
cmake/ \
|
cmake/ \
|
||||||
|
doc/doxygen/theme/docs/ \
|
||||||
|
doc/doxygen/theme/include/ \
|
||||||
vcpkg/ \
|
vcpkg/ \
|
||||||
webclient/
|
webclient/
|
||||||
|
|
||||||
@@ -1430,7 +1432,9 @@ HTML_STYLESHEET =
|
|||||||
# documentation.
|
# documentation.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
HTML_EXTRA_STYLESHEET = doc/doxygen/css/doxygen_style.css
|
HTML_EXTRA_STYLESHEET = doc/doxygen/theme/doxygen-awesome.css \
|
||||||
|
doc/doxygen/css/hide_nav_sync.css \
|
||||||
|
doc/doxygen/css/cockatrice_docs_style.css
|
||||||
|
|
||||||
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
|
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
|
||||||
# other source files which should be copied to the HTML output directory. Note
|
# other source files which should be copied to the HTML output directory. Note
|
||||||
@@ -1453,7 +1457,7 @@ HTML_EXTRA_FILES = doc/doxygen/js/graph_toggle.js
|
|||||||
# The default value is: AUTO_LIGHT.
|
# The default value is: AUTO_LIGHT.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
HTML_COLORSTYLE = AUTO_DARK
|
HTML_COLORSTYLE = LIGHT # required with doxygen-awesome-css theme, Auto Dark Mode will still work
|
||||||
|
|
||||||
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
|
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
|
||||||
# will adjust the colors in the style sheet and background images according to
|
# will adjust the colors in the style sheet and background images according to
|
||||||
@@ -1764,7 +1768,7 @@ ECLIPSE_DOC_ID = org.doxygen.Project
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
DISABLE_INDEX = YES
|
DISABLE_INDEX = NO # YES is bugged in the theme, see jothepro/doxygen-awesome-css/issues/201
|
||||||
|
|
||||||
# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
|
# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
|
||||||
# structure should be generated to display hierarchical information. If the tag
|
# structure should be generated to display hierarchical information. If the tag
|
||||||
@@ -1802,7 +1806,7 @@ PAGE_OUTLINE_PANEL = YES
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
FULL_SIDEBAR = NO
|
FULL_SIDEBAR = NO # required for doxygen-awesome-css theme
|
||||||
|
|
||||||
# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
|
# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
|
||||||
# Doxygen will group on one line in the generated HTML documentation.
|
# Doxygen will group on one line in the generated HTML documentation.
|
||||||
|
|||||||
@@ -49,4 +49,4 @@ searches are case insensitive.
|
|||||||
<dt>Grouping:</dt>
|
<dt>Grouping:</dt>
|
||||||
<dd><a href="#red -([[]]:100 or aggro)">red -([[]]:100 or aggro)</a> <small>(Any deck that has red in its filename but is not 100 cards or has aggro in its filename)</small></dd>
|
<dd><a href="#red -([[]]:100 or aggro)">red -([[]]:100 or aggro)</a> <small>(Any deck that has red in its filename but is not 100 cards or has aggro in its filename)</small></dd>
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
@@ -67,4 +67,4 @@ In this list of examples below, each entry has an explanation and can be clicked
|
|||||||
<dd>[o:/counter target .* spell/](#o:/counter target .* spell/) <small>(Any card text with "counter target *something* spell")</small></dd>
|
<dd>[o:/counter target .* spell/](#o:/counter target .* spell/) <small>(Any card text with "counter target *something* spell")</small></dd>
|
||||||
<dd>[o:/for each .* and\/or .*/](#o:/for each .* and\/or .*/) <small>(/'s can be escaped with a \)</small></dd>
|
<dd>[o:/for each .* and\/or .*/](#o:/for each .* and\/or .*/) <small>(/'s can be escaped with a \)</small></dd>
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
<tab type="pages" visible="yes" title="" intro=""/>
|
<tab type="pages" visible="yes" title="" intro=""/>
|
||||||
<tab type="topics" visible="yes" title="" intro=""/>
|
<tab type="topics" visible="yes" title="" intro=""/>
|
||||||
<tab type="usergroup" title="Code Reference">
|
<tab type="usergroup" title="Code Reference">
|
||||||
<tab type="modules" visible="yes" title="" intro="">
|
<tab type="modules" visible="no" title="" intro="">
|
||||||
<tab type="modulelist" visible="yes" title="" intro=""/>
|
<tab type="modulelist" visible="yes" title="" intro=""/>
|
||||||
<tab type="modulemembers" visible="yes" title="" intro=""/>
|
<tab type="modulemembers" visible="yes" title="" intro=""/>
|
||||||
</tab>
|
</tab>
|
||||||
@@ -15,9 +15,8 @@
|
|||||||
<tab type="namespacelist" visible="yes" title="" intro=""/>
|
<tab type="namespacelist" visible="yes" title="" intro=""/>
|
||||||
<tab type="namespacemembers" visible="yes" title="" intro=""/>
|
<tab type="namespacemembers" visible="yes" title="" intro=""/>
|
||||||
</tab>
|
</tab>
|
||||||
<tab type="concepts" visible="yes" title="">
|
<tab type="concepts" visible="no" title=""/>
|
||||||
</tab>
|
<tab type="interfaces" visible="no" title="">
|
||||||
<tab type="interfaces" visible="yes" title="">
|
|
||||||
<tab type="interfacelist" visible="yes" title="" intro=""/>
|
<tab type="interfacelist" visible="yes" title="" intro=""/>
|
||||||
<tab type="interfaceindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
<tab type="interfaceindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||||
<tab type="interfacehierarchy" visible="yes" title="" intro=""/>
|
<tab type="interfacehierarchy" visible="yes" title="" intro=""/>
|
||||||
@@ -28,11 +27,11 @@
|
|||||||
<tab type="hierarchy" visible="yes" title="" intro=""/>
|
<tab type="hierarchy" visible="yes" title="" intro=""/>
|
||||||
<tab type="classmembers" visible="yes" title="" intro=""/>
|
<tab type="classmembers" visible="yes" title="" intro=""/>
|
||||||
</tab>
|
</tab>
|
||||||
<tab type="structs" visible="yes" title="">
|
<tab type="structs" visible="no" title="">
|
||||||
<tab type="structlist" visible="yes" title="" intro=""/>
|
<tab type="structlist" visible="yes" title="" intro=""/>
|
||||||
<tab type="structindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
<tab type="structindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||||
</tab>
|
</tab>
|
||||||
<tab type="exceptions" visible="yes" title="">
|
<tab type="exceptions" visible="no" title="">
|
||||||
<tab type="exceptionlist" visible="yes" title="" intro=""/>
|
<tab type="exceptionlist" visible="yes" title="" intro=""/>
|
||||||
<tab type="exceptionindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
<tab type="exceptionindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||||
<tab type="exceptionhierarchy" visible="yes" title="" intro=""/>
|
<tab type="exceptionhierarchy" visible="yes" title="" intro=""/>
|
||||||
@@ -41,7 +40,7 @@
|
|||||||
<tab type="filelist" visible="yes" title="" intro=""/>
|
<tab type="filelist" visible="yes" title="" intro=""/>
|
||||||
<tab type="globals" visible="yes" title="" intro=""/>
|
<tab type="globals" visible="yes" title="" intro=""/>
|
||||||
</tab>
|
</tab>
|
||||||
<tab type="examples" visible="yes" title="" intro=""/>
|
<tab type="examples" visible="no" title="" intro=""/>
|
||||||
</tab>
|
</tab>
|
||||||
</navindex>
|
</navindex>
|
||||||
|
|
||||||
|
|||||||
33
doc/doxygen/css/cockatrice_docs_style.css
Normal file
33
doc/doxygen/css/cockatrice_docs_style.css
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
See "Awesome Doxygen CSS" theme docs:
|
||||||
|
https://jothepro.github.io/doxygen-awesome-css/md_docs_2customization.html#autotoc_md36
|
||||||
|
|
||||||
|
Adjustments here are based on the css file of the theme and variables defined there.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Light Mode overrides */
|
||||||
|
html {
|
||||||
|
--primary-color: #33a946;
|
||||||
|
--primary-dark-color: #33a946;
|
||||||
|
--primary-light-color: #33a946;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dark Mode overrides */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
html:not(.light-mode) {
|
||||||
|
--primary-color: #33a946;
|
||||||
|
--primary-dark-color: #33a946;
|
||||||
|
--primary-light-color: #33a946;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dark Mode overrides, defined twice to support both the dark-mode without and with doxygen-awesome-darkmode-toggle.js */
|
||||||
|
html.dark-mode {
|
||||||
|
color-scheme: dark;
|
||||||
|
--primary-color: #33a946;
|
||||||
|
--primary-dark-color: #33a946;
|
||||||
|
--primary-light-color: #33a946;
|
||||||
|
}
|
||||||
10
doc/doxygen/css/hide_nav_sync.css
Normal file
10
doc/doxygen/css/hide_nav_sync.css
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/* hide navigation sync control and icons */
|
||||||
|
#nav-sync,
|
||||||
|
#nav-sync * {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.nav-sync-icon,
|
||||||
|
div.nav-sync-icon * {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
@@ -1,10 +1,8 @@
|
|||||||
@mainpage Cockatrice Documentation
|
@mainpage Documentation
|
||||||
|
|
||||||
# Welcome
|
Welcome to the Cockatrice code documentation.
|
||||||
|
|
||||||
This is the **main landing page** of the Cockatrice documentation.
|
- @subpage user_reference
|
||||||
|
- @subpage developer_reference
|
||||||
|
|
||||||
- Go to the @subpage user_reference page
|
Please also check the <a href="https://cockatrice.github.io/" target="_blank" rel="noopener noreferrer">Cockatrice Webpage</a> or our <a href="https://github.com/Cockatrice/Cockatrice" target="_blank" rel="noopener noreferrer">Code Repository</a> for general information.
|
||||||
- Review the @subpage developer_reference
|
|
||||||
|
|
||||||
Or check out the <a href="https://cockatrice.github.io/" target="_blank" rel="noopener noreferrer">Cockatrice Webpage</a>.
|
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
@page user_reference User Reference
|
@page user_reference User Reference
|
||||||
|
|
||||||
# Deck Management
|
## Deck Management
|
||||||
|
|
||||||
- @subpage creating_decks
|
- @subpage creating_decks
|
||||||
- @subpage importing_decks
|
- @subpage importing_decks
|
||||||
- @subpage editing_decks
|
- @subpage editing_decks
|
||||||
- @subpage exporting_decks
|
- @subpage exporting_decks
|
||||||
|
|
||||||
# Release Channels
|
## Release Channels
|
||||||
|
|
||||||
- @subpage beta_release
|
- @subpage beta_release
|
||||||
|
|
||||||
# Syntax Help
|
## Syntax Help
|
||||||
|
|
||||||
- @subpage search_syntax_help
|
- @subpage search_syntax_help
|
||||||
- @subpage deck_search_syntax_help
|
- @subpage deck_search_syntax_help
|
||||||
|
|||||||
1
doc/doxygen/theme
Submodule
1
doc/doxygen/theme
Submodule
Submodule doc/doxygen/theme added at 1f3620084f
Reference in New Issue
Block a user