Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
damn committed Oct 8, 2024
1 parent 8fda785 commit 90e2bc4
Show file tree
Hide file tree
Showing 12 changed files with 100 additions and 111 deletions.
2 changes: 1 addition & 1 deletion docs/clojure.gdx.dev.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>clojure.gdx.dev documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Full-moon</span> <span class="project-version">-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>clojure</span></div></div></li><li class="depth-2"><a href="clojure.gdx.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gdx</span></div></a></li><li class="depth-3 branch current"><a href="clojure.gdx.dev.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dev</span></div></a></li><li class="depth-3 branch"><a href="clojure.gdx.rand.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>rand</span></div></a></li><li class="depth-3"><a href="clojure.gdx.tiled.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tiled</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -145px;"><span class="top" style="height: 154px;"></span><span class="bottom"></span></span><span>core</span></div></div></li><li class="depth-2 branch"><a href="core.app.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>app</span></div></a></li><li class="depth-2 branch"><a href="core.config.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>config</span></div></a></li><li class="depth-2 branch"><a href="core.creature.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>creature</span></div></a></li><li class="depth-2 branch"><a href="core.stat.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>stat</span></div></a></li><li class="depth-2 branch"><a href="core.tool.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tool</span></div></a></li><li class="depth-2"><a href="core.world.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>world</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -207px;"><span class="top" style="height: 216px;"></span><span class="bottom"></span></span><span>dev</span></div></div></li><li class="depth-2"><a href="dev.experiment.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>experiment</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="clojure.gdx.dev.html#var--main"><div class="inner"><span>-main</span></div></a></li><li class="depth-1"><a href="clojure.gdx.dev.html#var-restart.21"><div class="inner"><span>restart!</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">clojure.gdx.dev</h1><div class="doc"><div class="markdown"><p>Starts a dev loop using clojure.tools.namespace.repl/refresh in order to restart the app without restarting the JVM. Also starts an nrepl server which will keep up even between app crashes and restarts.</p>
<html><head><meta charset="UTF-8" /><title>clojure.gdx.dev documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Full-moon</span> <span class="project-version">-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>clojure</span></div></div></li><li class="depth-2"><a href="clojure.gdx.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gdx</span></div></a></li><li class="depth-3 branch current"><a href="clojure.gdx.dev.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dev</span></div></a></li><li class="depth-3 branch"><a href="clojure.gdx.rand.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>rand</span></div></a></li><li class="depth-3"><a href="clojure.gdx.tiled.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tiled</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -145px;"><span class="top" style="height: 154px;"></span><span class="bottom"></span></span><span>core</span></div></div></li><li class="depth-2 branch"><a href="core.app.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>app</span></div></a></li><li class="depth-2 branch"><a href="core.creature.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>creature</span></div></a></li><li class="depth-2 branch"><a href="core.projectile.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>projectile</span></div></a></li><li class="depth-2 branch"><a href="core.stat.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>stat</span></div></a></li><li class="depth-2 branch"><a href="core.tool.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tool</span></div></a></li><li class="depth-2"><a href="core.world.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>world</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -207px;"><span class="top" style="height: 216px;"></span><span class="bottom"></span></span><span>dev</span></div></div></li><li class="depth-2"><a href="dev.experiment.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>experiment</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="clojure.gdx.dev.html#var--main"><div class="inner"><span>-main</span></div></a></li><li class="depth-1"><a href="clojure.gdx.dev.html#var-restart.21"><div class="inner"><span>restart!</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">clojure.gdx.dev</h1><div class="doc"><div class="markdown"><p>Starts a dev loop using clojure.tools.namespace.repl/refresh in order to restart the app without restarting the JVM. Also starts an nrepl server which will keep up even between app crashes and restarts.</p>
<p>In case of an error, the console prints <code>WAITING FOR RESTART</code> and the <code>/restart!</code> function will restart the app and call <code>refresh</code>.</p>
<p>You can bind this on a key for smooth dev experience, here in VIM:</p>
<pre><code class="language-vimscript">nmap &lt;F5&gt; :Eval (do (in-ns 'clojure.gdx.dev)(restart!))
Expand Down
180 changes: 83 additions & 97 deletions docs/clojure.gdx.html

Large diffs are not rendered by default.

Loading

0 comments on commit 90e2bc4

Please sign in to comment.